arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06940cs.CVcs.LG
收藏

生成中的表示对齐:训练扩散Transformer比你想象的更容易

Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think

KAIST(韩国科学技术院);Korea University(高丽大学);Scaled Foundations;New York University(纽约大学)

Sihyun Yu, Sangkyung Kwak, Huiwon Jang, Jongheon Jeong, Jonathan Huang, Jinwoo Shin, Saining Xie

AI总结:

提出表示对齐(REPA)正则化,将扩散Transformer去噪网络的隐藏状态与外部预训练视觉编码器的干净图像表示对齐,显著提升训练效率(SiT加速超17.5倍)和生成质量(FID=1.42)。

摘要:

近期研究表明,(生成式)扩散模型中的去噪过程可以在模型内部诱导出有意义的(判别性)表示,尽管这些表示的质量仍落后于通过近期自监督学习方法学到的表示。我们认为,训练大规模扩散模型用于生成的一个主要瓶颈在于有效学习这些表示。此外,通过引入高质量的外部视觉表示,而不是仅依赖扩散模型独立学习这些表示,可以使训练变得更容易。我们通过引入一种称为表示对齐(REPA)的简单正则化来研究这一点,该正则化将去噪网络中带噪声的输入隐藏状态的投影与从外部预训练视觉编码器获得的干净图像表示对齐。结果令人瞩目:我们的简单策略在应用于流行的扩散和基于流的Transformer(如DiT和SiT)时,在训练效率和生成质量方面均带来了显著提升。例如,我们的方法可以将SiT训练加速超过17.5倍,在不到40万步内匹配(无分类器引导的)SiT-XL模型训练700万步的性能。在最终生成质量方面,我们的方法在使用带有引导间隔的分类器引导时,达到了FID=1.42的最先进结果。

英文摘要:

Recent studies have shown that the denoising process in (generative) diffusion models can induce meaningful (discriminative) representations inside the model, though the quality of these representations still lags behind those learned through recent self-supervised learning methods. We argue that one main bottleneck in training large-scale diffusion models for generation lies in effectively learning these representations. Moreover, training can be made easier by incorporating high-quality external visual representations, rather than relying solely on the diffusion models to learn them independently. We study this by introducing a straightforward regularization called REPresentation Alignment (REPA), which aligns the projections of noisy input hidden states in denoising networks with clean image representations obtained from external, pretrained visual encoders. The results are striking: our simple strategy yields significant improvements in both training efficiency and generation quality when applied to popular diffusion and flow-based transformers, such as DiTs and SiTs. For instance, our method can speed up SiT training by over 17.5$\times$, matching the performance (without classifier-free guidance) of a SiT-XL model trained for 7M steps in less than 400K steps. In terms of final generation quality, our approach achieves state-of-the-art results of FID=1.42 using classifier-free guidance with the guidance interval.

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

↑