Classifier-Free Guidance

A technique for guiding diffusion (and related) generative models toward a conditioning signal without a separate classifier, by combining conditional and unconditional score estimates to amplify the conditioning effect.

Method

Train with condition dropout; during sampling use s_uncond + w*(s_cond-s_uncond), with w>1 extrapolating beyond the conditional score.

Applications

Text-to-image generation, class-conditional generation, any conditional diffusion model needing stronger adherence to the condition, controllable generative AI.

Advantages

Simple and effective; no classifier needed.

Limitations

Stronger guidance can reduce diversity, distort the sampled distribution, and introduce artifacts; adherence and perceptual quality are not monotonically improved.

Alternatives

Classifier guidance, CLIP guidance, fine-tuning for controllability, prompt engineering, latent space editing.

Editorial clarification

Primary method selected from the source bundle; related approaches are alternatives, not aliases.

Sources

Educational reference only, not professional advice.

All algorithms