Overshoot and Shrinkage in Classifier-Free Guidance: From Theory to Practice

Abstract

Classifier-Free Guidance (CFG) is widely used in diffusion and flow-based generative models for high-quality conditional generation, yet its theoretical properties remain incompletely understood. By connecting CFG to the high-dimensional framework of diffusion regimes, we show that in sufficiently high dimensions it reproduces the correct target distribution—a “blessing-of-dimensionality” result. Leveraging this theoretical framework, we analyze how the well-known artifacts of mean overshoot and variance shrinkage emerge in lower dimensions, characterizing how they become more pronounced as dimensionality decreases. Building on these insights, we propose a simple nonlinear extension of CFG, proving that it mitigates both effects while preserving CFG’s practical benefits. Finally, we validate our approach through numerical simulations on Gaussian mixtures and real-world experiments on diffusion and flow-matching state-of-the-art class-conditional and text-to-image models, demonstrating continuous improvements in sample quality, diversity, and consistency.

Cite

Text

Pavasovic et al. "Overshoot and Shrinkage in Classifier-Free Guidance: From Theory to Practice." International Conference on Learning Representations, 2026.

Markdown

[Pavasovic et al. "Overshoot and Shrinkage in Classifier-Free Guidance: From Theory to Practice." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/pavasovic2026iclr-overshoot/)

BibTeX

@inproceedings{pavasovic2026iclr-overshoot,
  title     = {{Overshoot and Shrinkage in Classifier-Free Guidance: From Theory to Practice}},
  author    = {Pavasovic, Krunoslav Lehman and Verbeek, Jakob and Biroli, Giulio and Mezard, Marc},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/pavasovic2026iclr-overshoot/}
}