mlsanityData to 7 Oct 2026

HMAR: Efficient Hierarchical Masked Auto-Regressive Image Generation

arXiv 2506.04421 ↗First posted 4 Jun 2025cs.CV cs.AI cs.LGcited by 19

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Visual Auto-Regressive modeling (VAR) has shown promise in bridging the speed and quality gap between autoregressive image models and diffusion models. VAR reformulates autoregressive modeling by decomposing an image into successive resolution scales. During inference, an image is generated by predicting all the tokens in the next (higher-resolution) scale, conditioned on all tokens in all previous (lower-resolution) scales. However, this formulation suffers from reduced image quality due to the parallel generation of all tokens in a resolution scale; has sequence lengths scaling superlinearly in image resolution; and requires retraining to change the sampling schedule. We introduce Hierarchical Masked Auto-Regressive modeling (HMAR), a new image generation algorithm that alleviates these issues using next-scale prediction and masked prediction to generate high-quality images with fast sampling. HMAR reformulates next-scale prediction as a Markovian process, wherein the prediction of each resolution scale is conditioned only on tokens in its immediate predecessor instead of the tokens in all predecessor resolutions. When predicting a resolution scale, HMAR uses a controllable multi-step masked generation procedure to generate a subset of the tokens in each step. On ImageNet 256x256 and 512x512 benchmarks, HMAR models match or outperform parameter-matched VAR, diffusion, and autoregressive baselines. We develop efficient IO-aware block-sparse attention kernels that allow HMAR to achieve faster training and inference times over VAR by over 2.5x and 1.75x respectively, as well as over 3x lower inference memory footprint. Finally, HMAR yields additional flexibility over VAR; its sampling schedule can be changed without further training, and it can be applied to image editing tasks in a zero-shot manner.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 44 of its 57 references that are in the map. First posted on arXiv 4 Jun 2025.

Builds on

44 of 57 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024HART: Efficient Visual Generation with Hybrid Autoregressive Transformer14 Oct
  2. 2024ControlVAR: Exploring Controllable Visual Autoregressive Modeling14 Jun
  3. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction3 Apr
  4. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  5. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 39

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2023GPT-4 Technical Reportcited by 18,132
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2020Denoising Diffusion Implicit Modelscited by 9,655
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  10. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  11. 2022Scalable Diffusion Models with Transformerscited by 5,931
  12. 2017Neural Discrete Representation Learningcited by 4,650
27 more
  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  4. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  5. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  6. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  7. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  8. 2016Conditional Image Generation with PixelCNN Decoderscited by 859
  9. 2016Pixel Recurrent Neural Networkscited by 814
  10. 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 760
  11. 2022Autoregressive Image Generation using Residual Quantizationcited by 706
  12. 2024Autoregressive Image Generation without Vector Quantizationcited by 644
  13. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  14. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  15. 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 415
  16. 2024Pyramidal Flow Matching for Efficient Video Generative Modelingcited by 354
  17. 2024Infinity: Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesiscited by 297
  18. 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 222
  19. 2021Self-attention Does Not Need O(n2) Memorycited by 152
  20. 2024MaskBit: Embedding-free Image Generation via Bit Tokenscited by 96
  21. 2024ImageFolder: Autoregressive Image Generation with Folded Tokenscited by 93
  22. 2023HyperHuman: Hyper-Realistic Human Generation with Latent Structural Diffusioncited by 68
  23. 2024Accelerating Auto-regressive Text-to-Image Generation with Training-free Speculative Jacobi Decodingcited by 65
  24. 2024VAR-CLIP: Text-to-Image Generator with Visual Auto-Regressive Modelingcited by 42
  25. 2024Switti: Designing Scale-Wise Transformers for Text-to-Image Synthesiscited by 33
  26. 2024Collaborative Decoding Makes Visual Auto-Regressive Modeling Efficientcited by 32
  27. 2024DepthART: Monocular Depth Estimation as Autoregressive Refinement Taskcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 12.

19 papers.

Sort:

By area:

  1. 2025Visual Autoregressive Modeling for Instruction-Guided Image Editingcited by 21
  2. 2025Simulating the Visual World with Artificial Intelligence: A Roadmapcited by 15
  3. 2026LMMs Meet Object-Centric Vision: Understanding, Segmentation, Editing and Generationcited by 6
  4. 2026TP-Blend: Textual-Prompt Attention Pairing for Precise Object-Style Blending in Diffusion Modelscited by 4
  5. 2025ClusterMark: Towards Robust Watermarking for Autoregressive Image Generators with Visual Token Clusteringcited by 3
  6. 2025Scale-Wise VAR is Secretly Discrete Diffusioncited by 2
  7. 2025Markovian Scale Prediction: A New Era of Visual Autoregressive Generationcited by 2
  8. 2025PRADA: Probability-Ratio-Based Attribution and Detection of Autoregressive-Generated Imagescited by 1
  9. 2026Adaptive Visual Autoregressive Acceleration via Dual-Linkage Entropy Analysiscited by 1
  10. 2026SSG: Scaled Spatial Guidance for Multi-Scale Visual Autoregressive Generationcited by 1
  11. 2026UniCompress: Token Compression for Unified Vision-Language Understanding and Generationcited by 1
  12. 2026On the Robustness of Watermarking for Autoregressive Image Generationcited by 1
7 more
  1. 2025Collapse of Patches: Ranking Image Patches for Efficient Visual Modelingcited by 0
  2. 2026AlignVAR: Towards Globally Consistent Visual Autoregression for Image Super-Resolutioncited by 0
  3. 2026Depth Adaptive Efficient Visual Autoregressive Modelingcited by 0
  4. 2026SplitAvatar: One-shot Head Avatar with Autoregressive Gaussian Splittingcited by 0
  5. 2026Edit the Bits, Diff the Codes: Bitwise Residual Editing for Visual Autoregressive Modelscited by 0
  6. 2026Logit Refiner: Improving Visual Autoregressive Models via Intra-Scale Dependency Modelingcited by 0
  7. 2026HALO: Enhancing Time Series Generation via Hyperspherical Latents and Masked AutoregRessive Modelingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Hierarchical Masked Autoregressive Models with Low-Resolution Token Pivots
  2. 2025MVAR: Visual Autoregressive Modeling with Scale and Spatial Markovian Conditioning
  3. 2025Frequency-Aware Autoregressive Modeling for Efficient High-Resolution Image Synthesis
  4. 2025SimpleAR: Pushing the Frontier of Autoregressive Visual Generation through Pretraining, SFT, and RL
  5. 2025RestoreVAR: Visual Autoregressive Generation for All-in-One Image Restoration
  6. 2025MADFormer: Mixed Autoregressive and Diffusion Transformers for Continuous Image Generation
  7. 2024E-CAR: Efficient Continuous Autoregressive Image Generation via Multistage Modeling
  8. 2025Masked Autoencoders Are Effective Tokenizers for Diffusion Models