Manuscript Offprint

arXiv:2610.05645

When Does a Diffusion Model Decide What to Draw ?

Snigdha Chandan Khilar

Snigdha Chandan Khilar

Independent Researcher · snkhilar@gmail.com

A diffusion model starts from pure noise and removes it step by step. Somewhere along the way it stops being able to become “anything” and becomes committed to, say, a horse rather than a truck. We measure when this happens, and what a trained model gets wrong about it, on CIFAR-10. The most direct measurement is to freeze a half-finished image, restart the generation from that point many times, and count how often each class comes out. We call this probability the committor. Measured this way, the model settles coarse questions (vehicle or animal?) at roughly twice the noise level of fine ones (which animal?). A much cheaper measurement, the noise level at which a classifier’s opinion about two classes splits into two distinct groups, gets the order of these decisions right (rank correlation 0.73–0.88) but not their exact timing. We then compare pretrained models with their training data, using a comparison that is exact in principle. For NVIDIA’s EDM model the result is simple: along the class axis, the model commits exactly as its data do, except that it generates some classes too often and others too rarely. If we give the data the model’s class proportions, the data reproduce the model’s behaviour pair by pair, as closely as two halves of the data reproduce each other. If we give the model the data’s proportions, by sampling a class-conditional model with uniform labels or by gently steering the sampler, the model reproduces the data’s behaviour, with no loss in image quality. Part of the class imbalance comes from the sampler rather than the network: a coarse 256-step sampler roughly doubles it. An older DDPM model shows the same class-proportion effect plus a second error, committing about 20% too late, which our planted-error tests show the method is able to detect.

Code: https://github.com/nssprogrammer/diffusion-commit

1. Introduction

Watch a diffusion model generate an image and the picture comes into focus in a recognisable order. First there is a blur of colour, then a rough layout, then an object, and finally fine texture. Somewhere in the middle of this process the model commits. Before that moment, the half-finished image could still turn into several different things. After it, the outcome is settled: it will be a horse, and no amount of further sampling noise will turn it into a truck.

Knowing when this happens is useful. It tells us where in the noise schedule guidance should act (Kynkäänniemi et al., 2024), where the class balance of generated data is decided, and which errors in a learned model actually change what gets drawn. It also connects to a line of theory. For simple data such as a mixture of two Gaussian blobs, the moment of commitment is a sharp event that physicists would call a phase transition (Raya and Ambrogioni, 2023; Biroli and Mézard, 2023; Biroli et al., 2024; Li and Chen, 2024; Sclocchi et al., 2025).

Measuring commitment in a real, trained model raises two practical questions that the theory hides.

Whose commitment do we mean? One option is to look at the whole population of half-finished images and ask when they visibly split into two groups, for example “cat-like” and “dog-like”.

Corresponding author: Snigdha Chandan Khilar; snkhilar@gmail.com

That is cheap, but what you see depends on how you choose to measure “cat-likeness”. The other option is to look at one image at a time and ask how certain its eventual outcome already is. That is exact, but expensive. We use both and check one against the other.

Compared with what? A model can only commit “wrongly” relative to its training data. So we need a fair way to compare the model’s behaviour with the data’s, and evidence that this comparison would actually notice an error if one existed.

We study CIFAR-10 (Krizhevsky, 2009), with NVIDIA's EDM models (Karras et al., 2022) as the main subject and the original DDPM model (Ho et al., 2020) as a second, older model family. Our findings are:

  1. Coarse decisions come first. An image settles “vehicle or animal?” at about twice the noise level at which it settles “which animal?” (1.75–2.5 times, depending on how strictly “settled” is defined). The cheap population-level measurement puts class pairs in the right order (rank correlation 0.73–0.88), but its absolute timing depends on an arbitrary choice of scale, so we use it only for ordering (Section 5).

  2. The comparison is fair, and it can see errors. On a toy problem where the right answer is known, it recovers that answer exactly. When we deliberately plant small errors in the data, it detects them (Sections 3.3 and 3.5).

  3. EDM commits like its data, except for class proportions. Reweighting the data to match how often the model generates each class reproduces the model's behaviour pair by pair, as closely as two halves of the data agree with each other. A class-conditional EDM model sampled with equal numbers of each class matches the data with no reweighting at all (Section 6).

  4. Fixing the proportions fixes the commitment. Gently steering the sampler towards the right class proportions, with a classifier and no tuning, makes the model's commitment match the data, and FID does not get worse (Section 7).

  5. Part of “the model’s” imbalance belongs to the sampler. A 256-step stochastic sampler roughly doubles the class imbalance compared with the same network sampled more carefully (Section 6.4).

  6. A weaker model makes an additional error. DDPM shows the same class-proportion effect, but it also commits about 20% too late, an error that is not about proportions at all (Section 8).

References (50)

  • Theory of speciation transitions in diffusion models with general class structure (opens arXiv in a new tab)
  • Generative diffusion in very large dimensions
  • Dynamical regimes of diffusion models
  • Constrained reaction coordinate dynamics for the simulation of rare events
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Transition-path theory and path-finding algorithms for the study of rare events
  • Singularities and Groups in Bifurcation Theory, Volume I. Springer, 1985
  • Measuring semantic information production in generative diffusion models
  • The entropic signature of class speciation in diffusion models
  • Comment on two distinct notions of free energy
  • Time reversal of diffusions
  • GANs trained by a two time-scale update rule converge to a local Nash equilibrium
  • Denoising diffusion probabilistic models
  • Elucidating the design space of diffusion-based generative models
  • Applying guidance in a limited interval improves sample and distribution quality in diffusion models
  • Gradient-based learning applied to document recognition
  • Critical windows: non-asymptotic theory for feature emergence in diffusion models
  • A Theory of Speciation in Generative Diffusion Models on Compact Riemannian Manifolds
  • The mode tree: a tool for visualization of nonparametric density features
  • The interplay of data structure and imbalance in the learning dynamics of diffusion models (opens arXiv in a new tab)
  • Elucidating the exposure bias in diffusion models
  • Attaining fairness in diffusion-based face generation models (opens arXiv in a new tab)
  • Balancing act: distribution-guided debiasing in diffusion models
  • Analyzing bias in diffusion-based face generation models
  • FiLM: Visual reasoning with a general conditioning layer
  • Class-balancing diffusion models
  • Spontaneous symmetry breaking in generative diffusion models
  • A classification-based study of covariate shift in GAN distributions
  • A phase transition in diffusion models reveals the hierarchical nature of data
  • Score-based generative modeling through stochastic differential equations
  • The information dynamics of generative diffusion
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • For $\sigma > 0$ it is smooth and strictly positive, which justifies the integrations by parts below for smooth test functions $g$ with bounded derivatives
  • Assume the score is exact and that the reverse SDE is started from $p_{\sigma_{\max}}$
  • For means $\pm s$ with $s \in \{\pm 1\}^d$ and weights $w, 1 - w$, the stationary points of the marginal of $m = s \cdot x/d$ solve $m = \tanh(m/\tau + \eta)$ with $\tau = \sigma^2/d$
  • Proposition 1 can only be tested with at least three classes
  • map nonlinearity
  • We therefore tested the eleven directions along which the full distribution could plausibly form two lumps: each class against the rest, and vehicles against animals
  • bandwidth $1.5\times$ Silverman, merge distance 0.03, prominence 0.05 nats, no persistence requirement
  • Our first estimator of pairwise decisions considered a state only if at least six of its twelve continuations landed in the pair
  • All 95% intervals of the difference span zero (300 bootstrap resamples of trajectories)
  • Above floor
  • The reverse SDE is discretised with Euler-Maruyama, 256 steps on the EDM schedule ($\rho = 7$) from $\sigma = 80$ to 0.05, and logits are recorded at 68 levels between 0.086 and 7.95
  • That is less than the tilt would achieve with a perfect classifier
  • Against data mass-matched to it, the 256-step full-precision run gives asymmetry agreement 0.964 ([0.84, 1.00]) and a location ratio of 1.09 ([0.88, 1.43]), the same picture as the half-precision runs
  • Table 13 lists the corrupted and band-corrected runs (2,500 trajectories each)
  • Along MNIST LDA coordinates, the peak of $\operatorname{Var}[H(c\mid m)]$ sits at a median of $0.88\tau_{\mathrm{bif}}$, a VP-time offset of $-0.07$
  • Excess fraction of the first class over the real-data baseline, mean $\pm$ sd
  • The EDM code and checkpoints (Karras et al., 2022) are licensed CC BY-NC-SA 4.0, and we use them for non-commercial research only
  • All values are medians of 100 paired bootstrap resamples, and the interval is the 95% interval of the ratio