Efficient Scaling of Diffusion Transformers for Text-to-Image Generation

Hao Li, Shamit Lal, Zhiheng Li, Yusheng Xie, Ying Wang +7 more
12/16/2024
cs.CVcs.CLcs.LG

No official code found. Best implementation: PixArt-alpha/PixArt-sigma (1,934 stars, Apache-2.0, last commit 2024-10-31).

Abstract

We empirically study the scaling properties of various Diffusion Transformers (DiTs) for text-to-image generation by performing extensive and rigorous ablations, including training scaled DiTs ranging from 0.3B upto 8B parameters on datasets up to 600M images. We find that U-ViT, a pure self-attention based DiT model provides a simpler design and scales more effectively in comparison with cross-attention based DiT variants, which allows straightforward expansion for extra conditions and other modalities. We identify a 2.3B U-ViT model can get better performance than SDXL UNet and other DiT variants in controlled setting. On the data scaling side, we investigate how increasing dataset size and enhanced long caption improve the text-image alignment performance and the learning efficiency.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

PixArt-Σ: Weak-to-Strong Training of Diffusion Transformer for 4K Text-to-Image Generation

1,934100CSS, ShellFeb 29, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2024efficient,
  title  = {Efficient Scaling of Diffusion Transformers for Text-to-Image Generation},
  author = {Hao Li and Shamit Lal and Zhiheng Li and Yusheng Xie and Ying Wang and Yang Zou and Orchid Majumder and R. Manmatha and Zhuowen Tu and Stefano Ermon and Stefano Soatto and Ashwin Swaminathan},
  year   = {2024},
  eprint = {2412.12391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.12391v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.12391.svg)](https://codeofpaper.com/paper/2412.12391)

Discussion