Paper Reading AI Learner

Resurrect Mask AutoRegressive Modeling for Efficient and Scalable Image Generation

2025-07-17 12:02:38
Yi Xin, Le Zhuo, Qi Qin, Siqi Luo, Yuewen Cao, Bin Fu, Yangfan He, Hongsheng Li, Guangtao Zhai, Xiaohong Liu, Peng Gao

Abstract

AutoRegressive (AR) models have made notable progress in image generation, with Masked AutoRegressive (MAR) models gaining attention for their efficient parallel decoding. However, MAR models have traditionally underperformed when compared to standard AR models. This study refines the MAR architecture to improve image generation quality. We begin by evaluating various image tokenizers to identify the most effective one. Subsequently, we introduce an improved Bidirectional LLaMA architecture by replacing causal attention with bidirectional attention and incorporating 2D RoPE, which together form our advanced model, MaskGIL. Scaled from 111M to 1.4B parameters, MaskGIL achieves a FID score of 3.71, matching state-of-the-art AR models in the ImageNet 256x256 benchmark, while requiring only 8 inference steps compared to the 256 steps of AR models. Furthermore, we develop a text-driven MaskGIL model with 775M parameters for generating images from text at various resolutions. Beyond image generation, MaskGIL extends to accelerate AR-based generation and enable real-time speech-to-image conversion. Our codes and models are available at this https URL.

Abstract (translated)

自回归(AutoRegressive,AR)模型在图像生成领域取得了显著进展,而遮蔽自回归(Masked AutoRegressive,MAR)模型由于其高效的并行解码能力受到了广泛关注。然而,与标准的AR模型相比,传统的MAR模型性能较差。本研究对MAR架构进行了改进,以提高图像生成质量。我们首先评估了各种图像标记器,以确定最有效的标记器。随后,我们通过将因果注意力替换为双向注意力,并引入2D RoPE来改进Bidirectional LLaMA架构,从而形成我们的先进模型MaskGIL。从1.11亿参数扩展到14亿参数规模的MaskGIL,在ImageNet 256x256基准测试中达到了3.71的FID评分,与最先进的AR模型相匹配,同时仅需8个推理步骤,而相比之下AR模型需要256个步骤。 此外,我们开发了一个具有7.75亿参数、基于文本驱动的MaskGIL模型,用于在各种分辨率下从文本生成图像。除了图像生成之外,MaskGIL还扩展了基于自回归的生成加速,并实现了实时语音转图像转换。我们的代码和模型可在以下网址获取:[此处插入链接](请将实际URL填入)。

URL

https://arxiv.org/abs/2507.13032

PDF

https://arxiv.org/pdf/2507.13032.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot