Plug-and-Play Context Feature Reuse for Efficient Masked Generation
On the map: Efficient LLM inference and serving → Fast autoregressive visual generation
Abstract (arXiv)
Masked generative models (MGMs) have emerged as a powerful framework for image synthesis, combining parallel decoding with strong bidirectional context modeling. However, generating high-quality samples typically requires many iterative decoding steps, resulting in high inference costs. A straightforward way to speed up generation is by decoding more tokens in each step, thereby reducing the total number of steps. However, when many tokens are decoded simultaneously, the model can only estimate the univariate marginal distributions independently, failing to capture the dependency among them. As a result, reducing the number of steps significantly compromises generation fidelity. In this work, we introduce ReCAP (Reused Context-Aware Prediction), a plug-and-play module that accelerates inference in MGMs by constructing low-cost steps via reusing feature embeddings from previously decoded context tokens. ReCAP interleaves standard full evaluations with lightweight steps that cache and reuse context features, substantially reducing computation while preserving the benefits of fine-grained, iterative generation. We demonstrate its effectiveness on top of three representative MGMs (MaskGIT, MAGE, and MAR), including both discrete and continuous token spaces and covering diverse architectural designs. In particular, on ImageNet256 class-conditional generation, ReCAP achieves up to 2.4x faster inference than the base model with minimal performance drop, and consistently delivers better efficiency-fidelity trade-offs under various generation settings.
Key facts. Cited by 5 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 51 of its 60 references that are in the map. First posted on arXiv 25 May 2025.
Builds on
51 of 60 references.
References · 51
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2017Neural Discrete Representation Learningcited by 4,712
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2016Improved Techniques for Training GANscited by 2,970
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
38 more
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
- 2022MaskGIT: Masked Generative Image Transformercited by 1,099
- 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 938
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 774
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
- 2022Autoregressive Image Generation using Residual Quantizationcited by 722
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Thinkcited by 703
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
- 2024Autoregressive Image Generation without Vector Quantizationcited by 651
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
- 2023Language Model Beats Diffusion -- Tokenizer is Key to Visual Generationcited by 640
- 2023Understanding Diffusion Objectives as the ELBO with Simple Data Augmentationcited by 304
- 2023MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizercited by 262
- 2024Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Modelscited by 254
- 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 227
- 2024Fluid: Scaling Autoregressive Text-to-image Generative Models with Continuous Tokenscited by 147
- 2021ImageBART: Bidirectional Context with Multinomial Diffusion for Autoregressive Image Synthesiscited by 122
- 2023DiffiT: Diffusion Vision Transformers for Image Generationcited by 106
- 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
- 2023Return of Unconditional Generation: A Self-supervised Representation Generation Methodcited by 98
- 2024MaskBit: Embedding-free Image Generation via Bit Tokenscited by 98
- 2023GIVT: Generative Infinite-Vocabulary Transformerscited by 80
- 2025Harmonizing Visual Representations for Unified Multimodal Understanding and Generationcited by 74
- 2025Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generationcited by 71
- 2022Improved Masked Image Generation with Token-Criticcited by 64
- 2024Informed Correctors for Discrete Diffusion Modelscited by 57
- 2024Discrete Copula Diffusioncited by 54
- 2024Causal Diffusion Transformers for Generative Modelingcited by 31
- 2022Draft-and-Revise: Effective Image Generation with Contextual RQ-Transformercited by 30
- 2024Revisiting Non-Autoregressive Transformers for Efficient Image Synthesiscited by 22
- 2024AdaNAT: Exploring Adaptive Policy for Token-Based Image Generationcited by 13
- 2025Effective and Efficient Masked Image Generation Modelscited by 13
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025Lumina-DiMOO: An Omni Diffusion Large Language Model for Multi-Modal Generation and Understandingcited by 88
- 2025Variational Masked Diffusion Modelscited by 4
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Accelerationcited by 3
- 2026Lookahead Path Likelihood Optimization for Diffusion LLMscited by 1
- 2026Accelerating Masked Image Generation by Learning Controlled Latent Dynamicscited by 0
- 2026Accelerating Masked Image Generation by Learning Controlled Latent Dynamics27 Feb 2026
- 2026Lookahead Path Likelihood Optimization for Diffusion LLMs3 Feb 2026
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Acceleration27 Nov 2025
- 2025Variational Masked Diffusion Models27 Oct 2025
- 2025Lumina-DiMOO: An Omni Diffusion Large Language Model for Multi-Modal Generation and Understanding7 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Fixed-Point Masked Generative Modeling
- 2025MaskFocus: Focusing Policy Optimization on Critical Steps for Masked Image Generation
- 2025Repulsor: Accelerating Generative Modeling with a Contrastive Memory Bank
- 2024Efficient Generative Modeling with Residual Vector Quantization-Based Tokens
- 2024Bag of Design Choices for Inference of High-Resolution Masked Generative Transformer
- 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Caching
- 2024Unlocking the Capabilities of Masked Generative Models for Image Synthesis via Self-Guidance
- 2025Accelerating Inference of Masked Image Generators via Reinforcement Learning