ParaSolver: A Hierarchical Parallel Integral Solver for Diffusion Models

Jianrong Lu, Zhiyu Zhu, Junhui HouICLR 2025

TL;DR

ParaSolver accelerates the sampling process of Diffusion Probabilistic Models (DPMs) by reframing sequential denoising as a system of parallelizable "banded" nonlinear equations. By leveraging a unique mathematical structure in the solver's Jacobian and employing a novel initialization strategy, ParaSolver achieves up to a 12.1× speedup in wall-clock time without sacrificing image quality.

The Sequential Bottleneck in Diffusion Models

Diffusion models, such as Stable Diffusion, have revolutionized generative AI, but they suffer from a major Achilles' heel: generation speed. To produce a high-quality image, these models must iteratively solve a differential equation, moving step-by-step from pure noise to a clean image.

This "sequential bottleneck" dictates that even with powerful GPUs, generating a single image can take several seconds—a lifetime in interactive applications. While researchers have attempted to speed this up using faster ODE solvers or model distillation, these approaches often trade image quality for speed. Recent "parallel sampling" methods attempt to denoise multiple timestamps simultaneously, but they frequently suffer from high computational overhead (due to dense matrix math) or error accumulation that degrades the final output.

The ParaSolver Approach

The authors introduce ParaSolver, which tackles the sampling problem through the lens of dynamic systems and numerical optimization. The framework relies on four key innovations:

  1. Banded Nonlinear Equations: Instead of treating the generation trajectory as a long, unbreakable chain, ParaSolver partitions it into a system of equations. Because each step in a diffusion model typically only depends on the immediate previous state, the resulting mathematical system is "banded" (sparse). This is significantly more computationally efficient than the "triangular" dense systems used in prior parallel methods.
  2. Jacobian-Free Acceleration: Solving nonlinear equations usually requires calculating a "Jacobian" (a complex matrix of derivatives), which is incredibly expensive. The authors proved that this Jacobian possesses a "unit-diagonal" structure. They discovered they could substitute the complex components with an identity matrix without hurting convergence, drastically reducing the math required per iteration.
  3. Smart Initialization (Preconditioning): Parallel solvers require a good "starting guess" to converge quickly. ParaSolver uses a few "preconditioning" steps—coarse, cheap approximations of the clean image—to initialize the parallel process effectively.
  4. Sliding Window: To handle memory constraints on GPUs, ParaSolver employs a sliding window technique. It parallelizes a subset of the denoising steps at a time, moving the window forward as those steps converge.

Experimental Setup

The researchers evaluated ParaSolver on two primary benchmarks:

  • StableDiffusion-v2: A latent-space model generating 768x768 images, evaluated on 5,000 samples from the ImageNet-1k dataset.
  • LSUN Church: A pixel-space model generating 256x256 images.

Performance was measured using FID (Fréchet Inception Distance) for image quality, CLIP scores for text-alignment, and wall-clock time for actual speed.

Key Results

ParaSolver demonstrates remarkable improvements in generation speed while maintaining, and occasionally slightly improving, output quality.

Performance comparison of ParaSolver against baseline methods and ParaDiGMS on Stable Diffusion-v2.
  • Latent Space Efficiency: As shown in the table above, for Stable Diffusion v2 (1000 steps), ParaSolver achieved an 8.1× speedup, reducing generation time from 128.0 seconds to just 15.9 seconds.
  • Massive Speedups on Pixel Space: On the LSUN Church model using 8 GPUs, ParaSolver achieved a staggering 12.1× speedup over standard DDPM sampling.
  • Zero Quality Loss: In almost all tests, the FID and CLIP scores for ParaSolver were nearly identical to the sequential baselines. For example, on Stable Diffusion (1000 steps), ParaSolver hit an FID of 55.3 compared to the baseline's 55.9, while maintaining a CLIP score of 25.6.
  • Hardware Scaling: The method scales effectively with more GPUs, whereas previous parallel methods like ParaDiGMS saw diminishing returns much sooner.

Core Insights

  • Sparsity is Key: The breakthrough realization is that the sequential nature of diffusion doesn't require a dense solver. By treating it as a banded system, the model can ignore most interactions between distant timestamps, saving massive amounts of computation.
  • The Jacobian Shortcut: Finding that a simple identity matrix can replace a compute-intensive Jacobian is a significant theoretical win. It suggests that the "direction" of the update is more important than its exact magnitude in the high-dimensional space of diffusion trajectories.
  • Quality Preservation: Unlike distillation methods that "compress" the model and often lose fine details, ParaSolver is mathematically designed to converge to the exact same result as the original sequential sampler, just faster.

Limitations and Future Directions

While highly effective, ParaSolver has a few practical limitations. First, to realize the massive 12× speedups, a multi-GPU setup is required (the paper utilizes 8× RTX 3090s); on a single GPU, the speedup is a more modest ~2.5×. Second, the "subproblems" within the parallel window are currently solved sequentially. The authors suggest that integrating parallel techniques within these subproblems could unlock even higher speeds. Finally, if the number of subintervals is set too high, errors can accumulate during the refinement process, meaning finding the optimal "sweet spot" remains a manual tuning task for different models.

Summary updated

BibTeX
@inproceedings{lu2025parasolver,
  author = {Jianrong Lu and Zhiyu Zhu and Junhui Hou},
  title = {{ParaSolver: A Hierarchical Parallel Integral Solver for Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=2JihLwirxO},
}
Figure