← All entries
Model2026#505

FlashAR: Efficient Post-Training Acceleration for Autoregressive Image Generation

Summary

Keeps the original AR head for row-wise prediction and branches a vertical head from an intermediate layer, fused by a learnable gate so decoding walks anti-diagonals (HW steps → H+W−1). Two-stage post-training: freeze backbone to init the vertical head, then joint finetune. On LlamaGen ImageNet 256, FlashAR-L FID 3.16 / IS 289.0 vs BlockDiffusion 4.55 / 243.5 after 25 vs 75 epochs; FlashAR-B 447 img/s. On Emu3.5-Image-34B at 512×512, 22.9× wall-clock (130.10s → 5.68s, 1024 → 63 steps) with GenEval 80.48→80.29 using ~80K pairs (0.05% of pretrain data). FlexAttention sparse 2D masks + batched KV. Code https://github.com/lxazjk/Emu3.5-FlashAR; project https://lxazjk.github.io/FlashAR/.

Venue
arXiv / University of Adelaide / Zhejiang University
Hugging Face
lxazjk/Emu3.5-Image-FlashAR
Purpose
Adapt a pre-trained raster-scan AR image model into a diagonal-parallel generator with a lightweight vertical head
Scale
LlamaGen B/L/XL/XXL (~120M–1.4B) ImageNet 256, 25 epochs, 8xH20; Emu3.5-Image-34B, 50K steps, ~80K OpenGPT-4o-Image + ShareGPT-4o-Image pairs, single-node H20; latency on H20-96G bs=1
Time period
2026-05-10 (arXiv 2605.09430 v1); last revised 2026-05-12 (v2). HF paper publishedAt 2026-05-10.
Added
Oct 1, 2026
Research status
done

From the source

Published
May 10, 2026
Last revised
Sep 16, 2026
arXiv categories
cs.CV
Author comment
Post-training acceleration for autoregressive image generation, code is available at https://lxazjk.github.io/FlashAR/
Citations
3
References
0

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

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.

Tags

flasharautoregressive-imagediagonal-decodingllamagenemu3.5post-trainingadelaidezhejiang

Topics

autoregressive image generation, parallel decoding, post-training

Research notes

  • Primary: arxiv abs (cs.CV). Adelaide / Zhejiang; Zhou/He/Chen equal contrib, Wang project lead, Zhuang corresponding. Code Apache-2.0 https://github.com/lxazjk/Emu3.5-FlashAR (32 stars at check) plus https://github.com/lxazjk/LlamaGen-FlashAR (MIT, 5 stars). Project https://lxazjk.github.io/FlashAR/. HF paper page 1 upvote. Linked models lxazjk/Emu3.5-Image-FlashAR (~37.5B, 13 dl / 3 likes at check) and lxazjk/LlamaGen-FlashAR. Discord posted abs. Uses ImageNet and existing OpenGPT-4o-Image/ShareGPT-4o-Image; no new corpus, so no datasets_local row. ArXiv license widget not visible in converted abs HTML, so paper license left blank.

Similar entries