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

Adaptive Stochastic Coefficients for Accelerating Diffusion Sampling

Ruoyu Wang, Beier Zhu, Junzhi Li, Liangyu Yuan, Chi Zhang

Abstract

Diffusion models have revolutionized generative modeling but remain computationally expensive due to the iterative nature of their sampling processes. While Ordinary Differential Equation (ODE) solvers offer speed, they are prone to accumulating gradient errors. Conversely, Stochastic Differential Equation (SDE) solvers provide error-correcting resilience but typically require many steps to avoid discretization errors. This paper introduces AdaSDE, a framework that utilizes learnable, per-step stochastic coefficients to optimize the balance between deterministic and stochastic sampling. By employing a lightweight distillation process, AdaSDE achieves state-of-the-art image quality in as few as 5 steps, significantly outperforming existing few-step samplers across various benchmarks.

1. Introduction

Generating high-quality data from diffusion models involves reversing a noise-injection process. This is mathematically formulated as solving a differential equation. Currently, practitioners face a persistent trade-off between sampling speed and image quality, dictated by the choice of solver:

  • ODE Solvers: These deterministic solvers are efficient, often requiring only 10–50 steps. However, they suffer from "gradient error"—the discrepancy between the neural network's predicted score and the true data distribution. Once a trajectory deviates due to this error, an ODE solver has no mechanism to correct it.
  • SDE Solvers: By injecting noise during sampling, SDEs can correct errors and improve sample diversity. However, they are traditionally slow. In "low-budget" regimes (under 10 steps), the discretization error resulting from large step sizes often overwhelms the benefits of stochasticity, leading to poor results.

AdaSDE addresses this gap by introducing an adaptive approach that maintains the speed of ODEs while leveraging the error-correcting properties of SDEs.

2. Theoretical Framework

2.1 Error Decomposition

The core motivation for AdaSDE stems from a theoretical analysis of sampling errors. The authors prove that SDEs possess a "contraction" effect that can reduce the impact of gradient errors. However, this benefit is countered by the exponential growth of discretization error when the step size ($\Delta t$) is large.

2.2 Learnable Stochastic Coefficients

To navigate this trade-off, AdaSDE replaces fixed noise schedules with an adaptive stochastic coefficient ($\gamma_i$) for each denoising step $i$. Instead of manually tuning these schedules, $\gamma$ is treated as a learnable parameter. Remarkably, the entire sampling sequence can be optimized using only 8–40 parameters, making the approach extremely lightweight.

3. The AdaSDE Method

3.1 Process-Supervision Distillation

To optimize the stochastic coefficients, AdaSDE employs a distillation strategy. A high-quality, high-step solver acts as a "teacher," generating reference trajectories. The "student" (AdaSDE) is then trained to align its intermediate steps with the teacher's path. This is achieved using a simple Mean Squared Error (MSE) loss, ensuring the student learns the optimal amount of noise to inject at each specific step to remain on the correct manifold.

3.2 Universal Integration

AdaSDE is designed as a modular plug-in. It can be integrated into existing high-performance solvers, such as DPM-Solver, to enhance their performance in ultra-low step regimes without requiring a full retraining of the underlying diffusion model.

4. Experimental Results

4.1 Quantitative Performance

AdaSDE was evaluated across pixel-space models (CIFAR-10, FFHQ, ImageNet), latent-space models (LSUN Bedroom), and high-resolution text-to-image models (Stable Diffusion v1.5, Flux.1-dev). Key results include:

  • CIFAR-10: Achieved an FID score of 4.18 at 5 NFE, nearly doubling the performance of the previous state-of-the-art, AMED-Solver (FID 7.59).
  • FFHQ: Reached an FID of 8.05 at 5 NFE.
  • LSUN Bedroom: Achieved an FID of 6.96 at 5 NFE.
  • Stable Diffusion: Outperformed DPM-Solver++ and AMED-Plugin at 8 and 10 steps on the MS-COCO benchmark.

4.2 Efficiency and Consistency

The authors observed that diffusion trajectories share consistent low-dimensional geometric structures across different solvers. This "geometric consistency" allows AdaSDE to be optimized very quickly—typically requiring only 5–20 minutes on a single GPU to tune coefficients for a new dataset.

5. Discussion and Limitations

While AdaSDE provides significant gains, it faces certain challenges. If the learned $\gamma$ is too high or the step size is too large, local errors can amplify, potentially leading to image collapse. To mitigate this, the authors implement "clipping" to keep $\gamma$ within a stable range. Additionally, because AdaSDE resets the distribution at each step via noise injection, it breaks some mathematical assumptions used in specific multistep solvers (like iPNDM), limiting direct compatibility with those architectures.

6. Conclusion

AdaSDE represents a significant step forward in efficient diffusion sampling. By transforming stochasticity from a fixed hyperparameter into a learnable, adaptive component, it successfully bridges the gap between ODE and SDE solvers. The result is a fast, robust, and easily integrated method that sets new standards for image quality in the ultra-low NFE regime.

Summary updated

BibTeX
@inproceedings{wang2025adaptive,
  author = {Ruoyu Wang and Beier Zhu and Junzhi Li and Liangyu Yuan and Chi Zhang},
  title = {{Adaptive Stochastic Coefficients for Accelerating Diffusion Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=F8K6emqT6G},
}
Figure