Guidance as Variance Matching

Ali Backour, Artem Lukoianov, Frank Permenter, Tommi Jaakkola, Justin Solomon +1 more
11/25/2026
cs.CVcs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{backour2026guidance,
  title  = {Guidance as Variance Matching},
  author = {Ali Backour and Artem Lukoianov and Frank Permenter and Tommi Jaakkola and Justin Solomon and Vincent Sitzmann},
  year   = {2026},
  eprint = {2611.34801},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34801v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.34801.svg)](https://codeofpaper.com/paper/2611.34801)

Discussion