DDT
A class-conditional diffusion transformer split into a 22-block condition encoder and a 6-block velocity decoder.
Diffusion and generative · 2,504 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
- 674.6M
- Operations
- 2,504
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2026
- Cited by
- 0 (as of 28 October 2026)
- Authors
- Shuai Wang, Zhi Tian, Weilin Huang, Limin Wang
- Source
- GitHub: MCG-NJU/DDT
- 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
- m15593
- Graph hash
- f58b6f5018162bef4610b67ed376fa2305a1f1c3ccaa2f48409eae864cfd0fa3
- Skeleton hash
- 7306f22e68e407345a6ba74b98afa6e89f07ad42da0d4effce79e235780cd38b
- Architecture hash
- e10282be3cb0eba1fcc3c37e4db568563de315d12fc814a41e45ed8f9c8f9b37
- Diagram SHA-256
- 43c54115c5a15bab44e30294bb0b4c2ba64aad6fc0a915d492e748083ba9058c
- 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
DDT (Decoupled Diffusion Transformer) generates images with a diffusion transformer that is split into two parts, a condition encoder and a velocity decoder. The paper's starting point is that a plain diffusion transformer has to extract abstract structure and recover detailed appearance with the same modules, and that the two jobs conflict during optimization.
The encoder reads the noisy latent, the timestep and the class label and produces a self-condition feature. The decoder takes the noisy latent, the timestep and that feature and estimates the velocity, trained with a flow matching loss. Both parts are stacks of interleaved attention and feed-forward blocks without long residual connections. The authors report that a larger encoder helps more as the model grows, and this model is the DDT-XL/2 configuration with 22 encoder blocks and 6 decoder blocks.
During training an intermediate encoder feature is aligned with a DINOv2 representation, the technique from REPA, which keeps the self-condition consistent between adjacent steps. That consistency allows the encoder output to be shared between adjacent steps at inference. The paper reports an FID of 1.31 on ImageNet 256 × 256 after 256 epochs and 1.28 on ImageNet 512 × 512, and the repository lists 1.26 at 256 × 256 for its released checkpoint.
Key idea. The paper splits the diffusion transformer into a condition encoder that extracts semantic self-condition features and a velocity decoder, and reports faster training convergence on ImageNet.
- DDT
- Decoupled Diffusion Transformer
- DDT-XL/2
- diffusion transformer
- class-conditional image generation
- ImageNet generation
- flow matching
- condition encoder
- velocity decoder
- encoder sharing
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2025ddtdecoupleddiffusiontransformer,
title={DDT: Decoupled Diffusion Transformer},
author={Shuai Wang and Zhi Tian and Weilin Huang and Limin Wang},
year={2025},
eprint={2504.05741},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2504.05741},
}