arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.07679cs.CV
收藏

关系扩散蒸馏用于高效图像生成

Relational Diffusion Distillation for Efficient Image Generation

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Weilun Feng, Chuanguang Yang, Zhulin An, Libo Huang, Boyu Diao, Fei Wang, Yongjun Xu

AI总结:

提出关系扩散蒸馏(RDD),通过跨样本关系交互改进扩散模型蒸馏,在1步采样下降低FID 1.47,实现256倍加速。

摘要:

尽管扩散模型在图像生成领域取得了显著性能,但其高推理延迟阻碍了其在计算资源稀缺的边缘设备上的广泛应用。因此,许多免训练采样方法被提出以减少扩散模型所需的采样步数。然而,这些方法在极少的采样步数下表现不佳。得益于知识蒸馏技术的出现,现有的训练方案方法在极低步数下取得了优异的结果。然而,当前方法主要侧重于设计结合知识蒸馏的新型扩散模型采样方法。如何从教师模型中更好地迁移扩散知识是一个更有价值但鲜有研究的问题。为此,我们提出了关系扩散蒸馏(Relational Diffusion Distillation, RDD),一种专门针对扩散模型蒸馏的新型蒸馏方法。与现有方法简单地在像素级别或特征分布上对齐教师和学生模型不同,我们的方法在蒸馏过程中引入了跨样本关系交互,并缓解了多样本交互带来的内存限制。我们的RDD显著增强了扩散模型内渐进式蒸馏框架的有效性。在多个数据集(如CIFAR-10和ImageNet)上的大量实验表明,与最先进的扩散蒸馏方法相比,我们提出的RDD在1步采样下实现了1.47的FID降低,并且相比DDIM策略实现了256倍的加速。代码可在https://github.com/cantbebetter2/RDD获取。

英文摘要:

Although the diffusion model has achieved remarkable performance in the field of image generation, its high inference delay hinders its wide application in edge devices with scarce computing resources. Therefore, many training-free sampling methods have been proposed to reduce the number of sampling steps required for diffusion models. However, they perform poorly under a very small number of sampling steps. Thanks to the emergence of knowledge distillation technology, the existing training scheme methods have achieved excellent results at very low step numbers. However, the current methods mainly focus on designing novel diffusion model sampling methods with knowledge distillation. How to transfer better diffusion knowledge from teacher models is a more valuable problem but rarely studied. Therefore, we propose Relational Diffusion Distillation (RDD), a novel distillation method tailored specifically for distilling diffusion models. Unlike existing methods that simply align teacher and student models at pixel level or feature distributions, our method introduces cross-sample relationship interaction during the distillation process and alleviates the memory constraints induced by multiple sample interactions. Our RDD significantly enhances the effectiveness of the progressive distillation framework within the diffusion model. Extensive experiments on several datasets (e.g., CIFAR-10 and ImageNet) demonstrate that our proposed RDD leads to 1.47 FID decrease under 1 sampling step compared to state-of-the-art diffusion distillation methods and achieving 256x speed-up compared to DDIM strategy. Code is available at https://github.com/cantbebetter2/RDD.

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

↑