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

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

Improved Techniques for Training Consistency Models

OpenAI

Yang Song, Prafulla Dhariwal

AI总结:

提出无需蒸馏的一致性训练改进技术,通过移除EMA、采用Pseudo-Huber损失、引入对数正态噪声调度及加倍离散化步数,在CIFAR-10和ImageNet 64x64上显著提升单步和两步采样的FID分数,缩小与最先进生成模型的差距。

摘要:

一致性模型是一类新兴的生成模型,能够在无需对抗训练的情况下单步生成高质量数据。当前的一致性模型通过从预训练扩散模型蒸馏并采用如LPIPS等学习到的度量指标来实现最佳样本质量。然而,蒸馏将一致性模型的质量限制在预训练扩散模型的水平,且LPIPS在评估中引入了不理想的偏差。为应对这些挑战,我们提出了一致性训练的改进技术,使一致性模型直接从数据中学习而无需蒸馏。我们深入探讨了一致性训练背后的理论,并发现了一个此前被忽视的缺陷,我们通过从教师一致性模型中移除Exponential Moving Average来解决该问题。为了替代像LPIPS这样的学习度量,我们采用了稳健统计中的Pseudo-Huber损失。此外,我们为一致性训练目标引入了对数正态噪声调度,并提议每设定数量的训练迭代将总离散化步数加倍。结合更好的超参数调优,这些修改使一致性模型在单步采样下于CIFAR-10和ImageNet 64x64上分别实现了2.51和3.25的FID分数。与先前的一致性训练方法相比,这些分数标志着3.5倍和4倍的提升。通过两步采样,我们进一步将这两个数据集上的FID分数降至2.24和2.77,在单步和两步设置下均超越了通过蒸馏获得的结果,同时缩小了一致性模型与其他最先进生成模型之间的差距。

英文摘要:

Consistency models are a nascent family of generative models that can sample high quality data in one step without the need for adversarial training. Current consistency models achieve optimal sample quality by distilling from pre-trained diffusion models and employing learned metrics such as LPIPS. However, distillation limits the quality of consistency models to that of the pre-trained diffusion model, and LPIPS causes undesirable bias in evaluation. To tackle these challenges, we present improved techniques for consistency training, where consistency models learn directly from data without distillation. We delve into the theory behind consistency training and identify a previously overlooked flaw, which we address by eliminating Exponential Moving Average from the teacher consistency model. To replace learned metrics like LPIPS, we adopt Pseudo-Huber losses from robust statistics. Additionally, we introduce a lognormal noise schedule for the consistency training objective, and propose to double total discretization steps every set number of training iterations. Combined with better hyperparameter tuning, these modifications enable consistency models to achieve FID scores of 2.51 and 3.25 on CIFAR-10 and ImageNet $64\times 64$ respectively in a single sampling step. These scores mark a 3.5$\times$ and 4$\times$ improvement compared to prior consistency training approaches. Through two-step sampling, we further reduce FID scores to 2.24 and 2.77 on these two datasets, surpassing those obtained via distillation in both one-step and two-step settings, while narrowing the gap between consistency models and other state-of-the-art generative models.

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

↑