[论文解读] Improved Techniques for Training Consistency Models
该论文通过从教师网络移除 EMA、使用伪Huber损失代替 LPIPS,以及引入对数正态噪声计划和离散化课程来改进一致性训练,在不进行蒸馏的情况下实现了一步和两步采样的状态性 FID 提升。
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 imes 64$ respectively in a single sampling step. These scores mark a 3.5$ imes$ and 4$ imes$ 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.
研究动机与目标
- 推动改进 CT,使其达到或超过一致性蒸馏(CD),且不依赖预训练扩散模型。
- 在训练和评估中消除来自学习度量(如 LPIPS)的偏差和依赖。
- 开发提升一步采样质量的训练课程和噪声调度,同时保持可扩展性。
- 提供对 CT 的更深入理论理解,并解决先前分析中被忽视的缺陷。
提出的方法
- 从教师网络中消除指数移动平均(EMA),以修正先前 CT 分析中的缺陷。
- 用伪-Huber损失替代 LPIPS,作为稳健且无度量的训练目标。
- 为 CT 目标引入基于对数正态分布的噪声计划。
- 采用一个课程,在训练期间按间隔将总离散化步数翻倍,以提高数据效率。
- 证明在 CIFAR-10 和 ImageNet 64x64 上,采用这些改动的 CT 在一步和两步采样中均超越 CD。
实验结果
研究问题
- RQ1在不依赖扩散模型预训练的情况下,一致性训练(CT)是否能够达到比一致性蒸馏(CD)更高的采样质量?
- RQ2从教师网络中移除 EMA 是否可以解决 CT 分析中的理论缺陷并提升实际性能?
- RQ3像伪-Huber这样的稳健损失和对数正态噪声调度是否在没有 LPIPS 等学习度量的情况下改进 CT?
- RQ4离散化步数安排和训练课程如何影响一步和多步采样的质量?
主要发现
- 在一步采样中,采用所提改动的 CT 达到了 CIFAR-10 的 FID 2.51 和 ImageNet 64x64 的 FID 3.25。
- 两步采样将 FID 提升至 2.24(CIFAR-10)和 2.77(ImageNet 64x64),在一步和两步设置均优于 CD。
- 用伪-Huber损失替代 LPIPS,消除了对学习度量的依赖并降低评估偏差。
- 对数正态噪声计划和离散化步数课程显著提升了样本质量和训练效率。
- 采用这些改进的 CT 方法优于先前的 CT,并与无蒸馏的顶级扩散模型和 GAN 相媲美。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。