AI CompendiumA public chart of the language
Home / Foundations / Diffusion Model
Foundations

Diffusion Model

An image generator that learns to reverse a process of adding noise.

Definition

A generative model trained by progressively adding noise to data and learning to undo each step. To generate, it starts from pure noise and denoises, guided by a text prompt.

This is a different family from the transformer-based language models. Image and video generators are usually diffusion; language models are autoregressive.

The mental model worth keeping is "learned reversal of a corruption process". Training shows the model many levels of noise and asks it to undo one step; generation runs that in reverse from pure noise. Text-to-image is that same loop with the prompt biasing each denoising step.

How people use it
Designers picking a tool.
"Diffusion gives us the mockup; the LLM writes the copy. Two different models in one pipeline."
Worked example

Where images come from in an agent pipeline

Generating diagrams for a document that an agent is writing.

The agent produces the spec, the diffusion model produces the pixels. Keep them separate in your architecture: image models have no notion of your facts, so the text has to carry the meaning and the image is decoration unless a human checks it.

Sources
Related terms