NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Momentum Guidance: Plug-and-Play Guidance for Flow Models

Runlong Liao, Jian Yu, Baiyu Su, Chi Zhang, Lizhang Chen, Qiang LiuarXiv 2026

TL;DR

Momentum Guidance (MG) is a plug-and-play inference technique for flow-based generative models that significantly boosts image sharpness and detail with zero extra computational cost. By extrapolating the current generation velocity away from an exponential moving average of past velocities along the sampling trajectory, MG achieves the sharpening effects of traditional guidance methods while maintaining a single model evaluation per step and better preserving sample diversity.

What Problem Does This Paper Address?

Pretrained flow-based and diffusion models often produce "oversmoothed" or blurry images when sampled in their raw conditional form. This happens because mean-squared error training objectives force the network to predict conditional means (effectively averaging over multiple plausible outcomes), and parameter exponential moving averages (EMA) further smooth the learned velocity fields.

To fix this, techniques like Classifier-Free Guidance (CFG) push predictions away from an unconditional reference branch. However, CFG requires an extra forward pass at every single step—doubling the computational cost—and severely reduces sample diversity (collapsing the recall). Other methods like Autoguidance avoid the extra pass but require auxiliary model checkpoints that are rarely released for large-scale open models.

Methods

The authors introduce Momentum Guidance (MG), an inference-time method that cleverly leverages the model's own sampling history as a smooth reference. In flow models, earlier states in the trajectory correspond to higher noise levels and are intrinsically smoother.

MG maintains a running "velocity momentum" ($\mathbf{m}_t$), which is an exponential moving average (EMA) of past velocity estimates along the ODE trajectory: $$\mathbf{m}_{t_{i+1}} = (1 - \beta)\mathbf{v}_{t_i} + \beta \mathbf{m}_{t_i}$$

The sample state ($\mathbf{Z}_t$) is then updated by extrapolating the current velocity ($\mathbf{v}_{t_i}$) away from this momentum reference: $$\mathbf{Z}_{t_{i+1}} = \mathbf{Z}_{t_i} + \Delta t \left[ \mathbf{v}_{t_i} + \alpha(\mathbf{v}_{t_i} - \mathbf{m}_{t_i}) \right]$$

Here, $\alpha$ controls the guidance/sharpening strength, and $\beta$ controls the memory decay. Because it only reuses already-computed velocities, MG adds virtually zero computational or memory overhead and can be used standalone or stacked directly on top of CFG.

Datasets

The method was evaluated across multiple modalities and large-scale models using:

  • ImageNet-256: Evaluated using a Rectified Flow DiT-XL architecture.
  • HPSv2 Benchmark: 3,200 prompts used to evaluate text-to-image generation on Stable Diffusion 3 (SD3) and FLUX.1-dev.
  • VBench: A comprehensive benchmark suite used to evaluate text-to-video generation on HunyuanVideo.

Key Insights and Ideas

  • The Trajectory is All You Need: Instead of generating an artificial "smooth" reference via an unconditional model (CFG) or a weaker model (Autoguidance), MG realizes that the past states of the current trajectory are already a natural sequence of smoother references.
  • Expanding the Pareto Frontier: Traditional CFG improves precision (fidelity) by sacrificing recall (diversity). MG breaks this trade-off by expanding the precision-recall frontier, allowing models to generate sharper details without dropping diverse modes.
  • Short Memory Wins: Ablation studies show that the best performance occurs with moderate guidance strength ($\alpha$) and small-to-medium decay ($\beta$). This implies that strong sharpening benefits from a shorter momentum memory, focusing on recent trajectory changes rather than the deep past.

Key Results

  • ImageNet-256: MG improved FID by 36.54% without CFG and by 25.42% when stacked on top of CFG. Combined with a CFG interval schedule, it achieved an impressive FID of 1.553 at just 16 sampling steps.
  • Text-to-Image: On Stable Diffusion 3 and FLUX.1-dev, MG consistently improved human preference scores (HPSv2.1) and ImageReward metrics across all tested CFG scales.
  • Text-to-Video: When applied to HunyuanVideo, MG boosted the overall VBench score from 0.816 to 0.819, enhancing imaging quality and content richness without degrading temporal consistency.
Fig. 1: Visual comparison of Momentum Guidance with text-conditioned sampling without CFG on SD3 [15]. Unlike CFG, which requires an additional forward pass through an unconditional branch at every sampling step, MG introduces no extra model evaluations. The generated images show improved quality and finer details (e.g., angel’s wings, intricate coral structures), fewer artifacts (e.g., reduced blur in motorcycle re- flections), richer visual textures and color variation (e.g., waterfall and volcanic scenes), and more stable object geometry (e.g., clearer facial contours and cleaner edges).
Table 1: Comparison of CFG and our Momentum Guidance across different CFG scales w at different NFEs. When w = 1, our method corresponds to MG without CFG, while the other settings represent MG applied on top of CFG.

Limitations and Future Work

  • Hyperparameter Tuning: MG introduces two new hyperparameters ($\alpha$ and $\beta$) that require tuning. The optimal region shifts depending on the base CFG scale; as CFG becomes stronger, the effective range for $\alpha$ narrows.
  • Scheduling: The current implementation uses fixed $\alpha$ and $\beta$ values across the trajectory (or within a fixed interval). The authors note that exploring dynamic or adaptive schedules for these parameters could be a fruitful direction for future work.
  • Compatibility: While shown to work well with CFG, a systematic study of combining MG with other guidance variants (like Autoguidance or attention-based methods) was left outside the scope of this paper.

Summary updated

BibTeX
@misc{liao2026momentum,
  author = {Runlong Liao and Jian Yu and Baiyu Su and Chi Zhang and Lizhang Chen and Qiang Liu},
  title = {{Momentum Guidance: Plug-and-Play Guidance for Flow Models}},
  year = {2026},
  eprint = {2602.20360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.20360},
}

Loading related content...

Figure