Towards efficient quantum algorithms for diffusion probabilistic models
Yunfei Wang, Ruoxi Jiang, Yingda Fan, Xiaowei Jia, Jens Eisert, Junyu Liu, Jin-Peng Liu
TL;DR
The paper tackles the high computational cost of diffusion probabilistic models (DPMs) on large-scale data by introducing efficient quantum algorithms that implement DPMs through quantum ODE solvers. It develops a Carleman linearization framework to embed nonlinear diffusion dynamics into linear quantum systems, yielding two architectures: DPM-solver-$k$ (exact $k$-th derivatives) and UniPC (finite-difference derivatives), with backends based on quantum linear system solvers ($QLSS$) or linear combination of Hamiltonian simulations ($LCHS$). The authors provide informal complexity theorems and numerical experiments on latent representations of ImageNet-100 to validate dissipativity and practical feasibility. Overall, the work presents a concrete, pragmatic path toward quantum utility in large-scale generative modeling, with potential to impact inference and synthesis tasks on future fault-tolerant quantum hardware.
Abstract
A diffusion probabilistic model (DPM) is a generative model renowned for its ability to produce high-quality outputs in tasks such as image and audio generation. However, training DPMs on large, high-dimensional datasets such as high-resolution images or audio incurs significant computational, energy, and hardware costs. In this work, we introduce efficient quantum algorithms for implementing DPMs through various quantum ODE solvers. These algorithms highlight the potential of quantum Carleman linearization for diverse mathematical structures, leveraging state-of-the-art quantum linear system solvers (QLSS) or linear combination of Hamiltonian simulations (LCHS). Specifically, we focus on two approaches: DPM-solver-$k$ which employs exact $k$-th order derivatives to compute a polynomial approximation of $ε_θ(x_λ,λ)$; and UniPC which uses finite difference of $ε_θ(x_λ,λ)$ at different points $(x_{s_m}, λ_{s_m})$ to approximate higher-order derivatives. As such, this work represents one of the most direct and pragmatic applications of quantum algorithms to large-scale machine learning models, presumably taking substantial steps towards demonstrating the practical utility of quantum computing.
