On Accelerating Diffusion-Based Sampling Processes via Improved Integration Approximation
Guoqiang Zhang, Kenta Niwa, W. Bastiaan Kleijn
Abstract
A popular approach to sample a diffusion-based generative model is to solve an ordinary differential equation (ODE). In existing samplers, the coefficients of the ODE solvers are pre-determined by the ODE formulation, the reverse discrete timesteps, and the employed ODE methods. In this paper, we consider accelerating several popular ODE-based sampling processes (including EDM, DDIM, and DPM-Solver) by optimizing certain coefficients via improved integration approximation (IIA) We propose to minimize, for each time step, a mean squared error (MSE) function with respect to the selected coefficients. The MSE is constructed by applying the original ODE solver for a set of fine-grained timesteps, which in principle provides a more accurate integration approximation in predicting the next diffusion state. The proposed IIA technique does not require any change of a pre-trained model, and only introduces a very small computational overhead for solving a number of quadratic optimization problems. Extensive experiments show that considerably better FID scores can be achieved by using IIA-EDM, IIA-DDIM, and IIA-DPM-Solver than the original counterparts when the neural function evaluation (NFE) is small (i.e., less than 25). DDIM IIA-DDIM (a) (b) (c) Figure 1: Comparison of DDIM and proposed IIA-DDIM with 10 timesteps for text-to-image generation over StableDiffusion V2. See Table 6 for input texts, Table 1 for FID evaluation, and Figs. 8, 9, 10 for more images.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Linear Multistep Solver Distillation for Fast Sampling of Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Linear Multistep Solver Distillation for Fast Sampling of Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Linear Multistep Solver Distillation for Fast Sampling of Diffusion Models cites Denoising Diffusion Probabilistic Models
- Linear Multistep Solver Distillation for Fast Sampling of Diffusion Models cites Denoising Diffusion Implicit Models
- Improved Denoising Diffusion Probabilistic Models cites Denoising Diffusion Probabilistic Models
- Improved Denoising Diffusion Probabilistic Models cites Denoising Diffusion Implicit Models
- Diffusion Models Beat GANs on Image Synthesis cites Improved Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers1
Builds on18
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
Related papers
- Accelerating Convergence of Score-Based Diffusion Models, ProvablyGen Li, Yu Huang, Timofey Efimov, Yuting Wei et al.ICML 2024 · 75 citations
- Fast ODE-based Sampling for Diffusion Models in Around 5 StepsZhenyu Zhou, Defang Chen, Can Wang, Chun ChenCVPR 2024 · 22 citations
- DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 StepsCheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen et al.NeurIPS 2022 · 2,653 citations
- DPM-Solver-v3: Improved Diffusion ODE Solver with Empirical Model StatisticsKaiwen Zheng, Cheng Lu, Jianfei Chen, Jun ZhuNeurIPS 2023 · 204 citations
- A Unified Sampling Framework for Solver Searching of Diffusion Probabilistic ModelsEnshu Liu, Xuefei Ning, Huazhong Yang, Yu WangICLR 2024 · 15 citations
