Generating high-quality images from diffusion models typically requires dozens or hundreds of steps. While researchers have developed specialized Ordinary Differential Equation (ODE) solvers like DPM-Solver to speed this up, these methods often hit a floor: they struggle to maintain quality when pushed below 10 steps.
A new wave of research suggests this floor exists because traditional solvers are stationary. They apply the same mathematical update rule—the same Taylor expansion order or the same integration coefficients—at every stage of the denoising process. However, the dynamics of a diffusion model are anything but stationary.
The Problem with Fixed Strategies
In the early stages of diffusion sampling, the model works with high-noise latents to establish global structure. In the final stages, it performs fine-grained refinement on low-noise data.
Enshu Liu, Xuefei Ning, and colleagues argue in A Unified Sampling Framework for Solver Searching of Diffusion Probabilistic Models that the "optimal" solver changes as the generation progresses. A high-order method that is highly accurate in the middle of the trajectory might be unstable at the very beginning or redundant at the very end.
Standard solvers ignore this, applying a uniform mathematical strategy across the entire trajectory. This lack of flexibility forces a trade-off: you either use a simple solver that is stable but inaccurate, or a complex one that is accurate but requires more steps to avoid "overshooting" the data manifold.
Non-Stationary Order Scheduling
One way to solve this is to dynamically change the order of the solver. Wenliang Zhao, Jiwen Lu, and their team introduced UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models, which uses a time-dependent order schedule.
Instead of sticking to a fixed second-order or third-order approximation, UniPC can decrease the order as the noise level drops. This allows the sampler to converge more reliably in extremely low-step regimes (under 10 steps) by matching the solver's complexity to the evolving complexity of the diffusion vector field. Similarly, the Unified Sampling Framework (USF) uses a search algorithm called $S^3$ to automatically discover "solver schedules" that switch strategies at every single timestep, outperforming fixed algorithms without any model retraining.
Learning Bespoke Coefficients
If the "math" of the solver should change at every step, why rely on general-purpose ODE formulas at all? Why not learn the best possible coefficients for a specific model?
This is the intuition behind S4S (Solving for the Solver), developed by Eric Frankel, Jerry Li, and Sitan Chen. In S4S: Solving for a Fast Diffusion Model Solver, the authors treat the solver's coefficients as learnable parameters. By matching the output of a high-quality "teacher" solver (which might take 1000 steps) in just 5 steps, S4S finds the optimal way to combine previous states at each discrete interval.
Similarly, Neta Shaul and Uriel Singer introduced Bespoke Non-Stationary (BNS) Solvers. BNS optimizes a tiny set of parameters—fewer than 200—to find the "perfect" numerical solver for a specific pre-trained model.
Why It Works: Solver Distillation
These methods represent a middle ground between two extremes:
- Standard Solvers: Zero training, but slow (20+ steps).
- Model Distillation: Fast (1-4 steps), but requires expensive retraining of the entire neural network and access to massive datasets.
Non-stationary solvers perform a kind of "solver distillation." They don't change the weights of the diffusion model itself. Instead, they optimize the trajectory through the model. Because the number of parameters in the solver is so small (often just a few coefficients per step), this optimization happens two orders of magnitude faster than model distillation and doesn't require the original training data.
By acknowledging that the denoising process is a sequence of different mathematical problems rather than one continuous one, these bespoke solvers allow models like Stable Diffusion to generate high-quality images in as few as 5 to 10 neural function evaluations (NFEs).