Preconditioned Score-based Generative Models

Hengyuan Ma, Xiatian Zhu, Jianfeng Feng, Li Zhang
2/13/2023
8 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 sampling process is 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 assault this problem to the ill-conditioned issues of the Langevin dynamics and reverse diffusion in the sampling process. Under this insight, we propose a novel preconditioned diffusion sampling (PDS) method that leverages matrix preconditioning to alleviate the aforementioned problem. PDS alters the sampling process of a vanilla SGM at marginal extra computation cost and without model retraining. Theoretically, we prove that PDS preserves the output distribution of the SGM, with no risk of inducing systematical bias to the original sampling process. We further theoretically reveal a relation between the parameter of PDS and the sampling iterations, easing the parameter estimation under varying sampling iterations. Extensive experiments on various image datasets with a variety of resolutions and diversity validate that our PDS consistently accelerates off-the-shelf SGMs whilst maintaining the synthesis quality. In particular, PDS can accelerate by up to 28x on more challenging high-resolution (1024x1024) image generation. Compared with the latest generative models (e.g., CLD-SGM and Analytic-DDIM), PDS can achieve the best sampling quality on CIFAR-10 at an FID score of 1.99. Our code is publicly available to foster any further research https://github.com/fudan-zvg/PDS.

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{ma2023preconditioned,
  title  = {Preconditioned Score-based Generative Models},
  author = {Hengyuan Ma and Xiatian Zhu and Jianfeng Feng and Li Zhang},
  year   = {2023},
  eprint = {2302.06504},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.06504v4}
}

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/2302.06504.svg)](https://codeofpaper.com/paper/2302.06504)

Discussion