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

Wavelet Score-Based Generative Modeling

Florentin Guth, Simon Coste, Valentin De Bortoli, Stéphane Mallat

Introduction

Score-based generative models (SGMs), which include popular diffusion models, are notoriously slow because they require thousands of steps to "denoise" an image. This paper introduces Wavelet Score-based Generative Modeling (WSGM), a novel approach that uses wavelet transforms to break images into different scales. By effectively "whitening" the data, WSGM allows for high-quality sampling with orders of magnitude fewer steps—regardless of the image resolution.

The Problem: Ill-Conditioning in High Dimensions

Score-based generative models work by reversing a process that turns data into noise. To generate a sample, the model follows the "score function"—the gradient of the log-probability density—to move from Gaussian noise back to a clean image.

The primary bottleneck in this process is ill-conditioning. In high-dimensional data like images, pixels are highly correlated across different distances due to multiscale properties. Mathematically, this means the covariance matrix of the data has a massive "condition number" (the ratio of the largest to smallest eigenvalues). For the model to navigate this complex, "stretched-out" probability landscape without crashing, it must take tiny, incremental steps. As image resolution increases, this ill-conditioning worsens, forcing vanilla SGMs to use increasingly more time steps to maintain accuracy.

Methods: A Wavelet "Divide and Conquer" Strategy

To overcome the ill-conditioning bottleneck, the authors propose a strategy utilizing Wavelets.

Comparison of SGM and WSGM generation processes
  1. Wavelet Factorization: Instead of modeling the entire image distribution $p(x)$ at once, the image is decomposed into a low-resolution base and several layers of wavelet coefficients, which capture details at different scales.
  2. Conditional Generation: The probability is factorized into a chain of conditional distributions. The model first generates a very low-res image, then generates the next level of wavelet details conditioned on that low-res image, and so on.
  3. Whitening and Normalization: A key mathematical insight is that normalized wavelet coefficients are "whiter" (less correlated) than raw pixels. By normalizing these coefficients, the authors ensure that the score function at every scale is well-conditioned.
  4. Uniform Discretization: Because every scale is now well-conditioned, the authors can use the same fast discretization schedule (the same number of steps) for every scale, from the coarsest thumbnail to the finest details.

Datasets

The researchers evaluated WSGM on three distinct types of data to prove its versatility:

  • Gaussian Processes: Synthetic data used to mathematically prove that the number of steps required is independent of the image size.
  • $\phi^4$ Physical Model: A classic model from statistical physics used to study phase transitions. This serves as a rigorous test for capturing long-range correlations.
  • CelebA-HQ: A standard benchmark dataset of high-quality celebrity face images (tested at $128 \times 128$ resolution).

Key Insights and Results

Resolution Independence and Complexity

The authors mathematically prove that for multiscale processes, the number of steps $N$ needed for a vanilla SGM grows with the image size $L$. In contrast, for WSGM, $N$ is independent of the image size. This means you don't need to pay a "sampling time tax" just because you want a higher-resolution image.

Error convergence and step complexity for SGM vs WSGM

In experiments with the $\phi^4$ physics model, the error for vanilla SGM spiked as the grid size increased unless more steps were added. WSGM's error curves, however, remained perfectly overlapped across different resolutions, confirming that its efficiency does not degrade as the image size grows.

Massive Speedups

On the CelebA-HQ dataset, WSGM reached a high-quality "plateau" (measured by FID score) using at least two orders of magnitude fewer steps than vanilla SGM. Because the number of steps is constant across scales and the wavelet transform is computationally fast ($O(d)$), the total time complexity of WSGM grows only linearly with the number of pixels.

Wavelets as Preconditioners

In optimization, "preconditioning" is a trick to make a problem easier to solve. This paper demonstrates that the wavelet transform acts as a natural, physical preconditioner for the generative process. While the overall distribution of images is wildly non-Gaussian, the distribution of wavelet coefficients given their coarser neighbors is much closer to Gaussian. This makes the "score" much easier for a neural network to learn and follow.

Limitations and Future Work

  • Whitening Assumptions: The method relies on the assumption that conditional wavelet probabilities are "nearly white." While this holds for many natural images and physical processes, it might struggle with data that has highly irregular or non-multiscale structures.
  • Boundary Artifacts: The authors noted that at very low resolutions (e.g., $32 \times 32$), border effects can become dominant. They used Haar wavelets to simplify this, but suggest that more sophisticated wavelet bases could improve results.
  • Integration with Other Samplers: This work focused on the standard SDE discretization. A promising future direction is combining WSGM with other recent acceleration techniques (like DDIM or specialized ODE solvers) to push sampling speeds even further.

Summary updated

BibTeX
@inproceedings{guth2022wavelet,
  author = {Florentin Guth and Simon Coste and Valentin De Bortoli and Stéphane Mallat},
  title = {{Wavelet Score-Based Generative Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=xZmjH3Pm2BK},
}
Figure