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

潜变量一致性模型的改进训练技术

Improved Training Technique for Latent Consistency Models

Rutgers University(罗格斯大学);Movian AI(莫维安人工智能公司);Monash University(莫纳什大学)

Quan Dao, Khanh Doan, Di Liu, Trung Le, Dimitris Metaxas

AI总结:

针对潜变量空间中离群值导致一致性训练性能下降的问题,提出Cauchy损失、扩散损失、最优传输耦合及自适应缩放调度器等改进,成功训练出单步或两步高质量采样的潜变量一致性模型,缩小了与扩散模型的性能差距。

摘要:

一致性模型是一类新型生成模型,能够在单步或多步中生成高质量样本。近期,一致性模型展现了令人瞩目的性能,在像素空间中取得了与扩散模型相当的结果。然而,将一致性训练扩展到大规模数据集(特别是文本到图像和视频生成任务)的成功,取决于其在潜变量空间中的表现。在本工作中,我们分析了像素空间与潜变量空间之间的统计差异,发现潜变量数据通常包含高度脉冲性的离群值,这显著降低了iCT在潜变量空间中的性能。为解决此问题,我们将Pseudo-Huber损失替换为Cauchy损失,有效减轻了离群值的影响。此外,我们在早期时间步引入扩散损失,并采用最优传输(OT)耦合以进一步提升性能。最后,我们引入了自适应缩放-c调度器来管理稳健训练过程,并在架构中采用非缩放层归一化(Non-scaling LayerNorm)以更好地捕捉特征统计并减少离群值影响。通过这些策略,我们成功训练了能够以一步或两步进行高质量采样的潜变量一致性模型,显著缩小了潜变量一致性与扩散模型之间的性能差距。实现代码已发布在:https://github.com/quandao10/sLCT/

英文摘要:

Consistency models are a new family of generative models capable of producing high-quality samples in either a single step or multiple steps. Recently, consistency models have demonstrated impressive performance, achieving results on par with diffusion models in the pixel space. However, the success of scaling consistency training to large-scale datasets, particularly for text-to-image and video generation tasks, is determined by performance in the latent space. In this work, we analyze the statistical differences between pixel and latent spaces, discovering that latent data often contains highly impulsive outliers, which significantly degrade the performance of iCT in the latent space. To address this, we replace Pseudo-Huber losses with Cauchy losses, effectively mitigating the impact of outliers. Additionally, we introduce a diffusion loss at early timesteps and employ optimal transport (OT) coupling to further enhance performance. Lastly, we introduce the adaptive scaling-$c$ scheduler to manage the robust training process and adopt Non-scaling LayerNorm in the architecture to better capture the statistics of the features and reduce outlier impact. With these strategies, we successfully train latent consistency models capable of high-quality sampling with one or two steps, significantly narrowing the performance gap between latent consistency and diffusion models. The implementation is released here: https://github.com/quandao10/sLCT/

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

↑