Diffusion transformer (DiT)
A diffusion transformer is an image or video generator that uses a transformer, instead of the older convolutional U-Net, as the network that learns to remove noise, working on small patches of a compressed image or video.
Diffusion models make pictures by starting from random noise and cleaning it up over many steps, guided by a neural network trained to predict what the clean version should look like. For years that network was usually a U-Net, a convolutional design. A diffusion transformer keeps the same diffusion process but swaps the U-Net for a transformer, the architecture behind large language models.
The term comes from a December 2022 paper by William Peebles and Saining Xie, Scalable Diffusion Models with Transformers. Their models worked on a compressed, or latent, version of each image, cut into small patches that the transformer treated as tokens, much as a language model treats word pieces. They found a clear pattern: models that spent more computation on each pass, whether through a bigger transformer or more patches, produced better images. Their largest model, DiT-XL/2, scored an FID of 2.27 on the class-conditional ImageNet 256x256 benchmark, the best result at the time.
That predictable scaling is the main reason the design spread. Labs already knew how to train transformers at very large sizes, and DiT let image and video generation follow the same playbook. OpenAI's February 2024 technical report on Sora stated plainly that Sora is a diffusion transformer. It compresses video into a latent representation, cuts it into spacetime patches that serve as tokens, and treats a still image as a video with one frame. Working in patches let it train on videos and images of different lengths, resolutions and shapes.
Later designs adjusted the recipe. A March 2024 paper by Patrick Esser, Robin Rombach and colleagues, Scaling Rectified Flow Transformers for High-Resolution Image Synthesis, used a transformer with separate weights for image and text tokens that pass information in both directions, which the authors credited with better text understanding and typography. It also replaced the classic diffusion objective with rectified flow, a form of flow matching.
In practice, seeing DiT in a model description tells you what kind of network does the denoising. It does not tell you how the model was trained, what data it saw or how large it is. Unlike a chatbot, a diffusion transformer does not produce its output one piece at a time: it refines every patch of the image or clip together at each step, and more patches mean more computation, which is part of why long, high-resolution video remains expensive to generate.
Both use the same diffusion process of removing noise step by step. The difference is the network that predicts the clean image: a U-Net is built from convolutional layers, while a diffusion transformer splits the image into patches and processes them with attention. The 2022 DiT paper showed transformers scale predictably for this job. Yes. OpenAI's February 2024 technical report on Sora described it as a diffusion transformer that works on spacetime patches of compressed video. Treating video as patches let it train on clips with different durations, resolutions and aspect ratios. No. A language model writes its answer token by token, each depending on the last. A diffusion transformer handles all the patches of an image or video at once and improves the whole thing over a series of denoising steps.Common questions
What is the difference between a diffusion transformer and a U-Net diffusion model?
Is Sora a diffusion transformer?
Does a diffusion transformer generate one token at a time like a chatbot?
Search for "diffusion transformer DiT", "Scalable Diffusion Models with Transformers" or "latent diffusion transformer video" to follow the architecture. The most reliable sources are the original papers on arXiv and the technical reports that image and video labs publish with their models. Product announcements often name the architecture without details, so look for the accompanying paper or model card.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.