Accelerating Score-based Generative Models with Preconditioned Diffusion Sampling

Hengyuan Ma, Li Zhang, Xiatian Zhu, Jianfeng Feng
7/5/2022
32 citations
cs.CV
diffusion-flow

Official code: fudan-zvg/PDS (62 stars, Python, MIT, last commit 2025-03-18).

Abstract

Score-based generative models (SGMs) have recently emerged as a promising class of generative models. However, a fundamental limitation is that their inference is very slow due to a need for many (e.g., 2000) iterations of sequential computations.

Show full abstract

An intuitive acceleration method is to reduce the sampling iterations which however causes severe performance degradation. We investigate this problem by viewing the diffusion sampling process as a Metropolis adjusted Langevin algorithm, which helps reveal the underlying cause to be ill-conditioned curvature. Under this insight, we propose a model-agnostic preconditioned diffusion sampling (PDS) method that leverages matrix preconditioning to alleviate the aforementioned problem. Crucially, PDS is proven theoretically to converge to the original target distribution of a SGM, no need for retraining. Extensive experiments on three image datasets with a variety of resolutions and diversity validate that PDS consistently accelerates off-the-shelf SGMs whilst maintaining the synthesis quality. In particular, PDS can accelerate by up to 29x on more challenging high resolution (1024x1024) image generation.

View on arXivView PDF

Code Implementations(1)

fudan-zvg/PDSOfficial100%
MIT

[ECCV 2022 & IJCV 2025] Accelerating Score-based Generative Models with Preconditioned Diffusion Sampling

624Python, CudaJul 4, 20221 years agoMIT

Similar Papers

Cite this paper

@article{ma2022accelerating,
  title  = {Accelerating Score-based Generative Models with Preconditioned Diffusion Sampling},
  author = {Hengyuan Ma and Li Zhang and Xiatian Zhu and Jianfeng Feng},
  year   = {2022},
  eprint = {2207.02196},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.02196v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.02196.svg)](https://codeofpaper.com/paper/2207.02196)

Discussion