Accelerating Diffusion Models with Parallel Sampling: Inference at Sub-Linear Time Complexity
Haoxuan Chen, Yinuo Ren, Lexing Ying, Grant M. Rotskoff
TL;DR
The paper tackles the challenge of expensive diffusion-model inference by introducing Parallelized Inference for Diffusion Models (PIADM), which partitions the sampling horizon into a small number of blocks and performs score-function evaluations in parallel inside each block. It develops two parallelized schemes, PIADM-SDE and PIADM-ODE, leveraging exponential integrators and Picard iterations to achieve poly-logarithmic time in the data dimension, with controlled discretization error. Theoretical guarantees show convergence to the target distribution with D_KL or TV-type bounds, and the SDE and ODE implementations offer favorable space complexities (d^2 and d^{3/2}, respectively) while maintaining sub-linear time. The results unify a rigorous probabilistic framework (via generalized Girsanov and stochastic process constructions) with practical algorithmic designs, providing a foundation for scalable, fast diffusion-based sampling on modern hardware.
Abstract
Diffusion models have become a leading method for generative modeling of both image and scientific data. As these models are costly to train and \emph{evaluate}, reducing the inference cost for diffusion models remains a major goal. Inspired by the recent empirical success in accelerating diffusion models via the parallel sampling technique~\cite{shih2024parallel}, we propose to divide the sampling process into $\mathcal{O}(1)$ blocks with parallelizable Picard iterations within each block. Rigorous theoretical analysis reveals that our algorithm achieves $\widetilde{\mathcal{O}}(\mathrm{poly} \log d)$ overall time complexity, marking \emph{the first implementation with provable sub-linear complexity w.r.t. the data dimension $d$}. Our analysis is based on a generalized version of Girsanov's theorem and is compatible with both the SDE and probability flow ODE implementations. Our results shed light on the potential of fast and efficient sampling of high-dimensional data on fast-evolving modern large-memory GPU clusters.
