All models

consistency_model

A diffusion-style U-Net trained to jump from noise to a clean image in one step.

Diffusion and generative · 1,215 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (39 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
295.9M
Operations
1,215
Framework
PyTorch
Recurrent
No
Published
ICML 2023
Cited by
155 (as of 16 October 2026)
Authors
Yang Song, Prafulla Dhariwal, Mark Chen, Ilya Sutskever
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3862
Graph hash
311b5a46906e4d1ac1557bc59d6f50b25bbafadb1dd1c588b4dac3bfb8a651c4
Skeleton hash
ca0be14f628a806d47391b80aec935dbb703ca60ef2518e319fea2ed4af193ce
Architecture hash
30bba779ec72f5d7415ede1ce27364412bbe5a84bdcbe938030456b3fca51f85
Diagram SHA-256
ef312dbb275a09267d4363351ab9f2f1e6d5e6171e552c028ba62a9f8c077c58
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

The PyTorch release built on openai/guided-diffusion, run here as the ImageNet-64 class-conditional model.

About this model's family

Consistency models are generators that learn to jump from noise straight to a clean image, where a diffusion model would take many small steps. The motivation is speed: diffusion models produce excellent images, audio and video but depend on an iterative sampling process that is slow. One step is built in by design, yet you can still take several steps to trade compute for quality.

The defining property is self-consistency: every point on one trajectory of the probability flow ODE maps to the same starting point. At the smallest noise level the function must be the identity, a boundary condition the paper calls the most confining architectural constraint on consistency models. The network you see is therefore wrapped: the model output is a weighted sum of the noisy input through a skip connection and the free-form network's prediction. That wrapping lets the authors borrow existing diffusion architectures unchanged. They use NCSN++ for CIFAR-10 and the Dhariwal and Nichol networks for ImageNet 64 by 64 and the LSUN 256 by 256 sets.

A consistency model can be distilled from a pretrained diffusion model or trained on its own as a standalone generator. The paper reports one-step FIDs of 3.55 on CIFAR-10 and 6.20 on ImageNet 64x64.

The second captured member is a different method, Consistency Flow Matching, which enforces self-consistency in the velocity field of a flow matching model rather than in sample space. It defines straight flows from different times to the same endpoint and trains in multiple segments for a piece-wise linear trajectory. Its authors report convergence 4.4x faster than consistency models and 1.7x faster than rectified flow.

Key idea. Consistency models map any noisy point on a diffusion trajectory directly to its clean origin, giving one-step generation that beat prior distillation methods and works as a standalone generative family.

  • Consistency Models
  • consistency_model
  • consistency distillation
  • consistency training
  • CD
  • CT
  • one-step generation
  • Consistency Flow Matching
  • Consistency-FM
  • flow matching
  • diffusion
  • Song 2023

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{song2023consistencymodels,
      title={Consistency Models}, 
      author={Yang Song and Prafulla Dhariwal and Mark Chen and Ilya Sutskever},
      year={2023},
      eprint={2303.01469},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2303.01469}, 
}