Diffusion transformers

Pretrained language models · generative · 2022 · images · video · audio · molecules

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)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted