Skip to main content
QUICK REVIEW

[Paper Review] SA-Solver: Stochastic Adams Solver for Fast Sampling of Diffusion Models

Shuchen Xue, Mingyang Yi|arXiv (Cornell University)|Sep 10, 2023
Bayesian Methods and Mixture ModelsComputer Science6 citations
TL;DR

This paper proposes SA-Solver, a novel stochastic Adams method for fast and high-quality sampling in diffusion probabilistic models. By introducing a variance-controlled family of diffusion SDEs and leveraging an efficient linear multi-step SDE solver, SA-Solver achieves state-of-the-art FID scores across multiple benchmarks with fewer function evaluations (NFEs), outperforming both deterministic and existing stochastic samplers, especially under low-NFE settings and with partially trained models.

ABSTRACT

Diffusion Probabilistic Models (DPMs) have achieved considerable success in generation tasks. As sampling from DPMs is equivalent to solving diffusion SDE or ODE which is time-consuming, numerous fast sampling methods built upon improved differential equation solvers are proposed. The majority of such techniques consider solving the diffusion ODE due to its superior efficiency. However, stochastic sampling could offer additional advantages in generating diverse and high-quality data. In this work, we engage in a comprehensive analysis of stochastic sampling from two aspects: variance-controlled diffusion SDE and linear multi-step SDE solver. Based on our analysis, we propose extit{SA-Solver}, which is an improved efficient stochastic Adams method for solving diffusion SDE to generate data with high quality. Our experiments show that extit{SA-Solver} achieves: 1) improved or comparable performance compared with the existing state-of-the-art (SOTA) sampling methods for few-step sampling; 2) SOTA FID on substantial benchmark datasets under a suitable number of function evaluations (NFEs). Code is available at https://github.com/scxue/SA-Solver.

Motivation & Objective

  • To address the inefficiency and quality limitations of existing training-free sampling methods for diffusion models.
  • To explore the potential of stochastic sampling in generating higher-quality, diverse data compared to deterministic solvers.
  • To improve sampling efficiency by designing a new family of variance-controlled diffusion SDEs with adjustable noise scales.
  • To develop an efficient linear multi-step SDE solver that matches or exceeds the performance of existing ODE solvers.
  • To achieve state-of-the-art generation quality under low NFE settings without requiring additional model training.

Proposed method

  • Proposes a family of diffusion SDEs with the same marginal distribution as the original but with controllable noise scale (variance) via a tunable parameter τ.
  • Adapts the stochastic Adams method from [29] to solve the resulting SDEs by incorporating exponentially weighted integrals specific to diffusion processes.
  • Introduces a theoretical convergence order analysis for the proposed stochastic Adams solver to ensure numerical stability and accuracy.
  • Employs a linear multi-step framework to improve efficiency and reduce the number of function evaluations (NFEs) required for sampling.
  • Calibrates the noise scale τ to balance diversity and quality, enabling controlled trade-offs in generation.
  • Uses the same reverse process as standard DPMs but with enhanced numerical integration via the proposed SA-Solver.

Experimental results

Research questions

  • RQ1Can stochastic sampling with controlled noise variance improve generation quality in diffusion models compared to deterministic solvers?
  • RQ2How can an efficient linear multi-step SDE solver be designed to match or exceed the performance of existing ODE solvers in terms of NFE efficiency?
  • RQ3What is the optimal trade-off between noise scale (τ) and sampling quality (measured by FID) across different NFE levels?
  • RQ4Does the proposed method maintain superior performance when the diffusion model is not fully trained, indicating robustness to model capacity?
  • RQ5Can a training-free, stochastic solver achieve state-of-the-art FID scores with minimal function evaluations?

Key findings

  • SA-Solver achieves state-of-the-art FID scores on all benchmark datasets (CIFAR-10, LSUN-Bedroom, ImageNet) under a suitable number of function evaluations (NFEs), outperforming both deterministic and stochastic baselines.
  • Under extremely low NFEs (e.g., 5–10), SA-Solver achieves FID scores comparable to or better than existing state-of-the-art methods such as DDIM, DPM-Solver, and UniPC.
  • On the LSUN-Bedroom 256x256 dataset, SA-Solver achieves a minimum FID of 3.06 at NFE=60, outperforming all baselines including EDM(SDE) and UniPC.
  • For the ImageNet 512x512 DiT model with classifier-free guidance, SA-Solver generates more diverse and detailed samples than DDIM and UniPC at NFE=60.
  • When the model is not fully trained, SA-Solver maintains superior performance compared to deterministic samplers, indicating robustness to model capacity.
  • Ablation studies confirm that increasing the noise scale τ (up to τ=1.0) improves sample quality at low NFEs, with optimal performance observed at τ=0.8–1.0 on most benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.