Index Ai Academy
Glossary · Phase 5 · Transformers

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.

To ask for something, the network needs to be told what was asked. This is conditioning: an extra input that travels with the noisy image at every step. Here it is the label, written as four on/off numbers: one for each kind, and a fourth meaning "no label given".

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

  • classifier-free guidance: 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.
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