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

Bayesian computation with generative diffusion models by Multilevel Monte Carlo

Luke Shaw, Abdul-Lateef Haji-Ali, Marcelo Pereyra, Konstantinos C. ZygalakisPhilosophical 2024

Abstract

Generative diffusion models (DMs) have emerged as a powerful tool for solving Bayesian inverse problems in imaging, such as deblurring, super-resolution, and inpainting. However, their reliance on iterative reverse diffusion processes makes them computationally expensive, often requiring thousands of neural function evaluations (NFEs) to estimate posterior statistics. This paper introduces a novel framework that integrates Multilevel Monte Carlo (MLMC) with diffusion models. By leveraging a hierarchy of discretization levels and a specialized coupling strategy, the proposed method achieves significant speedups—ranging from 4x to 9x—while maintaining high-precision uncertainty quantification.

Introduction

In scientific imaging, inverse problems involve reconstructing a high-fidelity image $x$ from noisy or incomplete observations $y$. Bayesian methods are preferred in these contexts because they provide a posterior distribution $p(x|y)$, allowing researchers to quantify uncertainty rather than relying on a single point estimate.

Recently, Diffusion Models (DMs) have become the state-of-the-art for sampling these complex posteriors. Despite their generative quality, DMs are "sampling-heavy." Estimating the posterior mean or variance typically requires generating a large number of samples, each involving a reverse diffusion process with hundreds of steps. For large-scale applications, this computational burden acts as a significant bottleneck. This research addresses this challenge by applying Multilevel Monte Carlo techniques to the diffusion process, treating the number of diffusion steps as a discretization hierarchy to optimize computational efficiency.

Methods: Bridging DMs and MLMC

The Multilevel Monte Carlo Framework

The core innovation lies in applying the MLMC principle to the time-discretization of diffusion models. In a standard Monte Carlo approach, all samples are generated at the highest possible resolution (e.g., 1000 diffusion steps). MLMC, conversely, utilizes a telescoping sum of estimators across a hierarchy of levels.

By taking many samples at "cheap," coarse levels (few diffusion steps) and fewer samples at "expensive," fine levels (many diffusion steps), the algorithm uses the coarse levels to provide the bulk of the estimate. The expensive levels are then used only to calculate the difference between levels, effectively "correcting" the bias of the coarse approximation.

Ensuring Correlation via Shared Noise

For MLMC to be effective, the variance of the difference between levels must be small. This requires the samples at different discretization levels to be highly correlated. If a 10-step image and a 20-step image look fundamentally different, the variance between levels explodes, and the efficiency gains of MLMC vanish.

To solve this, the authors developed a specific coupling strategy:

  1. Shared Noise: Both the coarse and fine diffusion paths are driven by the same underlying Gaussian noise.
  2. Weighted Noise Summation: The authors introduced an algorithm to sum noise increments such that a single coarse step perfectly aligns with the scale and direction of multiple fine steps.

This ensures that the coarse path remains a faithful, albeit less precise, approximation of the fine path, satisfying the theoretical requirements for MLMC speedups.

Experimental Evaluation

The researchers evaluated the MLMC-Diffusion framework across three canonical imaging tasks:

  • Image Super-resolution: Upscaling 16x16 images to 128x128 using the SR3 model.
  • Image Denoising: Utilizing a Variance Preserving SDE (VPSDE) model trained on the CIFAR-10 dataset.
  • Image Inpainting: Filling missing regions in 256x256 images using the Image-to-Image Schrödinger Bridge (I2SB) model on ImageNet.

These tasks represent a variety of diffusion architectures, demonstrating that the MLMC framework is model-agnostic and can be applied to discrete-time models (DDPM), implicit models (DDIM), and deterministic Schrödinger Bridges.

Key Results and Insights

The paper demonstrates that the MLMC approach consistently reaches the same Mean Squared Error (MSE) as standard Monte Carlo methods with significantly reduced computational effort. Key findings include:

  • Significant Speedups: The method achieved a 4x speedup in super-resolution, 7x in denoising, and 9x in inpainting tasks.
  • Precision-Dependent Efficiency: The advantages of MLMC become more pronounced as the required precision increases. For high-accuracy uncertainty quantification (e.g., pixel variance), MLMC outperforms standard methods by an even wider margin.
  • Variance Decay: Empirical validation confirmed that the variance of the difference between levels decays rapidly (the $\beta$ rate), confirming the theoretical efficiency of the coupling strategy.

Discussion and Limitations

While the MLMC framework effectively reduces discretization error (the error stemming from the number of steps), it does not address "model error"—the inherent limitations or biases within the trained neural network itself. Additionally, the efficiency of the algorithm is sensitive to the choice of the "starting level" ($\ell_0$). If the initial level is too coarse, the images may consist of pure noise, breaking the correlation with subsequent levels.

Conclusion

By treating the number of diffusion steps as a hierarchy for Multilevel Monte Carlo, this research provides a robust path toward making Bayesian inference with generative models practical for real-world scientific use. Future work may involve combining this framework with model distillation or applying it to massive foundational models, such as those used in weather forecasting (e.g., AURORA), where rapid and accurate uncertainty quantification is critical.

Summary updated

BibTeX
@misc{shaw2024bayesian,
  author = {Luke Shaw and Abdul-Lateef Haji-Ali and Marcelo Pereyra and Konstantinos C. Zygalakis},
  title = {{Bayesian computation with generative diffusion models by Multilevel Monte Carlo}},
  year = {2024},
  eprint = {2409.15511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.15511},
}
Figure