LazyMAR: Accelerating Masked Autoregressive Models via Feature Caching
On the map: Efficient LLM inference and serving → Fast autoregressive visual generation
Abstract (arXiv)
Masked Autoregressive (MAR) models have emerged as a promising approach in image generation, expected to surpass traditional autoregressive models in computational efficiency by leveraging the capability of parallel decoding. However, their dependence on bidirectional self-attention inherently conflicts with conventional KV caching mechanisms, creating unexpected computational bottlenecks that undermine their expected efficiency. To address this problem, this paper studies the caching mechanism for MAR by leveraging two types of redundancy: Token Redundancy indicates that a large portion of tokens have very similar representations in the adjacent decoding steps, which allows us to first cache them in previous steps and then reuse them in the later steps. Condition Redundancy indicates that the difference between conditional and unconditional output in classifier-free guidance exhibits very similar values in adjacent steps. Based on these two redundancies, we propose LazyMAR, which introduces two caching mechanisms to handle them one by one. LazyMAR is training-free and plug-and-play for all MAR models. Experimental results demonstrate that our method achieves 2.83 times acceleration with almost no drop in generation quality. Our codes will be released in https://github.com/feihongyan1/LazyMAR.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Fast autoregressive visual generation, one of 12 directions in Efficient LLM inference and serving. Builds on 32 of its 38 references that are in the map. First posted on arXiv 16 Mar 2025.
Builds on
32 of 38 references.
Closest ancestors · 1
Same direction, newest first
Other references · 31
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2016Improved Techniques for Training GANscited by 2,970
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
- 2022MaskGIT: Masked Generative Image Transformercited by 1,099
19 more
- 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
- 2016Conditional Image Generation with PixelCNN Decoderscited by 862
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2016Pixel Recurrent Neural Networkscited by 816
- 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 777
- 2024Show-o: One Single Transformer to Unify Multimodal Understanding and Generationcited by 752
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
- 2024Autoregressive Image Generation without Vector Quantizationcited by 651
- 2023DeepCache: Accelerating Diffusion Models for Freecited by 359
- 2024An Image is Worth 32 Tokens for Reconstruction and Generationcited by 302
- 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 227
- 2024Accelerating Diffusion Transformers with Token-wise Feature Cachingcited by 156
- 2024DiT4Edit: Diffusion Transformer for Image Editingcited by 101
- 2013Deep AutoRegressive Networkscited by 61
- 2024Parallelized Autoregressive Visual Generationcited by 60
- 2024NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Timecited by 43
- 2024Follow-Your-Canvas: Higher-Resolution Video Outpainting with Extensive Content Generationcited by 42
- 2024Collaborative Decoding Makes Visual Auto-Regressive Modeling Efficientcited by 33
- 2024EventGPT: Event Stream Understanding with Multimodal Large Language Modelscited by 28
Built on by
Citing papers per year: 2025: 7; 2026: 4.
11 papers.
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 30
- 2025UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformerscited by 12
- 2025DiSA: Diffusion Step Annealing in Autoregressive Image Generationcited by 5
- 2025Generation then Reconstruction: Accelerating Masked Autoregressive Models via Two-Stage Samplingcited by 2
- 2025Autoregressive Image Generation Needs Only a Few Lines of Cached Tokenscited by 2
- 2025MARch'e: Fast Masked Autoregressive Image Generation with Cache-Aware Attentioncited by 0
- 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMscited by 0
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokenscited by 0
- 2026Drift-AR: Single-Step Visual Autoregressive Generation via Anti-Symmetric Driftingcited by 0
- 2026XYZFlow:Scaling Multi dimensional Shortcut Flows for Efficient Generative Modelingcited by 0
- 2026FastGuide: Accelerating Reward Guidance for Diffusion Large Language Modelscited by 0
- 2026FastGuide: Accelerating Reward Guidance for Diffusion Large Language Models28 Sep 2026
- 2026XYZFlow:Scaling Multi dimensional Shortcut Flows for Efficient Generative Modeling12 Aug 2026
- 2026Drift-AR: Single-Step Visual Autoregressive Generation via Anti-Symmetric Drifting30 Mar 2026
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokens30 Jan 2026
- 2025Autoregressive Image Generation Needs Only a Few Lines of Cached Tokens4 Dec 2025
- 2025UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers25 Nov 2025
- 2025Generation then Reconstruction: Accelerating Masked Autoregressive Models via Two-Stage Sampling20 Oct 2025
- 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMs14 Sep 2025
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug 2025
- 2025DiSA: Diffusion Step Annealing in Autoregressive Image Generation26 May 2025
- 2025MARch'e: Fast Masked Autoregressive Image Generation with Cache-Aware Attention22 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Resurrect Mask AutoRegressive Modeling for Efficient and Scalable Image Generation
- 2025Fast Autoregressive Models for Continuous Latent Generation
- 2025Visual Autoregressive Transformers Must Use Omega(n2 d) Memory
- 2025Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling
- 2026Head-Aware Key-Value Compression for Efficient Autoregressive Image Generation
- 2025SSD: Spatial-Semantic Head Decoupling for Efficient Autoregressive Image Generation
- 2024Customize Your Visual Autoregressive Recipe with Set Autoregressive Modeling
- 2023Not All Image Regions Matter: Masked Vector Quantization for Autoregressive Image Generation