
What happened
The explainer lays out text guidance in three steps — CLIP or T5 encodes the prompt, cross-attention injects it, and CFG amplifies it — with SD3/Flux combining CLIP×2 and T5-XXL.
Why it matters
It corrects the common misconception that T5 draws detailed images; the encoders only supply meaning vectors, and the denoiser produces the picture.
Summaries like this, every morning.
The explainer is built as a follow-up to an earlier introduction to diffusion models, which described text-to-image as "text conditioning plus CFG" in one line; this piece opens that box. Its central division of labour is between understanding and drawing: CLIP's encoder, trained contrastively on roughly 400 million image-text pairs, is grounded in images but shallow as language, while T5's bidirectional encoder is a pure language model that never sees images. SD3/Flux use both — CLIP×2 plus T5-XXL — so their weaknesses offset each other.
The piece traces the denoiser's evolution from a CNN-based U-Net with inserted Transformer blocks toward DiT and MMDiT, which join text and image tokens in a single attention.
The final stage frames CFG as an answer to a specific problem: plain conditional diffusion follows prompts only weakly. Unlike classifier guidance, which needs a separately trained classifier and is limited to class labels, CFG drops the condition during training so one network handles both conditional and unconditional prediction, then amplifies their difference at generation. Negative prompts occupy the same unconditional slot, steering away from unwanted terms.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Google Cloud revenue grew 82% year over year to $24.8 billion last quarter, up from $13.6 billion a year earli…

As Anthropic, Meta, Google, Amazon and Microsoft meet faith leaders — Anthropic cites "more than 15 religious…

Anthropic added to its terms of service a ban on "persistent, targeted abusive or cruel" behavior toward Claud…

The developer behind agentcells, a personal project that splits work into 'cell' units (triage, implement, rev…

The developer wired a Stop hook, Hook-CodexGate.js, that reads the conversation log and blocks Claude Code onc…

inori launched a free site that analyzes X posts to match users to an AI model like GPT, Claude or Gemini
