Adaptive Second-Order Solvers for Fast Stochastic Diffusion Sampling

Ella Kemperman, Luca Ambrogioni
10/2/2026
1 citation
cs.LGcs.CLcs.CV
diffusion-flow

Official code: ellakemperman/adaptive-second-order-diffusion-solvers (3 stars, Jupyter Notebook, GPL-3.0, last commit 2026-09-25).

Abstract

Diffusion models rely on numerical solvers requiring time-discretization, which has a large influence on the tradeoff between sampling cost and quality. However, the computational difficulty of the reverse process varies along the sampling trajectory and across data distributions, making the choice of discretization important.

Show full abstract

We adapt proportional-integral (PI) step-size control to diffusion, using our diffusion noise-normalised error estimator. Unlike existing adaptive methods in diffusion that respond only to the current error, the PI solver also incorporates the previous error, yielding smoother step adaptation. We further show that these per-sample trajectories exhibit shared structure and can be aggregated into a fixed schedule that retains much of the benefit of adaptive sampling. We evaluate both approaches on natural-image and language datasets, in terms of quality, measured by FID at a matched number of neural network evaluations (NFE), comparing them with widely used stochastic solvers and schedules. For images, our fixed discretization outperforms the commonly used EDM schedule in terms of sample quality when used with the stochastic Heun sampler, and with the EDM-churn sampler at low NFE. Additionally, our PI adaptive solver obtains better FID than most stochastic and adaptive baselines, although it does not beat the EDM-churn sampler at low NFE. Moreover, we find our solver outperforms both the EDM and the entropy schedule on language diffusion at low-to-medium NFE in terms of perplexity, with the drawback of lower token entropy. Lastly, we find that the benefit of per-sample adaptivity is problem-dependent. It is highly beneficial in 1D toy examples, while only marginal for image and language data, where the average schedule sometimes even outperforms the PI-adaptive solver. Code is available at https://github.com/ellakemperman/adaptive-second-order-diffusion-solvers

View on arXivView PDF

Code Implementations(1)

GPL-3.0
30Jupyter Notebook, PythonMar 16, 20262 months agoGPL-3.0

Similar Papers

Cite this paper

@article{kemperman2026adaptive,
  title  = {Adaptive Second-Order Solvers for Fast Stochastic Diffusion Sampling},
  author = {Ella Kemperman and Luca Ambrogioni},
  year   = {2026},
  eprint = {2610.03034},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.03034v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.03034.svg)](https://codeofpaper.com/paper/2610.03034)

Discussion