
consistency_model
Diffusion and generative1,215 ops295.9M params
A diffusion-style U-Net trained to jump from noise to a clean image in one step.
Diffusion and generative · 818 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}