基于 Transformer 的可扩展扩散模型

Scalable Diffusion Models with Transformers

威廉·皮布尔斯 William Peebles · UC Berkeley / Meta AI · 2022-12-19 · arXiv:2212.09748 ↗ · 被引 6480

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们探索了一类基于 Transformer 架构的新型扩散模型。我们训练图像的潜在扩散模型,用作用于潜在块的 Transformer 替换常用的 U-Net 骨干网络。我们通过前向传播复杂度(以 Gflops 衡量)来分析扩散 Transformer(DiT)的可扩展性。我们发现,具有更高 Gflops 的 DiT——通过增加 Transformer 深度/宽度或增加输入令牌数量——始终具有更低的 FID。除了具有良好的可扩展性外,我们最大的 DiT-XL/2 模型在类别条件 ImageNet 512x512 和 256x256 基准测试中优于所有先前的扩散模型,在后者上实现了 2.27 的最先进 FID。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 10)

阅读逐段中英对照全文 →