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

Fast Diffusion Model(快速扩散模型)

Fast Diffusion Model

Sea AI Lab(Sea人工智能实验室);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学)

Zike Wu, Pan Zhou, Kenji Kawaguchi, Hanwang Zhang

AI总结:

该研究提出Fast Diffusion Model(FDM),将动量引入扩散过程并通过阻尼振荡系统推导噪声扰动核,可适配VP、VE等主流扩散框架,在图像合成性能相当的同时将训练成本减半、采样步数减至1/3。

摘要:

扩散模型(DMs)凭借其捕捉复杂数据分布的卓越能力,已被广泛应用于多个领域。本文提出一种Fast Diffusion Model(FDM,快速扩散模型),从随机优化的角度显著提升扩散模型的训练与采样速度。我们首先发现,扩散模型的扩散过程与随机时变问题上的随机梯度下降(SGD)的随机优化过程相一致。随后,受动量SGD(同时利用梯度和额外动量项,实现比SGD更快、更稳定的收敛)的启发,我们将动量项整合到扩散模型的扩散过程中。这一思路面临一个独特挑战:需要从基于动量的扩散过程中推导出噪声扰动核。为此,我们将该过程建模为阻尼振荡系统,其临界阻尼状态——即核的解——避免了振荡,并使扩散过程具备更快的收敛速度。实验结果表明,我们的FDM可应用于多种主流扩散模型框架,例如VP、VE和EDM;在CIFAR-10、FFHQ和AFHQv2数据集上,FDM在图像合成性能相当的情况下,将训练成本降低了约50%。此外,在使用相同采样器的条件下,FDM将采样步数减少了约3倍即可达到相近的性能。代码已公开于https://github.com/sail-sg/FDM。

英文摘要:

Diffusion models (DMs) have been adopted across diverse fields with its remarkable abilities in capturing intricate data distributions. In this paper, we propose a Fast Diffusion Model (FDM) to significantly speed up DMs from a stochastic optimization perspective for both faster training and sampling. We first find that the diffusion process of DMs accords with the stochastic optimization process of stochastic gradient descent (SGD) on a stochastic time-variant problem. Then, inspired by momentum SGD that uses both gradient and an extra momentum to achieve faster and more stable convergence than SGD, we integrate momentum into the diffusion process of DMs. This comes with a unique challenge of deriving the noise perturbation kernel from the momentum-based diffusion process. To this end, we frame the process as a Damped Oscillation system whose critically damped state -- the kernel solution -- avoids oscillation and yields a faster convergence speed of the diffusion process. Empirical results show that our FDM can be applied to several popular DM frameworks, e.g., VP, VE, and EDM, and reduces their training cost by about 50% with comparable image synthesis performance on CIFAR-10, FFHQ, and AFHQv2 datasets. Moreover, FDM decreases their sampling steps by about 3x to achieve similar performance under the same samplers. The code is available at https://github.com/sail-sg/FDM.

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

↑