NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DC-Solver: Improving Predictor-Corrector Diffusion Sampler via Dynamic Compensation

Wenliang Zhao, Haolin Wang, Jie Zhou, Jiwen Lu

Abstract

Diffusion Probabilistic Models (DPMs) have achieved remarkable success in generative tasks but suffer from slow sampling speeds. While fast samplers like DPM-Solver++ and UniPC reduce the number of steps to 10-20, predictor-corrector frameworks within these samplers often face a "misalignment" issue between the noise estimate and the corrected state. This paper introduces DC-Solver, a novel training-free sampler that employs a Dynamic Compensation (DC) strategy to rectify this misalignment. By using Lagrange interpolation and optimized compensation ratios, DC-Solver significantly enhances image quality in ultra-fast sampling regimes (5-10 steps) without increasing computational overhead.

Introduction

The primary bottleneck for the widespread deployment of diffusion models is their inference latency. Recent advancements have treated diffusion sampling as solving an Ordinary Differential Equation (ODE), enabling high-quality generation in fewer steps. However, popular predictor-corrector frameworks introduce a trajectory error: the model's noise estimate is typically calculated at the predicted state before correction. Re-calculating noise after correction would double the Number of Function Evaluations (NFE), negating the benefits of fast sampling. DC-Solver addresses this by estimating the corrected noise through a computationally efficient compensation mechanism.

Methodology

The core of DC-Solver lies in its two-stage approach: Dynamic Compensation and Ratio Optimization.

Dynamic Compensation (DC)

Instead of a costly re-evaluation, DC-Solver utilizes Lagrange interpolation of previous model outputs to approximate the noise at the corrected state. This process is governed by a "compensation ratio" ($\rho_i$), which balances the predicted and interpolated noise estimates.

Searching and Predicting Optimal Ratios

The optimal compensation ratios are not static; they vary across sampling steps. The authors propose a two-step solution:

  1. Search: Ratios are optimized on a minimal set of 10 datapoints by minimizing the $L_2$ distance between the fast sampling trajectory and a 999-step "ground truth" trajectory.
  2. Cascade Polynomial Regression (CPR): To generalize across different settings, CPR is used to instantly predict ideal ratios for any given NFE and Classifier-Free Guidance (CFG) scale.
Overview of the DC-Solver framework, illustrating the search for the dynamic compensation ratio and the sampling process.

Experimental Results

DC-Solver was evaluated on standard benchmarks including FFHQ, LSUN, and Stable Diffusion (v1.4, v1.5, v2.1, SDXL).

Quantitative Performance

In the ultra-fast regime (5 steps), DC-Solver demonstrates a significant lead over state-of-the-art samplers. On FFHQ, it achieved an FID of 10.38 at 5 steps, compared to UniPC's 18.66. For Stable Diffusion 2.1 at 5 steps (CFG=7.5), it reached an MSE of 0.394, indicating much higher fidelity to the ground truth trajectory than its competitors.

Qualitative Analysis

Visual comparisons highlight DC-Solver's ability to maintain sharp details and structural integrity at very low step counts, where other samplers often produce blurriness or artifacts.

Visual results demonstrating high-quality image generation at low step counts.

Conclusion and Future Work

DC-Solver provides a highly efficient, "plug-and-play" enhancement for predictor-corrector diffusion samplers. By fixing the mathematical misalignment in the sampling trajectory, it enables state-of-the-art performance in the 5-10 step range. Future work will focus on extending this dynamic compensation logic to stochastic (SDE-based) samplers, which currently present challenges for the $L_2$-based optimization used in this framework.

Summary updated

BibTeX
@inproceedings{zhao2024dc,
  author = {Wenliang Zhao and Haolin Wang and Jie Zhou and Jiwen Lu},
  title = {{DC-Solver: Improving Predictor-Corrector Diffusion Sampler via Dynamic Compensation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73247-8\_26},
}
Figure