[论文解读] Catch-Up Distillation: You Only Need to Train Once for Accelerating Sampling
Catch-Up Distillation (CUD) 通过单次训练实现扩散采样加速且无需预训练权重;通过让速度估计器当前输出赶上前一输出的方式,结合 Runge-Kutta 基于多步蒸馏,达到更快的采样。
Diffusion Probability Models (DPMs) have made impressive advancements in various machine learning domains. However, achieving high-quality synthetic samples typically involves performing a large number of sampling steps, which impedes the possibility of real-time sample synthesis. Traditional accelerated sampling algorithms via knowledge distillation rely on pre-trained model weights and discrete time step scenarios, necessitating additional training sessions to achieve their goals. To address these issues, we propose the Catch-Up Distillation (CUD), which encourages the current moment output of the velocity estimation model ``catch up'' with its previous moment output. Specifically, CUD adjusts the original Ordinary Differential Equation (ODE) training objective to align the current moment output with both the ground truth label and the previous moment output, utilizing Runge-Kutta-based multi-step alignment distillation for precise ODE estimation while preventing asynchronous updates. Furthermore, we investigate the design space for CUDs under continuous time-step scenarios and analyze how to determine the suitable strategies. To demonstrate CUD's effectiveness, we conduct thorough ablation and comparison experiments on CIFAR-10, MNIST, and ImageNet-64. On CIFAR-10, we obtain a FID of 2.80 by sampling in 15 steps under one-session training and the new state-of-the-art FID of 3.37 by sampling in one step with additional training. This latter result necessitated only 620k iterations with a batch size of 128, in contrast to Consistency Distillation, which demanded 2100k iterations with a larger batch size of 256. Our code is released at https://anonymous.4open.science/r/Catch-Up-Distillation-E31F.
研究动机与目标
- 促使扩散概率模型 (DPMs) 的采样更快且无需额外训练或预训练教师。
- 引入 Catch-Up Distillation 以让当前与先前 moment 输出对齐,同时匹配真实值。
- 探索连续时间与基于 Runge-Kutta 的策略,在不牺牲稳定性的前提下最大化加速。
提出的方法
- 重新表述 ODE 训练,使速度估计器不仅要与真实值对齐,还要与前一 moment 输出对齐(catch-up)。
- 使用基于 Runge-Kutta 的多步对齐蒸馏,从多个中间步中传播信息。
- 通过重新参数化的噪声编码器及将 MSE 与 KL 项结合的最小蒸馏损失,引入真实监督。
- 在设计空间中探索策略,如非 EMA catch-up 采样、随机步长,以及在基于 UNet 的速度模型中使用动态跳跃连接。
- 提供 RK12/RK23/RK34 变量以在采样速度与样本质量之间取得平衡;与 Rectified Flow、CD 与 PD 基线进行比较。
实验结果
研究问题
- RQ1 Catch-Up Distillation 是否能够在单次训练中实现加速采样且无需预训练权重?
- RQ2哪些基于 Runge-Kutta 的策略最能实现连续时间扩散模型的多步对齐蒸馏?
- RQ3设计选择(随机步长、EMA 使用、动态跳跃连接)如何影响稳定性与样本质量?
- RQ4CUD 相较于现有的一次性训练与两次性蒸馏方法在标准数据集(CIFAR-10、MNIST、ImageNet-64)上的表现如何?
主要发现
- CUD 能在单次训练中实现加速采样且无需预训练权重。
- 在 CIFAR-10 上,CUD 结合 Runge-Kutta 23 + Euler 15 步长达到 FID 2.80 与 IS 9.36,在相似步数预算下优于若干基线。
- CIFAR-10 以 15 步、一次性训练达到 FID 2.80(RK23+Euler 15),而单步采样并附加训练在 620k 次迭代(批量大小 128)时达到 FID 3.37;而 Consistency Distillation 需要 2.1M 次迭代且批量大小为 256。
- 消融表明使用训练模型进行 catch-up 采样(而非 EMA)并采用非固定步长(均匀或规则)以及动态跳跃连接,可以显著提升在少步场景中的表现。
- Runge-Kutta 阶数对结果的影响:RK23 在 CIFAR-10/MNIST 上常常提供最佳权衡;RK34 在某些情境下提供最强加速,MNIST 特别显著受益于 RK34。
- 该方法在少步生成方面优于此前的单次训练方法(如 DPM-solver-2、DDIM 变体),同时保持可接受的样本质量。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。