让普通分类器也能稳定指导扩散模型生成图像
Diffusion Classifier Guidance for Non-robust Classifiers
- 用一步去噪预测和动量平均稳定非鲁棒分类器的梯度
- 在CelebA、SportBalls等数据集上验证了非鲁棒分类器在噪声下准确率大幅下降
- 使未加噪训练的普通分类器可直接用于生成引导,拓展应用范围
分类器引导旨在调控扩散过程,使生成的数据点被特定分类器可靠识别为某类别。然而,现有方法多局限于经过扩散前向过程噪声训练的鲁棒分类器。本文将分类器引导扩展至通用的非鲁棒分类器——这些分类器未在噪声下训练。我们在标准CelebA、专用SportBalls及高维真实世界CelebA-HQ数据集上分析了非鲁棒与鲁棒分类器对扩散过程噪声的敏感性。结果表明,非鲁棒分类器在噪声条件下准确率显著下降,导致引导梯度不稳定。为此,我们提出一种方法:利用一步去噪图像预测,并引入受随机优化启发的稳定化技术(如指数移动平均)。实验表明,该方法提升了分类器引导的稳定性,同时保持样本多样性和视觉质量。本工作推动了生成模型中条件采样技术的发展,使更多分类器可用于引导。
原文摘要 · Abstract (English)
Classifier guidance is intended to steer a diffusion process such that a given classifier reliably recognizes the generated data point as a certain class. However, most classifier guidance approaches are restricted to robust classifiers, which were specifically trained on the noise of the diffusion forward process. We extend classifier guidance to work with general, non-robust, classifiers that were trained without noise. We analyze the sensitivity of both non-robust and robust classifiers to noise of the diffusion process on the standard CelebA data set, the specialized SportBalls data set and the high-dimensional real-world CelebA-HQ data set. Our findings reveal that non-robust classifiers exhibit significant accuracy degradation under noisy conditions, leading to unstable guidance gradients. To mitigate these issues, we propose a method that utilizes one-step denoised image predictions and implements stabilization techniques inspired by stochastic optimization methods, such as exponential moving averages. Experimental results demonstrate that our approach improves the stability of classifier guidance while maintaining sample diversity and visual quality. This work contributes to advancing conditional sampling techniques in generative models, enabling a broader range of classifiers to be used as guidance classifiers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。