mlsanityData to 14 Oct 2026

MARch'e: Fast Masked Autoregressive Image Generation with Cache-Aware Attention

arXiv 2506.12035 ↗First posted 22 May 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Masked autoregressive (MAR) models unify the strengths of masked and autoregressive generation by predicting tokens in a fixed order using bidirectional attention for image generation. While effective, MAR models suffer from significant computational overhead, as they recompute attention and feed-forward representations for all tokens at every decoding step, despite most tokens remaining semantically stable across steps. We propose a training-free generation framework MARch'e to address this inefficiency through two key components: cache-aware attention and selective KV refresh. Cache-aware attention partitions tokens into active and cached sets, enabling separate computation paths that allow efficient reuse of previously computed key/value projections without compromising full-context modeling. But a cached token cannot be used indefinitely without recomputation due to the changing contextual information over multiple steps. MARch'e recognizes this challenge and applies a technique called selective KV refresh. Selective KV refresh identifies contextually relevant tokens based on attention scores from newly generated tokens and updates only those tokens that require recomputation, while preserving image generation quality. MARch'e significantly reduces redundant computation in MAR without modifying the underlying architecture. Empirically, MARch'e achieves up to 1.7x speedup with negligible impact on image quality, offering a scalable and broadly applicable solution for efficient masked transformer generation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 48 of its 54 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

48 of 54 references.

References · 48

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2022Training language models to follow instructions with human feedbackcited by 15,971
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2022Scalable Diffusion Models with Transformerscited by 6,054
  8. 2017Neural Discrete Representation Learningcited by 4,712
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  12. 2016Improved Techniques for Training GANscited by 2,970
36 more
  1. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  3. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
  4. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
  5. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
  6. 2022MaskGIT: Masked Generative Image Transformercited by 1,099
  7. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
  8. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 938
  9. 2016Conditional Image Generation with PixelCNN Decoderscited by 862
  10. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  11. 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 777
  12. 2018Image Transformercited by 772
  13. 2022Autoregressive Image Generation using Residual Quantizationcited by 722
  14. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
  15. 2024Autoregressive Image Generation without Vector Quantizationcited by 651
  16. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  17. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  18. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  19. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 474
  20. 2018Efficient Attention: Attention with Linear Complexitiescited by 368
  21. 2023DeepCache: Accelerating Diffusion Models for Freecited by 359
  22. 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 227
  23. 2023Cache Me if You Can: Accelerating Diffusion Models through Block Cachingcited by 151
  24. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
  25. 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generationcited by 115
  26. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Modelscited by 115
  27. 2024MaskBit: Embedding-free Image Generation via Bit Tokenscited by 98
  28. 2017Parallel Multiscale Autoregressive Density Estimationcited by 71
  29. 2024Accelerating Auto-regressive Text-to-Image Generation with Training-free Speculative Jacobi Decodingcited by 66
  30. 2022Improved Masked Image Generation with Token-Criticcited by 64
  31. 2024LANTERN: Accelerating Visual Autoregressive Models with Relaxed Speculative Decodingcited by 47
  32. 2023OMS-DPM: Optimizing the Model Schedule for Diffusion Probabilistic Modelscited by 45
  33. 2024MixDQ: Memory-Efficient Few-Step Text-to-Image Diffusion Models with Metric-Decoupled Mixed Precision Quantizationcited by 43
  34. 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Cachingcited by 11
  35. 2024ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesiscited by 8
  36. 2025Masked Generative Nested Transformers with Decode Time Scalingcited by 4

Built on by

Not cited yet.