Diffusion transformers
What it is
The diffusion U-Net replaced by a transformer operating on latent patches, with adaptive normalization for the timestep.
When to use it
State-of-the-art image and video generation (DiT, Sora-class video, SD3) and protein structure (AlphaFold3).
Caveats
Compute grows quadratically with the number of image patches, so high resolution is expensive even in latent space. They typically need more data and compute than U-Nets to pay off, and still need many sampling steps unless distilled.
Key ideas
- Replaces the U-Net in a diffusion model with a transformer over latent patches
- Timestep and class or text conditioning enter through adaptive normalization or attention
- Quality improves steadily as model size and compute grow
- The backbone of recent image and video generators
Related architectures
Original paper
Scalable Diffusion Models with Transformers (2022, arXiv)