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

DPM-Solver-v3:利用经验模型统计量改进的扩散ODE求解器

DPM-Solver-v3: Improved Diffusion ODE Solver with Empirical Model Statistics

Tsinghua University(清华大学);Institute for AI(人工智能研究院);BNRist Center(北京信息科学与技术国家研究中心);THBI Lab(清华-伯克利深圳学院实验室);Tsinghua-Bosch Joint ML Center(清华-博世机器学习联合研究中心);Shengshu Technology(生数科技);Pazhou Lab (Huangpu)(琶洲实验室(黄埔))

Kaiwen Zheng, Cheng Lu, Jianfei Chen, Jun Zhu

AI总结:

本文提出DPM-Solver-v3,通过最小化一阶离散化误差的最优参数化公式和预训练模型上的经验模型统计量,结合多步方法与预测-校正框架,在5至10次NFE下显著提升扩散模型采样速度与质量。

摘要:

扩散概率模型(DPMs)在高保真图像生成方面表现出色,但采样效率较低。近期工作通过提出利用DPM特定ODE形式的快速ODE求解器来加速采样过程。然而,这些方法在推理过程中高度依赖特定的参数化方式(如噪声/数据预测),这可能并非最优选择。在本工作中,我们提出了一种新的公式化方法,旨在寻找采样过程中的最优参数化方式,以最小化ODE解的一阶离散化误差。基于该公式化方法,我们提出了DPM-Solver-v3,这是一种新的DPM快速ODE求解器,通过引入若干可在预训练模型上高效计算的系数(我们称之为经验模型统计量)来实现。我们进一步结合了多步方法和预测-校正框架,并提出了一些在小函数评估次数(NFE)或大引导尺度下提高样本质量的技术。实验表明,DPM-Solver-v3在像素空间和潜在空间DPM的无条件采样和条件采样中均取得了一致更好或相当的性能,尤其是在5至10次NFE的情况下。我们在无条件CIFAR10上取得了12.21(5 NFE)和2.51(10 NFE)的FID,在Stable Diffusion上取得了0.55(5 NFE,7.5引导尺度)的MSE,与先前最先进的无训练方法相比,实现了15%至30%的加速。代码可在https://github.com/thu-ml/DPM-Solver-v3获取。

英文摘要:

Diffusion probabilistic models (DPMs) have exhibited excellent performance for high-fidelity image generation while suffering from inefficient sampling. Recent works accelerate the sampling procedure by proposing fast ODE solvers that leverage the specific ODE form of DPMs. However, they highly rely on specific parameterization during inference (such as noise/data prediction), which might not be the optimal choice. In this work, we propose a novel formulation towards the optimal parameterization during sampling that minimizes the first-order discretization error of the ODE solution. Based on such formulation, we propose DPM-Solver-v3, a new fast ODE solver for DPMs by introducing several coefficients efficiently computed on the pretrained model, which we call empirical model statistics. We further incorporate multistep methods and a predictor-corrector framework, and propose some techniques for improving sample quality at small numbers of function evaluations (NFE) or large guidance scales. Experiments show that DPM-Solver-v3 achieves consistently better or comparable performance in both unconditional and conditional sampling with both pixel-space and latent-space DPMs, especially in 5$\sim$10 NFEs. We achieve FIDs of 12.21 (5 NFE), 2.51 (10 NFE) on unconditional CIFAR10, and MSE of 0.55 (5 NFE, 7.5 guidance scale) on Stable Diffusion, bringing a speed-up of 15%$\sim$30% compared to previous state-of-the-art training-free methods. Code is available at https://github.com/thu-ml/DPM-Solver-v3.

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

↑