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

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

Abstract

Diffusion Probabilistic Models (DPMs) have revolutionized image synthesis but face a significant "speed vs. quality" trade-off. While guided sampling improves image alignment with prompts, it complicates the underlying Ordinary Differential Equation (ODE), often causing fast high-order solvers to become unstable. DPM-Solver++ introduces a high-order ODE solver specifically designed for guided diffusion, enabling high-quality generation in just 15–20 steps while ensuring numerical stability.

Introduction

Guided sampling is the backbone of modern diffusion tools like Stable Diffusion, using a "guidance scale" to enforce adherence to text prompts. However, this guidance makes the sampling ODE "stiff" and difficult to solve. Standard stable samplers like DDIM require over 100 steps to converge, while previous fast high-order solvers often produce distorted or saturated artifacts when guidance is increased. DPM-Solver++ addresses these issues through a novel parameterization and integration strategy.

Methodology: Stability through Data-Prediction

The authors identify that the instability in previous solvers stems from approximating noise ((\epsilon)) in a high-guidance regime. DPM-Solver++ shifts this paradigm with three key innovations:

  1. Data-Prediction Parameterization: By solving the ODE based on the model's prediction of the clean data ((x_0)) rather than noise, the solver becomes naturally bounded and numerically stable.
  2. Thresholding Integration: Dynamic thresholding is integrated directly into the solver to prevent the "over-exposure" artifacts common in guided diffusion by keeping pixel values within a valid range.
  3. Multistep Variant (DPM-Solver++(2M)): This version reuses previous model evaluations to take more accurate steps without increasing the total computational cost (Number of Function Evaluations, or NFE).
A high-quality image of a squirrel monkey generated using DPM-Solver++, demonstrating the sharp details and natural color balance achieved in few steps.

Key Results and Performance

Evaluated on ImageNet and MS-COCO (Stable Diffusion), DPM-Solver++ demonstrates state-of-the-art efficiency:

  • Massive Speedup: It achieves high-quality results in 15–20 steps, compared to the 100–250 steps typically required by DDIM.
  • Superior Stability: At high guidance scales (e.g., 8.0), where previous solvers like PNDM fail and produce unusable results, DPM-Solver++ maintains high fidelity.
An example of the distorted and unusable results produced by previous high-order solvers under high guidance scales, which DPM-Solver++ successfully resolves.

Conclusion

DPM-Solver++ provides a robust framework for fast guided diffusion. By prioritizing numerical stability through data-prediction and thresholding, it allows for high-fidelity image generation at a fraction of the usual computational cost. Future research may explore combining this solver with model distillation to achieve near real-time sampling performance.

Summary updated

BibTeX
@article{lu2025dpm,
  author = {Cheng Lu and Yuhao Zhou and Fan Bao and Jianfei Chen and Chongxuan Li and Jun Zhu},
  title = {{DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models}},
  journal = {Mach. Intell. Res.},
  year = {2025},
  doi = {10.1007/s11633-025-1562-4},
}
Figure