扩散模型的校正训练
研究论文 · 2026/10/21
扩散模型的迭代采样会因暴露偏差导致误差累积:去噪器在训练时输入的是真实图像与噪声的插值,而推理时输入却来自自身不完美预测的构建,这种训练-推理差距是模型在无额外辅助(如CFG)时表现不佳的原因之一。本文引入校正步骤以减少该差距:校正器以基础模型的预测为输入,并针对相同真实目标训练,使校正成为显式学习任务。采样时,在每个去噪步骤迭代细化去噪器的干净样本预测,从而校正中间步骤的预测,防止早期伪影持续到最终样本。尽管校正器仅用基础去噪器的预测训练,推理时可对其自身输出重复应用以提升效果。该简单框架在保持多样性的同时显著提升样本质量。在DiT、SiT和JiT上的评估表明,该方法大幅改善了无引导生成及尤其困难的无条件生成的FID分数,性能与CFG相当,且与CFG结合可进一步提升多样性并减少CFG典型的过饱和。最后,通过将细化预测蒸馏回基础扩散模型,可摊销额外推理成本,在无额外推理开销下保持质量增益。
该文直击扩散模型暴露偏差这一根本问题,提出简单有效的校正框架,在多个架构上显著提升无引导生成质量,且能与CFG互补并可通过蒸馏消除推理开销,对生成模型的研究与应用具有重要参考价值。
Iterative sampling in diffusion models can lead to error accumulation due to exposure bias. The denoiser is trained on real images interpolated with noise, but at inference its inputs are constructed from its own imperfect predictions from the earlier steps, something it has never seen at training time. This might be one reason diffusion models often struggle without additional help, such as CFG. We introduce a correction step for diffusion models which attempts to reduce this training-inference gap. The corrector takes the base model's prediction as input and is trained against the same ground-truth target. This makes correction an explicit learning task, with training inputs provided by the base model. During sampling, at each denoising step, we iteratively refine the denoiser's clean-sample prediction. This allows us to correct predictions at intermediate denoising steps, preventing early artifacts from persisting into the final sample. Although the corrector is trained only on predictions from the base denoiser, it can be applied repeatedly to its own outputs at inference for better results. This simple framework leads to substantial improvement in sample quality while largely preserving diversity. We evaluate our method across DiT, SiT, and JiT. Our method substantially improves upon previously reported FID scores for unguided generation and, notably, unconditional generation, where producing high-quality samples without guidance has been particularly challenging. Our method achieves performance competitive with classifier-free guidance (CFG), and combining correction with CFG further improves diversity and reduces oversaturation typical of CFG. Finally, we show that the additional inference cost of correction can be amortized by distilling the refined predictions back into the base diffusion model, retaining the quality gains without additional inference-time overhead.