arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.18828cs.CV
收藏

基于分布匹配蒸馏的一步扩散

One-step Diffusion with Distribution Matching Distillation

Massachusetts Institute of Technology(麻省理工学院);Adobe Research(奥多比研究院)

Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Fredo Durand, William T. Freeman, Taesung Park

AI总结:

本研究提出分布匹配蒸馏(DMD)方法,通过最小化近似KL散度结合回归损失,将扩散模型转化为一步图像生成器,在保证图像质量的同时大幅提升生成速度。

摘要:

扩散模型能够生成高质量图像,但需要数十次前向传播。我们提出了分布匹配蒸馏(Distribution Matching Distillation,DMD)方法,可将扩散模型转化为一步图像生成器,同时将对图像质量的影响降至最低。我们通过最小化近似KL散度,强制一步图像生成器在分布层面与扩散模型匹配,该散度的梯度可表示为两个得分函数的差值,一个对应目标分布,另一个对应我们的一步生成器产生的合成分布。得分函数被参数化为两个分别在各自分布上训练的扩散模型。结合匹配多步扩散输出大规模结构的简单回归损失,我们的方法优于所有已发表的少步扩散方法,在ImageNet 64×64数据集上达到2.62的FID值,在零样本COCO-30k数据集上达到11.49的FID值,性能与Stable Diffusion相当但速度快数个数量级。利用FP16推理,我们的模型在现代硬件上能以20 FPS的速度生成图像。

英文摘要:

Diffusion models generate high-quality images but require dozens of forward passes. We introduce Distribution Matching Distillation (DMD), a procedure to transform a diffusion model into a one-step image generator with minimal impact on image quality. We enforce the one-step image generator match the diffusion model at distribution level, by minimizing an approximate KL divergence whose gradient can be expressed as the difference between 2 score functions, one of the target distribution and the other of the synthetic distribution being produced by our one-step generator. The score functions are parameterized as two diffusion models trained separately on each distribution. Combined with a simple regression loss matching the large-scale structure of the multi-step diffusion outputs, our method outperforms all published few-step diffusion approaches, reaching 2.62 FID on ImageNet 64x64 and 11.49 FID on zero-shot COCO-30k, comparable to Stable Diffusion but orders of magnitude faster. Utilizing FP16 inference, our model generates images at 20 FPS on modern hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑