Abstract
Diffusion models are powerful but slow due to their inherently sequential sampling nature. We present Self-Refining Diffusion Samplers (SRDS), a novel algorithm that parallelizes the denoising process across the time dimension using the Parareal integration method. SRDS achieves significant speedups—up to 4.3x on long trajectories and 1.7x on Stable Diffusion v2—without retraining models or sacrificing image quality. By trading parallel compute for reduced latency, SRDS breaks the sequential bottleneck of modern generative AI.
Introduction
Diffusion models have revolutionized generative AI, yet they face a significant "speed limit." Generating a single high-fidelity image often requires evaluating a massive neural network 50 to 1,000 times in a row. This sequential dependency means that even with massive GPU clusters, a single generation task cannot easily use parallel power to finish faster; it must wait for each step to complete before starting the next. Existing solutions like distillation or skipping steps often involve expensive retraining or quality trade-offs. SRDS addresses this by using additional parallel compute to reduce latency while preserving the exact mathematical solution of the original sampler.
Methods
SRDS adapts the Parareal algorithm, a classic "parallel-in-time" integration method, to the diffusion process. The algorithm splits the denoising trajectory into $N$ blocks and utilizes two types of solvers:
- The Coarse Solver ($G$): A fast but rough solver that takes a single large step across a block.
- The Fine Solver ($F$): An accurate, high-resolution solver that takes many small steps within a block.
The workflow begins with the coarse solver creating a "rough draft" of the entire trajectory. SRDS then runs the fine solver on every block simultaneously in parallel. A predictor-corrector update rule merges these results, refining the trajectory with each iteration. To further enhance efficiency, the authors implemented pipelining, allowing refinement iterations for the start of the trajectory to proceed while later stages are still being processed.
Results
Evaluated across standard benchmarks including LSUN, ImageNet, and Stable Diffusion v2, SRDS demonstrates "approximation-free" speedups. Because it is a parallelized way to reach the same mathematical convergence as a sequential solver, image quality (measured by FID and CLIP scores) remains virtually identical to the baseline.
Key findings include:
- Stable Diffusion v2: Achieved a 1.7x speedup on a standard 25-step benchmark.
- Long Trajectories: On 1000-step trajectories, SRDS achieved up to a 4.3x speedup.
- Plug-and-Play: SRDS works with existing solvers like DDIM and DPM-Solver without requiring model weight modifications.
- Early Convergence: While theoretically requiring many iterations, diffusion trajectories typically stabilize in just 1 to 4 iterations, enabling significant wall-clock speedups.
Conclusion
SRDS offers a compelling trade-off for scenarios where parallel GPU capacity is available and low latency is a priority. While it increases the total number of operations (FLOPs), it significantly reduces the time-to-result for high-quality generation. Future work may explore using distilled models as coarse solvers or applying more complex multigrid methods to further push the boundaries of parallel-in-time sampling.
Summary updated