FlashAR: Efficient Post-Training Acceleration for Autoregressive Image Generation
cs.CV
Submitted: 2026-05-10
Updated: 2026-09-16
Comments: Post-training acceleration for autoregressive image generation, code is available at https://lxazjk.github.io/FlashAR/
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large-scale autoregressive models have demonstrated remarkable capabilities in image generation.
Terminology
Abstract
Large-scale autoregressive models have demonstrated remarkable capabilities in image generation. However, their sequential raster-scan decoding relies on strictly next-token prediction, making inference prohibitively expensive. Existing acceleration methods typically either introduce entirely new generation paradigms that necessitate costly pre-training from scratch, or enable parallel generation at the expense of a training-inference gap or altered prediction objectives. In this paper, we introduce FlashAR, a lightweight post-training adaptation framework that efficiently adapts a pre-trained raster-scan autoregressive model into a highly parallel generator based on two-way next-token prediction. Our key insight is that effective adaptation should minimize modifications to the pre-trained model's original training objective to preserve its learned prior. Accordingly, we retain the original AR head as a horizontal head for row-wise prediction and introduce a complementary, lightweight vertical head for column-wise prediction. To facilitate efficient adaptation, we branch the vertical head from an intermediate layer rather than the final layer, bypassing the inherent horizontal head bias. Moreover, since horizontal and vertical predictions capture complementary dependencies whose relative importance varies across target positions, we employ a learnable fusion gate to dynamically combine the two predictions at each position. To further reduce adaptation cost, we propose a two-stage adaptation pipeline: the vertical head is first initialized through adaptation from the pre-trained autoregressive model before jointly fine-tuned with backbone to adapt to the new decoding paradigm. Extensive experiments on LlamaGen and Emu3.5 show that FlashAR achieves up to a 22.9x speedup for 512x512 image generation through a lightweight post-training with merely 0.05% of the original training data.
Sources
- Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models
- Qwen Technical Report
- ShareGPT-4o-Image: Aligning Multimodal Models with GPT-4o-Level Image Generation
- OpenGPT-4o-Image: A Comprehensive Dataset for Advanced Image Generation and Editing
- Emu3.5: Native Multimodal Models are World Learners
- Uniform Discrete Diffusion with Metric Path for Video Generation
- Flex Attention: A Programming Model for Generating Optimized Attention Kernels
- LiveWorld: Simulating Out-of-Sight Dynamics in Generative Video World Models
- X-Omni: Reinforcement Learning Makes Discrete Autoregressive Image Generative Models Great Again
- Classifier-Free Diffusion Guidance
- ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment
- T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generation
- LANTERN: Accelerating Visual Autoregressive Models with Relaxed Speculative Decoding
- Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation
- Autoregressive Image Generation with Randomized Parallel Decoding
- Lumina-mGPT: Illuminate Flexible Photorealistic Text-to-Image Generation with Multimodal Generative Pretraining
- Muddit: Liberating Generation Beyond Text-to-Image with a Unified Discrete Diffusion Model
- Layer by Layer: Uncovering Hidden Representations in Language Models
- Autoregressive Model Beats Diffusion: Llama for Scalable Image Generation
- HART: Efficient Visual Generation with Hybrid Autoregressive Transformer
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models