Lune

ICCV2025Top-tier venue

LazyMAR: Accelerating Masked Autoregressive Models Via Feature Caching

Feihong Yan, Qingyan Wei, Jiayi Tang, Jiajun Li, Yulin Wang, Xuming Hu, Huiqi Li, Linfeng Zhang

Abstract

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 classifierfree 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×2.83 \times acceleration with almost no drop in generation quality. Our codes will be released in https://github.com/feihongyan1/LazyMAR.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers cites Generation then Reconstruction: Accelerating Masked Autoregressive Models via Two-Stage Sampling
  • UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Language Models are Few-Shot Learners
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Generation then Reconstruction: Accelerating Masked Autoregressive Models via Two-Stage Sampling cites High-Resolution Image Synthesis with Latent Diffusion Models
  • LazyVAR: Accelerating Visual Autoregressive Models via Scale-wise Token Pruning and Parallel Group Decoding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • LazyVAR: Accelerating Visual Autoregressive Models via Scale-wise Token Pruning and Parallel Group Decoding cites Diffusion Models Beat GANs on Image Synthesis
  • LazyVAR: Accelerating Visual Autoregressive Models via Scale-wise Token Pruning and Parallel Group Decoding cites Denoising Diffusion Probabilistic Models
  • FastHybrid: Accelerating Hybrid Autoregressive Image Generation with Lookahead and Guided Decoding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • FastHybrid: Accelerating Hybrid Autoregressive Image Generation with Lookahead and Guided Decoding cites Language Models are Few-Shot Learners
  • FastHybrid: Accelerating Hybrid Autoregressive Image Generation with Lookahead and Guided Decoding cites Denoising Diffusion Probabilistic Models
  • FastHybrid: Accelerating Hybrid Autoregressive Image Generation with Lookahead and Guided Decoding cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. UltraViCo: Breaking Extrapolation Limits in Video Diffusion TransformersMin Zhao, Hongzhou Zhu, Yingze Wang, Bokai Yan et al.ICLR 2026 · 14 citations
  2. EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image EditingZexuan Yan, Yue Ma, Chang Zou, Wenteng Chen et al.ICCV 2025 · 5 citations
  3. Generation then Reconstruction: Accelerating Masked Autoregressive Models via Two-Stage SamplingFeihong Yan, Yao Zhu, Peiru Wang, Pang Kaiyu et al.ICLR 2026 · 3 citations
  4. LazyVAR: Accelerating Visual Autoregressive Models via Scale-wise Token Pruning and Parallel Group DecodingRongge Mao, Chengqi Dong, S Kevin ZhouCVPR 2026
  5. FastHybrid: Accelerating Hybrid Autoregressive Image Generation with Lookahead and Guided DecodingZhengguo Jiang, Fang Zhang, YongXiang Hua, Bocheng Li et al.CVPR 2026

Builds on20

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  4. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations

Related papers

  1. LazyAttention: Efficient Retrieval-Augmented Generation with Deferred Positional EncodingHaocheng Xia, Mihir Pamnani, Hanxi Fang, Supawit Chockchowwat et al.ICML 2026
  2. ZipAR: Parallel Autoregressive Image Generation through Spatial LocalityYefei He, Feng Chen, Yuanyu He, Shaoxuan He et al.ICML 2025
  3. Q Cache: Visual Attention Is Valuable in Less than Half of Decode Layers for Multimodal Large Language ModelJiedong Zhuang, Lu Lu, Ming Dai, Rui Hu et al.AAAI 2026
  4. Entropy-Aware Dynamic KV Cache Sparsification for Autoregressive Image Generation and EditingTong Tong, LING XING, Linjie Li, Rui Yan et al.ICML 2026
  5. Plug-and-Play Context Feature Reuse for Efficient Masked GenerationXuejie Liu, Anji Liu, Guy Van den Broeck, Yitao LiangNeurIPS 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines