Scaling Laws For Diffusion Transformers

Zhengyang Liang, Hao He, Ceyuan Yang, Bo Dai
10/10/2024
cs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Diffusion transformers (DiT) have already achieved appealing synthesis and scaling properties in content recreation, e.g., image and video generation. However, scaling laws of DiT are less explored, which usually offer precise predictions regarding optimal model size and data requirements given a specific compute budget. Therefore, experiments across a broad range of compute budgets, from 1e17 to 6e18 FLOPs are conducted to confirm the existence of scaling laws in DiT for the first time. Concretely, the loss of pretraining DiT also follows a power-law relationship with the involved compute. Based on the scaling law, we can not only determine the optimal model size and required data but also accurately predict the text-to-image generation loss given a model with 1B parameters and a compute budget of 1e21 FLOPs. Additionally, we also demonstrate that the trend of pre-training loss matches the generation performances (e.g., FID), even across various datasets, which complements the mapping from compute to synthesis quality and thus provides a predictable benchmark that assesses model performance and data quality at a reduced cost.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liang2024scaling,
  title  = {Scaling Laws For Diffusion Transformers},
  author = {Zhengyang Liang and Hao He and Ceyuan Yang and Bo Dai},
  year   = {2024},
  eprint = {2410.08184},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.08184v2}
}

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/2410.08184.svg)](https://codeofpaper.com/paper/2410.08184)

Discussion