Accelerating Masked Image Generation by Learning Latent Controlled Dynamics

Kaiwen Zhu, Quansheng Zeng, Yuandong Pu, Shuo Cao, Xiaohui Li, Yi Xin, Qi Qin, Jiayang Li, Yu Qiao, Jinjin Gu, Yihao Liu · OpenReview

TL;DR

This paper introduces MIGM-Shortcut, a lightweight model that accelerates Masked Image Generation Models (MIGMs) by learning the latent dynamics of feature evolution. By incorporating information from previously sampled tokens, MIGM-Shortcut significantly speeds up generation (over 4x for Lumina-DiMOO) while maintaining image quality, pushing the Pareto frontier of efficient image generation.

What Problem Does This Paper Address?

Masked Image Generation Models (MIGMs) have become powerful tools for visual generation, capable of producing high-quality images. However, their iterative nature, involving multiple steps of attention, makes them computationally expensive and slow. Existing methods to speed them up, such as caching features, often suffer from approximation errors, especially when aiming for aggressive acceleration. This is partly because they don't fully account for the crucial role of sampling decisions in guiding the generation process. The authors identify a redundancy in MIGMs: the rich semantic information in continuous features is often lost when discrete tokens are sampled. They aim to bridge this gap by learning a more efficient way to predict future features, leveraging both past features and sampling information.

Methods

The core of MIGM-Shortcut is a lightweight neural network designed to predict the "velocity field" of feature evolution. Instead of relying on the computationally heavy base MIGM for every step, MIGM-Shortcut takes the previous step's feature and the newly sampled tokens as input and predicts the next feature. This is framed as learning a latent controlled dynamics, where the feature trajectory is influenced by sampling.

Key aspects of the method include:

  • Learning Latent Dynamics: The authors observe that features in consecutive steps of MIGMs are highly similar, suggesting a smooth underlying trajectory. They propose to model this trajectory directly.
  • Incorporating Sampling Information: Unlike methods for continuous diffusion models, MIGM-Shortcut explicitly uses the sampled tokens from the previous step as input. This is crucial because the randomness in sampling directly influences the generation path.
  • Lightweight Shortcut Model: The shortcut model is designed to be much simpler than the base MIGM, typically involving cross-attention (to absorb sampled token information) and self-attention layers.
  • Inference Strategy: At inference, the heavy base model is used for a few "full steps" to correct potential distribution shifts, while the lightweight shortcut model is used for the majority of steps. This balances efficiency with accuracy.
  • Training: The shortcut model is trained using a Mean Squared Error (MSE) loss to predict the next feature from the base model, with the base model's parameters frozen.

Datasets

The paper uses existing datasets for training and evaluation:

  • ImageNet: Used for training and evaluating MaskGIT-Shortcut.
  • Lumina-DiMOO: Used for training and evaluating DiMOO-Shortcut on text-to-image generation tasks. The prompts used for Lumina-DiMOO are from Chen et al. (2025b) and Hu et al. (2024).

No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • Feature Trajectories are Smooth and Controllable: The authors provide strong visual and quantitative evidence that the latent feature trajectories in MIGMs are surprisingly smooth and well-behaved, making them amenable to prediction.
  • Sampling is Key to MIGM Dynamics: Unlike continuous diffusion models where dynamics are self-contained, MIGMs' generation path is heavily influenced by the random sampling of tokens. Ignoring this information leads to suboptimal acceleration.
  • Lightweight Models Can Capture Dynamics: The success of MIGM-Shortcut demonstrates that a relatively simple model can effectively learn the complex dynamics of feature evolution, bypassing the need for the full base model in most steps.
  • Potential for Performance Improvement: Surprisingly, MIGM-Shortcut sometimes achieved better FID scores than the vanilla model, suggesting that learning a "golden trajectory" from a well-chosen number of steps can lead to better results than simply increasing steps in the base model.

Key Results

  • MaskGIT: MIGM-Shortcut achieved significant speedups on MaskGIT, with some configurations surpassing the vanilla model's performance (lower FID) even with more steps.
  • Lumina-DiMOO:
    • Achieved over 4x acceleration for text-to-image generation.
  • The proposed DiMOO-Shortcut model has only 1/37 the parameters of the original Lumina-DiMOO.
  • Maintained high image quality, as measured by ImageReward, CLIPScore, and UniPercept-IQA, often comparable to or better than other acceleration methods.
  • Human studies showed DiMOO-Shortcut was preferred in nearly half the cases, indicating maintained perceptual quality.
  • The method significantly pushes the Pareto frontier of quality-speed trade-off.

Limitations and Future Work

  • Error Accumulation: The paper acknowledges that continuously applying the shortcut model can lead to distribution shift and error accumulation. Their solution is to periodically use the base model for correction, which is a trade-off between speed and accuracy.
  • Model Complexity Trade-off: While the shortcut model is designed to be lightweight, finding the optimal complexity (bottleneck ratio, number of layers) is crucial to balance speed and accuracy. The paper explores this trade-off, suggesting their default setting is Pareto optimal.
  • Future Work: The authors hope their work provides insights into the inherent redundancy in MIGMs and encourages further exploration of learning latent dynamics for efficient generative modeling. They also mention exploring more sophisticated training strategies, though simple MSE loss proved sufficient.

Summary updated

BibTeX
@misc{zhu2026accelerating,
  author = {Kaiwen Zhu and Quansheng Zeng and Yuandong Pu and Shuo Cao and Xiaohui Li and Yi Xin and Qi Qin and Jiayang Li and Yu Qiao and Jinjin Gu and Yihao Liu},
  title = {{Accelerating Masked Image Generation by Learning Latent Controlled Dynamics}},
  year = {2026},
  eprint = {2602.23996},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.23996},
}
Figure