CTM
CTM generates ImageNet 64x64 images in one or a few steps by jumping along the diffusion probability flow ODE.
Diffusion and generative · 1,596 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.
At a glance
- Parameters
- 324.1M
- Operations
- 1,596
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 17 (as of 24 October 2026)
- Authors
- Dongjun Kim, Chieh-Hsin Lai, Wei-Hsiang Liao and others
- Source
- GitHub: sony/ctm
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m15199
- Graph hash
- 9630e4396d0108cb8f19c1210e61aa02db922b703014d1c40538f8ed1eb7dccd
- Skeleton hash
- 0c3f265210cb6bcae5f44056a80676f08db9ec478a09ace702caf6f7a4349569
- Architecture hash
- 0687ca8aafb0fa790bd5fdcf346809508ba7322d1064ad5a5a6c2b1106d2fad8
- Diagram SHA-256
- 71184444c13435ddcef314e7f4e24a2c1957f390f342d23931c4b860eb3f3482
- 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 Trajectory Model (CTM) is a diffusion-based image generator that generalizes two earlier approaches, Consistency Models (CM) and score-based models, which it contains as special cases. The paper's starting point is that CM speeds up diffusion sampling at the cost of sample quality and has no natural way to trade quality for speed.
CTM trains a single neural network that, in one forward pass, can output scores (gradients of log-density) and can also move between any initial and final time along the Probability Flow ODE of a diffusion process. Training combines adversarial training with a denoising score matching loss. The same network supports new sampling schemes, deterministic and stochastic, that take long jumps along the ODE solution trajectories.
For single-step sampling the paper reports FID 1.73 on CIFAR-10 and FID 1.92 on ImageNet at 64x64 resolution. It also reports that sample quality keeps improving as the computational budget increases, avoiding the degradation seen in CM. The official repository is the PyTorch implementation of the ImageNet 64x64 model.
Key idea. CTM trains one network that outputs scores and can move between any two times on the probability flow ODE, generalizing consistency models and score-based models.
- ctm
- consistency trajectory model
- consistency trajectory models
- single-step diffusion sampling
- few-step image generation
- probability flow ode
- imagenet 64x64 generation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{kim2024consistencytrajectorymodelslearning,
title={Consistency Trajectory Models: Learning Probability Flow ODE Trajectory of Diffusion},
author={Dongjun Kim and Chieh-Hsin Lai and Wei-Hsiang Liao and Naoki Murata and Yuhta Takida and Toshimitsu Uesaka and Yutong He and Yuki Mitsufuji and Stefano Ermon},
year={2024},
eprint={2310.02279},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2310.02279},
}