基于指数积分器的扩散模型快速采样
Fast Sampling of Diffusion Models with Exponential Integrator
摘要:
在过去的几年里,扩散模型~(DMs)在生成式建模任务中生成高保真样本方面取得了巨大的成功。DM的一个主要限制是其出了名的慢采样过程,其通常需要学习扩散过程的数百到数千个时间离散化步骤来达到期望的精度。我们的目标是开发一种快速的采样方法DM的步骤少得多,同时保持高的样品质量。为此,我们系统地分析了话语标记语的抽样过程,找出了影响抽样质量的关键因素,其中离散化方法是最关键的。通过仔细研究学习的扩散过程,我们提出了扩散指数积分采样器~(DEIS)。它基于为离散常微分方程(ODE)而设计的指数积分器,并利用学习扩散过程的半线性结构来减少离散误差。所提出的方法可以应用于任何DM,并可以生成高保真度的样本,在短短的10个步骤。在我们的实验中,在一个A6000 GPU上从CIFAR 10生成$50k$图像大约需要3分钟。此外,通过直接使用预先训练的DM,我们在评分函数评估~(NFE)的数量有限时实现了最先进的采样性能,例如,4.17在CIFAR 10上,FID有10个NFE,3.37 FID和9.74 IS只有15个NFE。代码可在https://github.com/qsh-zh/deis上获得
英文摘要:
The past few years have witnessed the great success of Diffusion models~(DMs) in generating high-fidelity samples in generative modeling tasks. A major limitation of the DM is its notoriously slow sampling procedure which normally requires hundreds to thousands of time discretization steps of the learned diffusion process to reach the desired accuracy. Our goal is to develop a fast sampling method for DMs with a much less number of steps while retaining high sample quality. To this end, we systematically analyze the sampling procedure in DMs and identify key factors that affect the sample quality, among which the method of discretization is most crucial. By carefully examining the learned diffusion process, we propose Diffusion Exponential Integrator Sampler~(DEIS). It is based on the Exponential Integrator designed for discretizing ordinary differential equations (ODEs) and leverages a semilinear structure of the learned diffusion process to reduce the discretization error. The proposed method can be applied to any DMs and can generate high-fidelity samples in as few as 10 steps. In our experiments, it takes about 3 minutes on one A6000 GPU to generate $50k$ images from CIFAR10. Moreover, by directly using pre-trained DMs, we achieve the state-of-art sampling performance when the number of score function evaluation~(NFE) is limited, e.g., 4.17 FID with 10 NFEs, 3.37 FID, and 9.74 IS with only 15 NFEs on CIFAR10. Code is available at https://github.com/qsh-zh/deis
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。