NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Score-Based Generative Models with Preconditioned Diffusion Sampling

Hengyuan Ma, Li Zhang, Xiatian Zhu, Jianfeng Feng

Introduction

Score-based Generative Models (SGMs) have emerged as a powerful alternative to GANs, offering superior image quality and diversity. However, their inference speed remains a significant bottleneck, often requiring thousands of sequential steps to generate a single image. This paper introduces Preconditioned Diffusion Sampling (PDS), a model-agnostic technique that addresses the "ill-conditioned curvature" of the sampling process. By applying matrix preconditioning, PDS achieves up to a 29× speedup on high-resolution images without the need for model retraining.

The Problem: Ill-Conditioned Curvature

The primary challenge in accelerating SGMs is that taking fewer, larger steps typically leads to a collapse in image quality. Images either become overwhelmed by high-frequency noise or lose structural coherence. The authors identify the root cause as the high-dimensional geometry of the image space. Pixels are highly correlated, creating a "landscape" with ill-conditioned curvature where standard isotropic Gaussian noise is inefficient.

Preconditioning transforms the ill-conditioned elliptical landscape into a well-conditioned circular one, allowing for more direct sampling paths.

As illustrated above, standard diffusion sampling often "zig-zags" inefficiently through the distribution. Preconditioning transforms this space into a more spherical geometry, allowing the sampler to take more direct and stable steps toward the target distribution.

Methods

PDS introduces a preconditioning matrix ($M$) into the Langevin dynamics used during sampling. This approach is model-agnostic and can be applied to existing pretrained models like NCSN++ or DDPM. Key components include:

  • Frequency Preconditioning: By mapping images into the frequency domain using Fast Fourier Transforms (FFT), the model can regulate noise across different scales. This allows the sampler to preserve fine details while suppressing the high-frequency noise that usually plagues accelerated sampling.
  • Space Preconditioning: For structured data like faces, spatial filters derived from dataset statistics guide the application of noise, ensuring that the global structure (e.g., the shape of a head) is maintained even at high speeds.
  • Theoretical Consistency: Using the Fokker-Planck equation, the authors prove that the introduction of the preconditioning matrix does not alter the model's steady-state distribution. This ensures that the accelerated sampling still converges to the high-quality results of the original model.

Key Results and Visual Fidelity

The researchers evaluated PDS across benchmarks including MNIST, CIFAR-10, LSUN, and FFHQ. The most dramatic results were seen in high-resolution tasks. On the FFHQ 1024×1024 dataset, PDS reduced the sampling time for a batch of images from 34 minutes to just 71 seconds—a 29× acceleration.

Comparison of sampling quality across different iteration counts (T). PDS (bottom rows) maintains high fidelity even at low T, while the baseline (top rows) collapses into noise.

As shown in the figure above, while baseline models produce unrecognizable noise when the number of iterations ($T$) is reduced to 100 or 66, PDS maintains remarkable visual clarity. On CIFAR-10 with only 100 iterations, PDS achieved an FID score of 3.26, significantly outperforming the vanilla model's score of 29.39.

Conclusion and Future Work

PDS demonstrates that the slow speed of diffusion models is not a limitation of the models' learned knowledge, but rather a numerical instability in the sampling process. By treating noise as a filterable component and accounting for the geometry of pixel space, PDS enables high-speed generation without retraining. Future work may explore automating hyperparameter tuning for the frequency filters and pushing the boundaries toward even faster, near-one-step generation.

Summary updated

BibTeX
@inproceedings{ma2022accelerating,
  author = {Hengyuan Ma and Li Zhang and Xiatian Zhu and Jianfeng Feng},
  title = {{Accelerating Score-Based Generative Models with Preconditioned Diffusion Sampling}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20050-2\_1},
}
Figure