Diffusion Transformer (DiT)
A Diffusion Transformer (DiT) is a generative architecture that replaces the convolutional U-Net backbone traditionally used in diffusion models with a Transformer, applying the same iterative denoising process to sequences of image (or…
Definition
A Diffusion Transformer (DiT) is a generative architecture that replaces the convolutional U-Net backbone traditionally used in diffusion models with a Transformer, applying the same iterative denoising process to sequences of image (or video) patches instead of pixels processed through convolutions.
Overview
Diffusion models generate content by learning to reverse a gradual noising process: starting from random noise, the model repeatedly predicts and removes a bit of noise until a coherent image or video emerges. Earlier systems like the original Stable Diffusion used a U-Net, a convolutional architecture, as the network that predicts noise at each step. The Diffusion Transformer approach, introduced in a 2022 paper by William Peebles and Saining Xie, instead splits the noisy input into patches — similar to how a Vision Transformer (ViT) treats an image — and processes them with a standard Transformer using self-Attention Mechanism rather than convolutions. The appeal of DiT is that it inherits the scaling properties Transformers have shown in language modeling: performance tends to improve predictably as model size and compute increase, and the architecture benefits from the same optimization tricks and hardware efficiency the broader Transformer ecosystem has developed. DiT-based architectures underpin some of the most capable recent video and image generation systems, since Transformers handle long-range dependencies across space and time more naturally than convolutional networks, which matters for maintaining consistency across video frames. DiT represents part of a broader convergence in generative AI architectures, where the same Transformer backbone increasingly powers text, image, audio, and video generation, differing mainly in how the input is tokenized or patchified and what the training objective is. This is an active and fast-moving research area, and I've kept the specific technical details here general rather than citing exact model names or benchmark numbers I can't verify with confidence.
Key Concepts
- Combines diffusion-based generation with a Transformer backbone instead of a U-Net
- Processes images or video as sequences of patches, similar to Vision Transformers
- Uses self-attention to capture long-range spatial and temporal dependencies
- Exhibits scaling behavior similar to language-model Transformers as compute increases
- Well suited to video generation due to strong handling of temporal consistency
- Represents convergence toward a shared Transformer backbone across modalities