Abstract
Diffusion models have emerged as the state-of-the-art for generative tasks across images, video, and robotics. However, their inference speed is fundamentally limited by the sequential nature of the denoising process. This paper discusses ParaDiGMS (Parallel Diffusion Generative Model Sampling), a method that accelerates diffusion sampling by 2-4x without sacrificing sample quality. By reformulating the denoising process as an Ordinary Differential Equation (ODE) and applying Picard iterations, ParaDiGMS enables multiple denoising steps to be computed in parallel, effectively trading increased GPU compute for significantly lower latency.
Introduction
Despite their generative prowess, diffusion models suffer from a significant "speed limit." Generating a single sample typically requires hundreds or thousands of sequential denoising steps, where each step depends on the output of the previous one. Traditionally, accelerating this process involved taking fewer steps (e.g., via DDIM or DPM-Solver), which often results in a trade-off between speed and output quality. ParaDiGMS shifts this paradigm by asking: Can we trade compute for speed instead of quality for speed? By utilizing available GPU power to run sequential steps in parallel, ParaDiGMS breaks the sequential bottleneck.
Methodology
The core innovation of ParaDiGMS is the application of Picard iterations to the "Probability Flow ODE" of diffusion models. The method consists of several key components:
1. Picard Iteration for ODEs
Picard iteration is a classical numerical method for solving ODEs. Rather than solving for $x_{t+1}$ sequentially given $x_t$, the algorithm begins with an initial "guess" for the entire solution trajectory. It then iteratively refines this guess across all time steps simultaneously. In the context of diffusion, this means the model attempts to predict the entire denoising path at once.
2. Parallelization and Hardware Acceleration
Because the refinement of the trajectory at any given time $t$ depends on the values from the previous iteration, the neural network evaluations for all time steps within a specific window can be performed in parallel on a GPU. This allows the system to utilize the massive parallel processing capabilities of modern hardware to bypass the step-by-step dependency.
3. Sliding Window and Batching
To manage GPU memory constraints and ensure mathematical convergence, ParaDiGMS employs a sliding window approach. The algorithm processes a "batch" of timesteps (e.g., 20 steps) simultaneously. Once the earliest steps in the window converge to a fixed point, the window slides forward to cover subsequent timesteps.
4. SDE Compatibility
While Picard iterations are natively designed for deterministic ODEs, the authors demonstrate compatibility with Stochastic Differential Equations (SDEs). By pre-sampling the noise and absorbing it into the "drift" function, the process becomes effectively deterministic for the solver, allowing ParaDiGMS to be applied to a wider range of diffusion frameworks.
Experimental Evaluation
ParaDiGMS was evaluated across two distinct domains where sampling latency is a critical factor:
Robotic Manipulation
Testing on Robosuite (Square and Kitchen) and PushT tasks using the DiffusionPolicy framework, ParaDiGMS demonstrated significant improvements in real-time control. On a 100-step DiffusionPolicy, ParaDDPM reduced sampling time from 0.74s to 0.2s (a 3.7x speedup) with no loss in task success rates or reward.
Image Generation
- Stable Diffusion: For 1000-step generation on an NVIDIA A100 GPU, ParaDiGMS reduced generation time from 50.0s to 14.6s (3.4x speedup).
- LSUN Benchmarks: In unconditional image synthesis (Church and Bedroom), the method maintained high-quality results while significantly cutting wall-clock time.
Crucially, across all benchmarks, there was no measurable degradation in FID scores, CLIP scores, or robotic success rates, proving that the speedup does not come at the cost of performance.
Discussion and Key Insights
- The Illusion of Sequentiality: ParaDiGMS reveals that while the mathematical solution to diffusion is sequential, the computation does not have to be. If a guess for future steps is even moderately accurate, Picard iterations can propagate information through the chain much faster than sequential processing.
- Convergence Efficiency: Empirically, the number of iterations required for trajectory convergence ($K$) is significantly smaller than the total number of denoising steps ($T$). This gap provides the window for acceleration.
- Latency vs. Throughput: ParaDiGMS is a "latency-first" approach. It requires more total FLOPs than sequential sampling but reduces the time a user waits for a single result. As GPU hardware continues to scale in parallel capacity, this trade-off becomes increasingly beneficial.
Limitations
While effective, ParaDiGMS involves a higher compute overhead, making it less ideal for bulk offline generation where throughput is the priority. Additionally, storing the entire trajectory $x_{0:T}$ in memory is demanding, and multi-GPU setups may eventually face communication bottlenecks when synchronizing trajectories. Future research may focus on optimizing these communication patterns to further scale the speedups provided by parallel Picard iterations.
Summary updated