用外部视觉模型对齐扩散模型表示,训练更快生成更好
Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think
- 引入表示对齐正则化,让噪声输入与清晰图像表示对齐
- 训练速度提升17.5倍,40万步达到原700万步性能
- 适合追求高效训练和高质量生成的扩散模型研究者
近期研究表明,扩散模型的去噪过程能在内部生成有意义的判别性表征,但质量仍落后于自监督学习方法。我们指出,大规模扩散模型训练的主要瓶颈在于有效学习这些表征。通过引入简单的正则化方法REPA,将去噪网络中噪声输入的隐藏状态投影与外部预训练视觉编码器获取的清晰图像表示对齐,可显著提升训练效率和生成质量。该方法在DiTs和SiTs等主流扩散与流形变换模型上均取得显著效果:例如,在SiT上训练速度提升超过17.5倍,40万步内达到原700万步训练的性能(无分类器引导);使用分类器引导与引导间隔时,最终生成质量达到FID=1.42,为当前最优水平。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。