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.
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(北京大数据管理与分析方法重点实验室,北京,中国)
Accelerating Diffusion Sampling with Optimized Time Steps
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Electronic Science and Technology of China(电子科技大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)
GAS: Improving Discretization of Diffusion ODEs via Generalized Adversarial Solver
HSE University(俄罗斯高等经济学院);Lomonosov Moscow State University(莫斯科罗蒙诺索夫莫斯科国立大学);FusionBrain Lab(FusionBrain实验室);Moscow Independent Research Institute of Artificial Intelligence(莫斯科独立人工智能研究所)
Stable and Near-Reversible Diffusion ODE Solvers for Image Editing
Department of Computing, Imperial College London, London, United Kingdom(帝国理工学院伦敦分校计算机系,伦敦,英国);Department of Mathematics, Imperial College London, London, United Kingdom(帝国理工学院伦敦分校数学系,伦敦,英国)
MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE Solvers
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所);DAMO Academy, Alibaba Group(阿里巴巴达摩院);Hupan Laboratory(湖畔实验室)
Parallel Diffusion Solver via Residual Dirichlet Policy Optimization
AGI lab, Westlake University(西溪大学AGI实验室);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Nanyang Technological University(南洋理工大学);Shanghai Jiao Tong University(上海交通大学);University of Science and Technology of China(中国科学技术大学)
Adaptive Stochastic Coefficients for Accelerating Diffusion Sampling
AGI Lab, Westlake University(西交大实验室,西湖大学);Nanyang Technological University(南洋理工大学);University of Chinese Academy of Sciences(中国科学院大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Tongji University(同济大学)