Guidance as Variance Matching
Ali Backour, Artem Lukoianov, Frank Permenter, Tommi Jaakkola, Justin Solomon, Vincent Sitzmann
Key points
From the paper's conclusion- We introduce variance-matched guidance: a closed-form rule that picks the guidance scale by matching the variance of the guided predictions to that of the data.
Abstract
Guidance repels the prediction of a diffusion model away from a weaker reference prediction. It substantially improves sample quality, but its mechanism remains poorly understood. We first find that, at the scales used in practice, guidance does not improve the prediction of the posterior mean (the model's training target); it makes the prediction worse, while samples improve. Second, posterior-mean predictions have less variance than the data, and we find that guidance restores it. We introduce variance-matched guidance: a closed-form rule that picks the guidance scale by matching the variance of the guided predictions to that of the data. Without tuning, it recovers the hand-picked scales of eleven widely used models across image, video, audio, motion, and world generation; to our knowledge, no previous explanation of guidance predicts them. Applied per noise level, it yields a schedule without tuned hyperparameters that users prefer to hand-crafted ones on SD 3.5 Medium. Third, we offer an interpretation of the mechanism behind guidance: each model makes a random error in predicting the posterior mean, and guidance rescales the difference of these errors into a sample with the posterior's covariance, which improves sampling. This view also suggests two new hypotheses that our experiments support: guidance can work with negative scales, and guiding a model with its own checkpoint needs a larger scale than guiding it with an independently trained model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Decompose the Distillation: Interpretable Single-Pass Guidance for Diffusion ModelsarXiv · 2026
- Guidance-Induced Activation of Score Estimation Errors in Diffusion ModelsarXiv · 2026
- Getting Your Guidance Weights Right in diffusion and flow-matching posterior samplingarXiv · 2026
- Understanding Mode Collapse in Diffusion Models under Classifier-Free GuidancearXiv · 2026
- Learned End-to-End Guidance Schedules for Diffusion ModelsarXiv · 2026
- Variational Optimal Control for Diffusion GuidancearXiv · 2026