Foundation Lab

Consistency Models: One-Step Diffusion

Generates images in 1-2 steps instead of 50-1000 steps

Concept 78 of 100Generative ModelsPhase 4
#78ConsistencyGenerative Models
key equation
f(xt,t)=x0∀tf(x_t, t) = x_0 \quad \forall t
Reading map and next steps

Selected Foundation Object

Keep the equation fixed; move through the evidence.

Concept 78 of 100ConsistencyGenerative Models / Phase 4: Generative modeling families
Current question

Diffusion models trace a path from noise to image; consistency models learn to skip

f(xt,t)=x0∀tf(x_t, t) = x_0 \quad \forall t
PredictionCommit before tracing the equation.

Ask what should change under a concrete input, then trace that expectation through the equation.

EvidenceCompare the equation and source.

Use the key equation and canonical papers as the available witnesses, without implying that a runnable panel exists.

InvariantName what survives notation changes.

The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.

Next moveContinue through the atlas.

Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.

Why It Matters for Modern Models

  • Generates images in 1-2 steps instead of 50-1000 steps
  • Bridges the speed gap between diffusion quality and GAN speed
  • The "distillation" approach: learn to jump directly to the answer

What Tutorials Skip

What is still poorly explained in textbooks and papers:

  • Diffusion models trace a path from noise to image; consistency models learn to skip
  • Self-consistency = "any point on the trajectory should predict the same endpoint"
  • Trade-off: fewer steps = faster but lower quality; find the sweet spot

Visualization Status

Core Math (Optional Deep Dive)

If you want intuition first, start with the key equation and cited sources. Come back here for the full walkthrough.

Key Equation
f(xt,t)=x0∀tf(x_t, t) = x_0 \quad \forall t

Consistency function maps any point on ODE trajectory to origin:

f(xt,t)=x0∀t∈[0,T]f(x_t, t) = x_0 \quad \forall t \in [0, T]

Self-consistency property:

f(xt,t)=f(xt′,t′)for all t,t′ on same trajectoryf(x_t, t) = f(x_{t'}, t') \quad \text{for all } t, t' \text{ on same trajectory}

Training via consistency loss:

L=E[d(f(xt+Δ,t+Δ),f(xt,t))]\mathcal{L} = \mathbb{E}\left[d(f(x_{t+\Delta}, t+\Delta), f(x_t, t))\right]

One-step generation: x0=f(xT,T)x_0 = f(x_T, T) where xT∼N(0,I)x_T \sim \mathcal{N}(0, I).

Canonical Papers

Consistency Models

Song et al.2023ICML
Read paper →

Improved Techniques for Training Consistency Models

Song & Dhariwal2023arXiv
Read paper →

Connections

Next Moves

Choose the next question to carry this object forward.