arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.09748cs.CVcs.LG
收藏

带Transformers的可缩放扩散模型

Scalable Diffusion Models with Transformers

UC Berkeley(加州大学伯克利分校);New York University(纽约大学)

William Peebles, Saining Xie

摘要:

我们探索一类新的扩散模型的基础上的Transformer架构。我们训练图像的潜空间扩散模型,用一个在潜在补丁上运行的Transformer代替常用的U-Net主干。我们分析了我们的扩散Transformer(DiTs)的可扩展性,通过镜头的前向通过复杂性测量的Gflops。我们发现,具有更高Gflops的DiT-通过增加Transformer深度/宽度或增加输入令牌的数量-始终具有较低的FID。除了具有良好的可扩展性外,我们最大的DiT-XL/2模型在类条件ImageNet 512 x512和256 x256基准测试中的表现优于所有先前的扩散模型,后者达到了最先进的FID 2.27。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑