atlas

Research map / Image generation / Fast diffusion sampling

What does guidance do? A fine-grained analysis in a simple setting

NeurIPS 2024 · Image generation › Fast diffusion sampling · approach: Diffusion theory and learned samplers · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Rigorously shows that diffusion guidance does not sample the tilted distribution, characterizing its dynamics on mixtures of compactly supported distributions and Gaussian mixtures, and showing that score error plus large guidance pushes samples off-support.

Problem

Diffusion guidance is widely used to sample from a data distribution tilted by a conditional likelihood, but it is unclear what distribution guidance actually samples from and why large guidance weights degrade samples.

Approach

Rigorously prove that the guided probability flow ODE does not sample the tilted distribution and give a fine-grained trajectory analysis on simple mixtures: with large guidance, samples concentrate at the edge of the conditional support (compact case) or drift to infinity at rate sqrt(w) (Gaussian case); arbitrarily small score error can push samples off-support for large w.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase guidance strengthProbability flow ODE on synthetic mixture of uniforms · Synthetic mixture of uniformssample concentrationHelped
Increase guidance beyond w = 3Probability flow ODE on synthetic mixture of uniforms · Synthetic mixture of uniformssample fidelityHurt
Use guidance strength w = 3Probability flow ODE on synthetic mixture of uniforms · Synthetic mixture of uniformssample fidelityHelped
Increase guidance strengthProbability flow ODE on 2-D Gaussian mixture · 2-D Gaussian mixturepositive x-coordinate samplesHelped
Increase guidance strengthProbability flow ODE on 2-D Gaussian mixture · 2-D Gaussian mixturenumerical stabilityHurt
Use guidance strength s = 5ImageNet one-vs-all guidance experiment · ImageNet classes where the paper reports this choice works wellsample qualityHelped
Use guidance strength s = 5ImageNet one-vs-all guidance experiment · ImageNet classes with support error at s = 5support errorHurt
Increase guidance strengthImageNet one-vs-all guidance experiment · ImageNet basketball classsupport errorMixed
Use the direction between positive- and negative-class meansImageNet guidance experiment · ImageNet basketball classsample qualityHurt

Surprising findings

Limitations

Experimental setup

Datasets: MNIST ImageNet synthetic mixture of uniforms synthetic mixture of Gaussians

Benchmarks: MNIST one-vs-all ImageNet class-conditional

Metrics: support error (fraction of samples outside class support) sample distortion

Baselines: unguided conditional sampler tilted distribution sampling

Builds on: probability flow ODE classifier-free guidance Wu et al. guidance analysis Bradley and Nakkiran guidance analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy