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

重建与生成:驯服潜在扩散模型中的优化困境

Reconstruction vs. Generation: Taming Optimization Dilemma in Latent Diffusion Models

Huazhong University of Science and Technology(华中科技大学)

Jingfeng Yao, Bin Yang, Xinggang Wang

AI总结:

针对潜在扩散模型中高维潜在空间优化困难的问题,本文提出将视觉分词器潜在空间与视觉基础模型对齐的VA-VAE,并配套构建LightningDiT,在ImageNet 256x256生成上取得SOTA性能,收敛速度较原始DiT提升超21倍。

摘要:

采用Transformer架构的潜在扩散模型在生成高保真图像方面表现出色。然而,近期研究揭示了这种两阶段设计中的优化困境:虽然提高视觉分词器中每个token的特征维度能够改善重建质量,但需要显著更大的扩散模型和更多的训练迭代才能达到可比的生成性能。因此,现有系统往往只能接受次优方案,要么因分词器内部的信息损失而产生视觉伪影,要么因高昂的计算成本而无法完全收敛。我们认为,这一困境源于学习无约束高维潜在空间的固有困难。为解决该问题,我们提出在训练视觉分词器时将潜在空间与预训练视觉基础模型对齐。我们提出的VA-VAE(Vision foundation model Aligned Variational AutoEncoder,视觉基础模型对齐的变分自编码器)显著拓展了潜在扩散模型的重建-生成前沿,使扩散Transformer(DiT)在高维潜在空间中能够更快收敛。为充分发挥VA-VAE的潜力,我们构建了一个增强的DiT基线,采用改进的训练策略和架构设计,命名为LightningDiT。该集成系统在ImageNet 256x256生成任务上取得了最先进(SOTA)性能,FID分数为1.35,同时展现出卓越的训练效率——仅用64个epoch就达到2.11的FID分数,相比原始DiT实现了超过21倍的收敛加速。模型和代码可在以下地址获取:https://github.com/hustvl/LightningDiT。

英文摘要:

Latent diffusion models with Transformer architectures excel at generating high-fidelity images. However, recent studies reveal an optimization dilemma in this two-stage design: while increasing the per-token feature dimension in visual tokenizers improves reconstruction quality, it requires substantially larger diffusion models and more training iterations to achieve comparable generation performance. Consequently, existing systems often settle for sub-optimal solutions, either producing visual artifacts due to information loss within tokenizers or failing to converge fully due to expensive computation costs. We argue that this dilemma stems from the inherent difficulty in learning unconstrained high-dimensional latent spaces. To address this, we propose aligning the latent space with pre-trained vision foundation models when training the visual tokenizers. Our proposed VA-VAE (Vision foundation model Aligned Variational AutoEncoder) significantly expands the reconstruction-generation frontier of latent diffusion models, enabling faster convergence of Diffusion Transformers (DiT) in high-dimensional latent spaces. To exploit the full potential of VA-VAE, we build an enhanced DiT baseline with improved training strategies and architecture designs, termed LightningDiT. The integrated system achieves state-of-the-art (SOTA) performance on ImageNet 256x256 generation with an FID score of 1.35 while demonstrating remarkable training efficiency by reaching an FID score of 2.11 in just 64 epochs--representing an over 21 times convergence speedup compared to the original DiT. Models and codes are available at: https://github.com/hustvl/LightningDiT.

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

↑