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

S4S: Solving for a Fast Diffusion Model Solver

Eric Frankel, Sitan Chen, Jerry Li, Pang Wei Koh, Lillian J. Ratliff, Sewoong Oh

Introduction

Diffusion models (DMs) have set a new standard for generative modeling, producing stunningly detailed images. However, this quality comes at a steep computational cost. DMs generate samples by starting from random noise and iteratively solving a reverse-time Ordinary Differential Equation (ODE). Each step in this iterative process requires a Neural Function Evaluation (NFE)—a computationally expensive pass through a large neural network.

To accelerate generation, researchers have attempted to operate in a "low-NFE regime," reducing the number of steps required. Unfortunately, traditional ODE solvers (such as Euler or Runge-Kutta methods) are built on the mathematical assumption of infinitesimally small steps. When constrained to only 5 or 10 steps, the step sizes become massive, causing the Taylor-series approximations underlying these solvers to break down. Attempting to track the true mathematical trajectory of the ODE under these conditions is fundamentally flawed. Instead, the focus must shift from tracking the exact path to accurately reaching the final destination.

The S4S Methodology

To overcome the limitations of traditional solvers, the authors introduce S4S (Solving for the Solver), a lightweight, training-free approach that treats the solver's coefficients as learnable parameters rather than fixed mathematical constants.

S4S operates on several core principles:

  • Solver Distillation: Rather than relying on textbook mathematical coefficients, S4S employs a "teacher" solver running at a high NFE count (e.g., 20+ steps) to generate high-quality target images. A "student" solver then learns a set of coefficients that allows it to produce matching images in far fewer steps (e.g., 4–8 steps).
  • The Relaxed Objective: Forcing a student model to match an exact image from a specific noise starting point ($x_T$) creates a difficult optimization landscape. S4S introduces a "relaxed" objective: the student only needs to find a starting point within a tiny radius of $x_T$ that yields the teacher's result. This significantly smooths the optimization process.
  • Time-Dependent Coefficients: Traditional solvers apply the same logic at every step. S4S, however, learns unique coefficients for each step, adapting to the changing dynamics of the image as it becomes progressively denoised.
  • S4S-Alt: Building on the base method, S4S-Alt uses alternating optimization to find both the optimal solver coefficients and the best "discretization schedule" (the specific time-steps chosen for evaluation).

Crucially, S4S is both data-free and model-agnostic. It does not require access to the original training data or modifications to the diffusion model's weights. It simply optimizes the sampling wrapper, making it highly efficient—often requiring less than an hour on a single A100 GPU to find optimal coefficients.

Experimental Validation and Results

The authors evaluated S4S across a diverse array of pre-trained models to demonstrate its universality. Testing included pixel-space models (CIFAR-10, FFHQ, AFHQv2), latent-space models (ImageNet, LSUN-Bedroom), and text-to-image models (Stable Diffusion v1.4 on MS-COCO).

Across all settings, S4S and S4S-Alt consistently outperformed traditional solvers like DPM-Solver++ and UniPC. Key achievements include:

  • CIFAR-10: An FID of 3.73 using only 5 NFEs.
  • MS-COCO (Stable Diffusion): An FID of 13.26 at 5 NFEs, representing a massive leap in quality over traditional methods that typically struggle to produce coherent images at such low step counts.
  • Overall Efficiency: S4S delivers a 1.5× improvement in sample quality relative to previous training-free ODE methods.

A major insight from these results is that the design space of solver coefficients is vastly under-explored. While previous research heavily prioritized the step schedule, S4S proves that optimizing how those steps are combined is equally critical. Furthermore, these gains are orthogonal to other improvements; plugging S4S on top of state-of-the-art schedules still yields significant quality boosts.

Limitations and Future Directions

While S4S establishes a new state-of-the-art for training-free sampling, it has a few limitations. The learned coefficients are strictly NFE-specific; coefficients optimized for a 5-step generation cannot be reused for a 10-step run. Additionally, the current method optimizes coefficients at the dataset level. The authors note that developing "sample-level" coefficients—adapting the solver dynamically for individual images—could unlock even greater performance. Finally, while S4S leads the training-free category, it still slightly trails the absolute best training-based distillation methods (like Consistency Models), which require massive compute and access to the original training data.

Summary updated

BibTeX
@inproceedings{frankel2025s,
  author = {Eric Frankel and Sitan Chen and Jerry Li and Pang Wei Koh and Lillian J. Ratliff and Sewoong Oh},
  title = {{S4S: Solving for a Fast Diffusion Model Solver}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=dLnqycz4BO},
}
Figure