Scalable Diffusion Models with Transformers

Abstract

We explore a new class of diffusion models based on the transformer architecture. We train latent diffusion models of images, replacing the commonly-used U-Net backbone with a transformer that operates on latent patches. We analyze the scalability of our Diffusion Transformers (DiTs) through the lens of forward pass complexity as measured by Gflops. We find that DiTs with higher Gflops---through increased transformer depth/width or increased number of input tokens---consistently have lower FID. In addition to possessing good scalability properties, our largest DiT-XL/2 models outperform all prior diffusion models on the class-conditional ImageNet 512x512 and 256x256 benchmarks, achieving a state-of-the-art FID of 2.27 on the latter.

Cite

Text

Peebles and Xie. "Scalable Diffusion Models with Transformers." International Conference on Computer Vision, 2023. doi:10.1109/ICCV51070.2023.00387

Markdown

[Peebles and Xie. "Scalable Diffusion Models with Transformers." International Conference on Computer Vision, 2023.](https://mlanthology.org/iccv/2023/peebles2023iccv-scalable/) doi:10.1109/ICCV51070.2023.00387

BibTeX

@inproceedings{peebles2023iccv-scalable,
  title     = {{Scalable Diffusion Models with Transformers}},
  author    = {Peebles, William and Xie, Saining},
  booktitle = {International Conference on Computer Vision},
  year      = {2023},
  pages     = {4195-4205},
  doi       = {10.1109/ICCV51070.2023.00387},
  url       = {https://mlanthology.org/iccv/2023/peebles2023iccv-scalable/}
}