Saved in:
Bibliographic Details
Main Authors: Liang, Zhengyang, He, Hao, Yang, Ceyuan, Dai, Bo
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.08184
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911483198177280
author Liang, Zhengyang
He, Hao
Yang, Ceyuan
Dai, Bo
author_facet Liang, Zhengyang
He, Hao
Yang, Ceyuan
Dai, Bo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08184
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Laws For Diffusion Transformers
Liang, Zhengyang
He, Hao
Yang, Ceyuan
Dai, Bo
Computer Vision and Pattern Recognition
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.
title Scaling Laws For Diffusion Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.08184