All models

consistency_flow_matching

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

Diffusion and generative · 818 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 (177 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
61.8M
Operations
818
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
m3861
Graph hash
e00c9d94474be4e7fa6daab3d97ed7d659250308f87a9b507390c074c8ad39d4
Skeleton hash
ebda1a2ee09866f4a04ae642edbef621501403b59f06d0081924ac1f17c70e57
Architecture hash
9d2ffb6561839b7e1669bbe494327fe9d549b727f28d4944dae6ae15733d1134
Diagram SHA-256
552f5681ba20cbb81bd0a59a38e3421f9cdca001a2cb293c8a699bba52c90b35
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

Consistency Flow Matching's own implementation, which adopts the U-Net architecture of DDPM++ as Rectified Flow does.

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}, 
}