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

DPM-Solver++:扩散概率模型引导采样的快速求解器

DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models

Dept. of Comp. Sci. & Tech., Institute for AI, BNRist Center, THBI Lab(计算机科学与技术系,人工智能研究院,BNRist中心,THBI实验室);Tsinghua-Bosch Joint ML Center, Tsinghua University, Beijing, 100084 China(清华大学-博世联合机器学习中心,清华大学,北京,100084中国);Gaoling School of Artificial Intelligence, Renmin University of China(北京人工智能学院,中国人民大学);Beijing Key Laboratory of Big Data Management and Analysis Methods, Beijing, China(北京大数据管理与分析方法重点实验室,北京,中国)

Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, Jun Zhu

AI总结:

针对现有高阶扩散采样器在引导采样下不稳定、大引导尺度时速度慢于DDIM的问题,提出带阈值化和多步变体的高阶求解器DPM-Solver++,仅需15-20步即可为像素和潜空间DPM生成高质量引导采样样本。

摘要:

扩散概率模型(DPMs)已在高分辨率图像合成领域取得令人瞩目的成果,尤其在近期的大规模文本生成图像应用中表现突出。提升DPMs样本质量的一项核心技术是引导采样,该方法通常需要较大的引导尺度才能获得最佳样本质量。引导采样常用的快速采样器是DDIM——一种一阶扩散常微分方程(ODE)求解器,生成高质量样本通常需要100到250步。尽管近期研究提出了专用高阶求解器,在无引导采样场景下实现了进一步加速,但它们在引导采样中的有效性此前尚未得到充分验证。本研究表明,以往的高阶快速采样器存在不稳定问题,当引导尺度增大时,其速度甚至会慢于DDIM。为进一步加快引导采样速度,我们提出DPM-Solver++,一种适用于DPMs引导采样的高阶求解器。DPM-Solver++通过数据预测模型求解扩散ODE,并采用阈值化方法确保解与训练数据分布相匹配。我们还提出了DPM-Solver++的多步变体,通过减小有效步长来解决不稳定问题。实验表明,对于像素空间和潜空间DPM的引导采样,DPM-Solver++仅需15到20步即可生成高质量样本。

英文摘要:

Diffusion probabilistic models (DPMs) have achieved impressive success in high-resolution image synthesis, especially in recent large-scale text-to-image generation applications. An essential technique for improving the sample quality of DPMs is guided sampling, which usually needs a large guidance scale to obtain the best sample quality. The commonly-used fast sampler for guided sampling is DDIM, a first-order diffusion ODE solver that generally needs 100 to 250 steps for high-quality samples. Although recent works propose dedicated high-order solvers and achieve a further speedup for sampling without guidance, their effectiveness for guided sampling has not been well-tested before. In this work, we demonstrate that previous high-order fast samplers suffer from instability issues, and they even become slower than DDIM when the guidance scale grows large. To further speed up guided sampling, we propose DPM-Solver++, a high-order solver for the guided sampling of DPMs. DPM-Solver++ solves the diffusion ODE with the data prediction model and adopts thresholding methods to keep the solution matches training data distribution. We further propose a multistep variant of DPM-Solver++ to address the instability issue by reducing the effective step size. Experiments show that DPM-Solver++ can generate high-quality samples within only 15 to 20 steps for guided sampling by pixel-space and latent-space DPMs.

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

↑