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

Faster Diffusion Sampling with Randomized Midpoints: Sequential and Parallel

Shivam Gupta, Linda Cai, Sitan Chen

Introduction

Diffusion models have emerged as the dominant paradigm in generative AI, powering state-of-the-art systems for image generation. However, their inference process is notoriously slow. Generating a single sample requires solving a complex differential equation over dozens or hundreds of sequential steps. In this paper, the authors introduce a novel sampling scheme that achieves the best-known theoretical efficiency for diffusion models, scaling with the dimension as $\tilde{O}(d^{5/12})$ rather than the traditional $\tilde{O}(\sqrt{d})$. Furthermore, the work provides the first provable guarantees for parallel diffusion sampling, demonstrating that high-quality samples can be generated in just $\tilde{O}(\log^2 d)$ parallel rounds.

The Challenge of Diffusion Sampling

From a theoretical standpoint, the number of steps required to guarantee a high-quality sample in diffusion models typically scales with the square root of the data dimension ($\sqrt{d}$). For high-resolution images where $d$ is in the tens or hundreds of thousands, this theoretical cost is massive. Furthermore, while neural network training is highly parallelizable, the sampling phase of diffusion models has remained stubbornly sequential.

This research tackles two fundamental questions:

  1. Reducing Dimension Dependence: Can we theoretically guarantee high-quality samples in fewer than $O(\sqrt{d})$ steps?
  2. Enabling Parallelism: Can we distribute the sampling process across multiple processors to drastically reduce wall-clock time?

Methodology

To overcome these bottlenecks, the authors bridge diffusion models with advanced techniques from the log-concave sampling literature, specifically the Randomized Midpoint Method.

The Randomized Midpoint

Standard solvers, such as Euler methods or the exponential integrators used in DDIM, are inherently biased because they evaluate the "drift" (the score function) only at the beginning of a time step. The randomized midpoint method instead selects a random time $\alpha$ within the step interval, estimates the position at that time, and uses the score at that "midpoint" to update the trajectory. This simple modification yields an unbiased estimate of the integral, significantly reducing discretization error and suppressing the error terms that usually force a $\sqrt{d}$ scaling.

Predictor-Corrector Framework

The algorithm is structured around a Predictor-Corrector framework:

  • Predictor: Utilizes the randomized midpoint method to solve the Probability Flow ODE (the deterministic version of the diffusion process). This efficiently moves the sample close to the target distribution in terms of Wasserstein distance.
  • Corrector: Intersperses the ODE steps with short bursts of Underdamped Langevin Dynamics. This phase "shakes" the sample slightly, ensuring the final distribution strictly matches the target in Total Variation (TV) distance.

Parallel Collocation via Picard Iteration

To achieve parallelism, the authors employ a collocation method. They divide a time window into multiple sub-windows and solve for all of them simultaneously using fixed-point iteration (Picard iteration). Because the reverse-time ODE of a diffusion model is highly contractive, these iterations converge extremely quickly—in logarithmic time relative to the dimension.

Key Results and Empirical Validation

The theoretical breakthroughs of this paper are matched by strong empirical performance:

  • State-of-the-Art Complexity: The paper proves a sampling complexity of $\tilde{O}(d^{5/12})$ for smooth distributions, a strict improvement over the previous best of $\tilde{O}(d^{1/2})$.
  • Logarithmic Parallelism: The authors demonstrate that sampling can be completed in $\tilde{O}(\log^2 d)$ parallel rounds, offering a massive theoretical speedup for high-dimensional spaces.
  • Empirical Performance: The theoretical findings were validated on CIFAR-10 ($32 \times 32$) and CelebAHQ ($256 \times 256$) using publicly available pre-trained DDPM models. In head-to-head tests against standard solvers like DDIM and DDPM, the randomized midpoint scheduler consistently achieved lower FID scores (indicating higher image quality) for the same budget of neural network evaluations (NFE).

Limitations and Future Directions

While the theoretical and empirical results are highly promising, the authors note a few limitations:

  • Smoothness Assumptions: The mathematical proofs rely on the score function being "Lipschitz smooth." Real-world data distributions often contain sharp transitions that might violate this assumption.
  • Score Error Sensitivity: The improved $d^{5/12}$ bound currently requires a slightly more accurate score estimate (by a factor of $d^{1/12}$) compared to previous methods. The authors suspect this may be an artifact of their analysis rather than a fundamental limitation.
  • Hardware Realities: The parallel algorithm relies on a collocation method that requires a large number of processors working in perfect sync. Translating this $\tilde{O}(\log^2 d)$ theoretical bound into practical speedups on real-world GPU/TPU clusters will require overcoming significant communication overheads.

Summary updated

BibTeX
@inproceedings{gupta2025faster,
  author = {Shivam Gupta and Linda Cai and Sitan Chen},
  title = {{Faster Diffusion Sampling with Randomized Midpoints: Sequential and Parallel}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=MT3aOfXIbY},
}
Figure