Diffusion Transformers with Representation Autoencoders
这篇论文提出了一种新的表示自动编码器(RAE)用于扩散变换器,通过使用预训练的表示编码器代替传统的VAE编码器,实现了更高质量的图像生成。
更新于 2025-10-14。作者:Boyang Zheng、Nanye Ma、Shengbang Tong、Saining Xie。
中文摘要
潜在生成建模,其中预训练的自动编码器将像素映射到潜在空间以进行扩散过程,已成为扩散Transformer(DiT)的标准策略;然而,自动编码器组件几乎未得到进化。大多数DiT仍然依赖于原始的VAE编码器,这引入了几个限制:过时的骨干网络损害了架构的简洁性,低维的潜在空间限制了信息容量,以及仅基于重建训练产生的弱表示,最终限制了生成质量。在本工作中,我们探索用预训练的表示编码器(例如DINO、SigLIP、MAE)与训练过的解码器替换VAE,我们称之为表示自动编码器(RAE)。这些模型既提供高质量的重建,又允许语义丰富的潜在空间,同时允许可扩展的基于Transformer的架构。由于这些潜在空间通常是高维的,一个关键挑战是使扩散Transformer在它们中有效地运行。我们分析了这种困难的原因,提出了理论上的解决方案,并通过实验验证了它们。我们的方法在没有辅助表示对齐损失的情况下实现了更快的收敛。使用配备轻量级、宽DDT头的DiT变体,我们在ImageNet上实现了强大的图像生成效果:256x256分辨率的FID为1.51(无指导)和1.13(256x256和512x512分辨率,有指导)。RAE提供了明显的优势,应该成为扩散Transformer训练的新默认选项。
英文摘要
Latent generative modeling, where a pretrained autoencoder maps pixels into a latent space for the diffusion process, has become the standard strategy for Diffusion Transformers (DiT); however, the autoencoder component has barely evolved. Most DiTs continue to rely on the original VAE encoder, which introduces several limitations: outdated backbones that compromise architectural simplicity, low-dimensional latent spaces that restrict information capacity, and weak representations that result from purely reconstruction-based training and ultimately limit generative quality. In this work, we explore replacing the VAE with pretrained representation encoders (e.g., DINO, SigLIP, MAE) paired with trained decoders, forming what we term Representation Autoencoders (RAEs). These models provide both high-quality reconstructions and semantically rich latent spaces, while allowing for a scalable transformer-based architecture. Since these latent spaces are typically high-dimensional, a key challenge is enabling diffusion transformers to operate effectively within them. We analyze the sources of this difficulty, propose theoretically motivated solutions, and validate them empirically. Our approach achieves faster convergence without auxiliary representation alignment losses. Using a DiT variant equipped with a lightweight, wide DDT head, we achieve strong image generation results on ImageNet: 1.51 FID at 256x256 (no guidance) and 1.13 at both 256x256 and 512x512 (with guidance). RAE offers clear advantages and should be the new default for diffusion transformer training.
解读
一句话总结
这篇论文提出了一种新的表示自动编码器(RAE)用于扩散变换器,通过使用预训练的表示编码器代替传统的VAE编码器,实现了更高质量的图像生成。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:扩散变换器(DiT)在图像生成领域广泛应用,但其自动编码器组件(如VAE)存在局限性,包括过时的架构、低维潜在空间和弱表示。
- 现有方案不足:VAE编码器引入了过时的架构,导致架构复杂度增加;低维潜在空间限制了信息容量;基于重建的训练导致表示能力弱,限制了生成质量。
- 研究目标:探索使用预训练的表示编码器(如DINO)和训练的解码器来形成RAE,以提高图像生成质量。
问题2:论文的核心创新点是什么?
- 技术创新:提出使用RAE代替VAE作为扩散变换器的编码器,RAE由预训练的表示编码器和解码器组成。
- 方法改进:提出了一种新的DiT变体DiTDH,该变体具有轻量级、宽的DDT头,以解决高维潜在空间中的扩散问题。
- 优势:RAE提供高质量重建和丰富的语义潜在空间,同时允许可扩展的变换器架构;DiTDH在保持计算效率的同时扩展了模型宽度。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在ImageNet数据集上使用RAE和DiTDH进行图像生成。
- 性能提升:RAE在重建和表示质量方面优于VAE;DiTDH在ImageNet上达到了1.51 FID(256×256,无指导)和1.13 FID(256×256和512×512,有指导)。
- 对比结果:RAE在重建和生成质量方面优于VAE;DiTDH在性能和效率方面优于其他扩散模型。
问题4:这个研究的实际应用价值是什么?
- 应用场景:图像生成、图像编辑、视频生成等。
- 实施建议:使用预训练的表示编码器和轻量级解码器构建RAE;使用DiTDH以提高模型宽度和性能。
- 局限与展望:RAE和DiTDH在处理高分辨率图像时可能需要进一步的优化;未来可以探索在更多数据集和任务上应用RAE和DiTDH。