熵驱动的条件扩散生成采样和训练方案
Entropy-driven Sampling and Training Scheme for Conditional Diffusion Generation
摘要:
去噪扩散概率模型(DDPM)通过引入独立的噪声感知分类器,在去噪过程的每个时间步提供条件梯度指导,能够从先验噪声到真实数据灵活地生成条件图像。然而,由于分类器的能力,很容易区分一个不完全生成的图像只有高层次的结构,梯度,这是一种类别信息的指导,往往会提前消失,导致从条件生成过程崩溃到无条件的过程。为了解决这个问题,我们从两个角度提出了两个简单而有效的方法。对于采样过程,我们引入预测分布的熵作为指导消失水平的度量,并提出了一种熵感知的缩放方法来自适应地恢复条件语义指导。在训练阶段,我们提出了熵感知的优化目标,以减轻对噪声数据的过度自信预测。在ImageNet1000 256x256上,使用我们提出的采样方案和训练的分类器,预训练的条件和无条件DDPM模型分别可以实现10.89%(4.59到4.09)和43.5%(12到6.78)的FID改善。该代码可在https://github.com/ZGCTroy/ED-DPM上获得。
英文摘要:
Denoising Diffusion Probabilistic Model (DDPM) is able to make flexible conditional image generation from prior noise to real data, by introducing an independent noise-aware classifier to provide conditional gradient guidance at each time step of denoising process. However, due to the ability of classifier to easily discriminate an incompletely generated image only with high-level structure, the gradient, which is a kind of class information guidance, tends to vanish early, leading to the collapse from conditional generation process into the unconditional process. To address this problem, we propose two simple but effective approaches from two perspectives. For sampling procedure, we introduce the entropy of predicted distribution as the measure of guidance vanishing level and propose an entropy-aware scaling method to adaptively recover the conditional semantic guidance. For training stage, we propose the entropy-aware optimization objectives to alleviate the overconfident prediction for noisy data.On ImageNet1000 256x256, with our proposed sampling scheme and trained classifier, the pretrained conditional and unconditional DDPM model can achieve 10.89% (4.59 to 4.09) and 43.5% (12 to 6.78) FID improvement respectively. The code is available at https://github.com/ZGCTroy/ED-DPM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。