[Paper Review] Accelerating Masked Image Generation by Learning Latent Controlled Dynamics
The paper introduces MIGM-Shortcut, a lightweight neural model that learns latent controlled dynamics to predict feature updates in masked image generation, enabling substantial speedups (up to ~4–5x) with minimal quality loss across MaskGIT and Lumina-DiMOO. It replaces most heavy base-model steps with the shortcut while periodically re-syncing with the base model to control error accumulation.
Masked Image Generation Models (MIGMs) have achieved great success, yet their efficiency is hampered by the multiple steps of bi-directional attention. In fact, there exists notable redundancy in their computation: when sampling discrete tokens, the rich semantics contained in the continuous features are lost. Some existing works attempt to cache the features to approximate future features. However, they exhibit considerable approximation error under aggressive acceleration rates. We attribute this to their limited expressivity and the failure to account for sampling information. To fill this gap, we propose to learn a lightweight model that incorporates both previous features and sampled tokens, and regresses the average velocity field of feature evolution. The model has moderate complexity that suffices to capture the subtle dynamics while keeping lightweight compared to the original base model. We apply our method, MIGM-Shortcut, to two representative MIGM architectures and tasks. In particular, on the state-of-the-art Lumina-DiMOO, it achieves over 4x acceleration of text-to-image generation while maintaining quality, significantly pushing the Pareto frontier of masked image generation. The code and model weights are available at https://github.com/Kaiwen-Zhu/MIGM-Shortcut.
Motivation & Objective
- Motivate and address inefficiency in Masked Image Generation Models (MIGMs) due to multi-step bi-directional attention.
- Develop a lightweight shortcut model that leverages both past features and newly sampled tokens to predict feature evolution.
- Demonstrate acceleration on representative MIGM architectures (MaskGIT and Lumina-DiMOO) with controlled quality impact.
Proposed method
- Formulate MIGM as a state-space model where latent features evolve under a learned drift S_theta conditioned on past features and newly decoded tokens.
- Propose a lightweight shortcut model consisting of cross-attention and self-attention layers with a bottleneck, conditioned on time via sinusoidal embeddings and adaptive layer norm.
- Train the shortcut by minimizing MSE between the true next-feature and the shortcut-predicted update, while keeping the base model frozen.
- During inference, replace most heavy base-model steps with the shortcut predictions, periodically refreshing with the base model to prevent error accumulation.
- Provide empirical evidence that feature trajectories are smooth and that the sampling process critically informs dynamics, justifying the shortcut design.
Experimental results
Research questions
- RQ1Can a lightweight latent dynamics model accurately predict feature evolution in MIGMs when conditioned on both previous features and sampled tokens?
- RQ2How much acceleration can be achieved in MIGMs (MaskGIT and Lumina-DiMOO) with negligible degradation in generation quality?
- RQ3Does incorporating sampling information via cross-attention in the shortcut model substantially impact performance?
- RQ4What is the trade-off between shortcut model complexity and acceleration gains under fixed computational budgets?
Key findings
- MIGM-Shortcut achieves up to around 4× acceleration in Lumina-DiMOO with negligible quality loss on text-to-image generation.
- In MaskGIT, the shortcut yields consistent better images at faster speeds, surpassing vanilla configurations at comparable step counts.
- In Lumina-DiMOO, DiMOO-Shortcut reaches 4–5× speedup with competitive ImageReward, CLIPScore, and UniPercept-IQA metrics.
- A lightweight backbone (cross-attention + self-attention with bottleneck) suffices to capture latent dynamics when conditioned on newly decoded tokens.
- Regularly re-syncing with the base model during inference mitigates error accumulation from the shortcut predictions.
- Ablation confirms the importance of incorporating sampling information and shows Pareto-optimality of the default shortcut design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.