Index Ai Academy
Glossary · Phase 5 · Transformers

Classifier-free guidance

Also written: guidance scale

Asking a denoiser twice at each step, with and without the condition, and exaggerating the difference by a chosen scale so the output follows the condition more closely.

Try it now

Press Next. Each arrow is a guess for the same pixel pair. Guided = no-label guess + scale × (with-label guess − no-label guess).

Learn it properly

Diffusion 3: images, labels and guidance · From points to small images, a label the denoiser can be asked with, and classifier-free guidance: why a model that is told what to draw still often doesn't, how the guidance scale fixes it, and what it breaks when turned up too far. About 45 minutes.

Other terms from the same lesson

  • conditioning: Giving a generative model an extra input, such as a label or a prompt's vectors, so a particular kind of output can be asked for.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 5 · lesson 45 min

Diffusion 3: images, labels and guidance

From points to small images, a label the denoiser can be asked with, and classifier-free guidance: why a model that is told what to draw still often doesn't, how the guidance scale fixes it, and what it breaks when turned up too far.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write