arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.05927cs.CV
收藏

一种用于扩散模型加速采样的简单早退框架

A Simple Early Exiting Framework for Accelerated Sampling in Diffusion Models

KRAFTON(克拉夫顿);Graduate School of AI, KAIST(韩国科学技术院人工智能研究生院);Naver AI Lab(Naver AI实验室);AITRICS

Taehong Moon, Moonseok Choi, EungGu Yun, Jongmin Yoon, Gayoung Lee, Jaewoong Cho, Juho Lee

AI总结:

针对扩散模型采样速度慢的问题,提出基于时间相关退出调度的早退框架,自适应跳过分数估计网络部分参数,在不损失图像质量的前提下提升采样吞吐量,且可与各类求解器无缝集成。

摘要:

扩散模型已在图像、视频、文本、音频等多个领域的生成问题中展现出卓越性能。扩散模型的一个实际瓶颈是采样速度,原因在于推理过程中需要反复评估分数估计网络。本研究提出一种新型框架,能够自适应分配分数估计所需的计算资源,从而减少扩散模型的总采样时间。我们观察到,分数估计所需的计算量可能随待估计分数对应的时间步而变化。基于这一观察,我们提出一种早退方案:在推理过程中,依据时间相关的退出调度表,跳过分数估计网络中的部分参数。在图像合成任务的扩散模型上的实验表明,该方法可显著提升扩散模型的采样吞吐量,且不会降低图像质量。此外,我们还证明该方法可与各类求解器无缝集成以实现更快采样,借助二者的兼容性提升整体效率。源代码与实验结果可访问https://github.com/taehong-moon/ee-diffusion获取。

英文摘要:

Diffusion models have shown remarkable performance in generation problems over various domains including images, videos, text, and audio. A practical bottleneck of diffusion models is their sampling speed, due to the repeated evaluation of score estimation networks during the inference. In this work, we propose a novel framework capable of adaptively allocating compute required for the score estimation, thereby reducing the overall sampling time of diffusion models. We observe that the amount of computation required for the score estimation may vary along the time step for which the score is estimated. Based on this observation, we propose an early-exiting scheme, where we skip the subset of parameters in the score estimation network during the inference, based on a time-dependent exit schedule. Using the diffusion models for image synthesis, we show that our method could significantly improve the sampling throughput of the diffusion models without compromising image quality. Furthermore, we also demonstrate that our method seamlessly integrates with various types of solvers for faster sampling, capitalizing on their compatibility to enhance overall efficiency. The source code and our experiments are available at \url{https://github.com/taehong-moon/ee-diffusion}

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

↑