mlsanityData to 14 Oct 2026

Plug-and-Play Context Feature Reuse for Efficient Masked Generation

arXiv 2505.19089 ↗First posted 25 May 2025cs.CVcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  5. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2022Scalable Diffusion Models with Transformerscited by 6,054
  8. 2022Classifier-Free Diffusion Guidancecited by 5,847
  9. 2017Neural Discrete Representation Learningcited by 4,712
  10. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  11. 2016Improved Techniques for Training GANscited by 2,970
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
38 more
  1. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
  2. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
  3. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  4. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
  5. 2022MaskGIT: Masked Generative Image Transformercited by 1,099
  6. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
  7. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 938
  8. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 774
  9. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
  10. 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
  11. 2022Autoregressive Image Generation using Residual Quantizationcited by 722
  12. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  13. 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Thinkcited by 703
  14. 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
  15. 2024Autoregressive Image Generation without Vector Quantizationcited by 651
  16. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  17. 2023Language Model Beats Diffusion -- Tokenizer is Key to Visual Generationcited by 640
  18. 2023Understanding Diffusion Objectives as the ELBO with Simple Data Augmentationcited by 304
  19. 2023MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizercited by 262
  20. 2024Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Modelscited by 254
  21. 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 227
  22. 2024Fluid: Scaling Autoregressive Text-to-image Generative Models with Continuous Tokenscited by 147
  23. 2021ImageBART: Bidirectional Context with Multinomial Diffusion for Autoregressive Image Synthesiscited by 122
  24. 2023DiffiT: Diffusion Vision Transformers for Image Generationcited by 106
  25. 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
  26. 2023Return of Unconditional Generation: A Self-supervised Representation Generation Methodcited by 98
  27. 2024MaskBit: Embedding-free Image Generation via Bit Tokenscited by 98
  28. 2023GIVT: Generative Infinite-Vocabulary Transformerscited by 80
  29. 2025Harmonizing Visual Representations for Unified Multimodal Understanding and Generationcited by 74
  30. 2025Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generationcited by 71
  31. 2022Improved Masked Image Generation with Token-Criticcited by 64
  32. 2024Informed Correctors for Discrete Diffusion Modelscited by 57
  33. 2024Discrete Copula Diffusioncited by 54
  34. 2024Causal Diffusion Transformers for Generative Modelingcited by 31
  35. 2022Draft-and-Revise: Effective Image Generation with Contextual RQ-Transformercited by 30
  36. 2024Revisiting Non-Autoregressive Transformers for Efficient Image Synthesiscited by 22
  37. 2024AdaNAT: Exploring Adaptive Policy for Token-Based Image Generationcited by 13
  38. 2025Effective and Efficient Masked Image Generation Modelscited by 13

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Fixed-Point Masked Generative Modeling
  2. 2025MaskFocus: Focusing Policy Optimization on Critical Steps for Masked Image Generation
  3. 2025Repulsor: Accelerating Generative Modeling with a Contrastive Memory Bank
  4. 2024Efficient Generative Modeling with Residual Vector Quantization-Based Tokens
  5. 2024Bag of Design Choices for Inference of High-Resolution Masked Generative Transformer
  6. 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Caching
  7. 2024Unlocking the Capabilities of Masked Generative Models for Image Synthesis via Self-Guidance
  8. 2025Accelerating Inference of Masked Image Generators via Reinforcement Learning