MIT researchers derive closed-form optimal guidance scale for diffusion models
A MIT team (ottogin1 and alibackour03 from Vince Sitzmann's group, with collaborators including Tommi Jaakkola, Justin Solomon, and Frank Permenter) released a new paper on December 3 that systematically explains the long-standing puzzle of how guidance works in diffusion models and derives a closed-form solution for the optimal guidance scale. The work marks an important step toward a theory of guidance.
Confirmed
- One core finding: guidance is essentially a simultaneous matching of the posterior mean and variance, recovering posterior variance — a direct challenge to the prevailing "weak model + strong model" interpretation from Karras et al.'s autoguidance work
- The paper derives a closed-form formula for the optimal guidance scale and uses it to explain why commonly used empirical scaling formulas in practice make sense
- A counterintuitive experimental result: adding classifier-free guidance (w=4.5 on SD 3.5 Medium) significantly worsens the diffusion loss yet improves generation quality; the paper explains this paradox
- Author ottogin1 posted a 9-tweet thread introducing the paper, saying that why guidance works was an open mystery throughout their PhD
Why it matters
- Guidance (especially classifier-free guidance) is a key technique behind today's high-quality generative models but has long lacked rigorous theory; the closed-form solution and theoretical framework offer principled grounds for choosing guidance scales and designing models, replacing trial-and-error tuning
- It challenges the mainstream view that guidance is a weak/strong model combination, which could affect the theoretical underpinnings of subsequent guidance methods (such as the autoguidance line)
- The "loss gets worse but generation improves" paradox is explained, revealing a disconnect between training loss and generation quality, with implications for evaluation metric design
2026-12-03 ~ 2026-12-03 · 5 related posts
Primary sources
- New paper explains why guidance works in diffusion models and the scales used in practice — JustinMSolomon · 2026-12-03
- [source] New theory: diffusion guidance matches posterior mean and variance, not just error averaging — vincesitzmann · 2026-12-03
- [source] New theory derives closed-form optimal guidance scale for diffusion models — vincesitzmann · 2026-12-03
- New Paper Explains Why Guidance Worsens Diffusion Loss but Improves Generation — vincesitzmann · 2026-12-03
- New paper derives closed-form optimal guidance scale for diffusion models — JustinMSolomon · 2026-12-03