Classifier-Free Guidance

What is Classifier-Free Guidance?

A technique used in diffusion models to control how closely the generated image follows the text prompt. It works by interpolating between the predictions of a conditional model (prompted) and an unconditional model (unprompted), allowing users to trade off diversity for prompt adherence.

Where did the term "Classifier-Free Guidance" come from?

Introduced by Ho and Salimans (2022) to improve sample quality without needing a separate classifier.

How is "Classifier-Free Guidance" used today?

The standard method controlling the 'CFG Scale' slider found in almost all AI art tools (Stable Diffusion, Midjourney).

Related Terms