Scalable Diffusion Models with Transformers

被引:334
作者
Peebles, William [1 ,3 ]
Xie, Saining [2 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
[2] NYU, New York, NY 10003 USA
[3] Meta AI, FAIR Team, Menlo Pk, CA USA
来源
2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV | 2023年
关键词
D O I
10.1109/ICCV51070.2023.00387
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 512 512 and 256 256 benchmarks, achieving a state-of-the-art FID of 2.27 on the latter.
引用
收藏
页码:4172 / 4182
页数:11
相关论文
共 63 条
[1]  
[Anonymous], 2022, CVPR
[2]  
[Anonymous], 2022, P NEURIPS
[3]  
[Anonymous], 2017, 5 INT C LEARN REPR I
[4]   Towards the cold atom analog false vacuum [J].
Braden, Jonathan ;
Johnson, Matthew C. ;
Peiris, Hiranya V. ;
Weinfurtner, Silke .
JOURNAL OF HIGH ENERGY PHYSICS, 2018, (07)
[5]  
Brock A., 2019, Large scale gan training for high fidelity natural image synthesis
[6]  
Brown T.B., 2020, ARXIV
[7]  
Chen Mark, 2020, ICML
[8]  
Child Rewon, 2019, CORR, DOI 10.48550/ARXIV.1904.10509
[9]  
Devlin J, 2019, NAACL HCT
[10]  
Dhariwal Prafulla, 2021, NEURIPS