Monte Carlo guided Denoising Diffusion models for Bayesian linear inverse problems.

Gabriel Cardoso, Yazid Janati el idrissi, Sylvain Le Corff, Eric Moulines

Introduction

Solving ill-posed linear inverse problems—such as reconstructing a high-resolution image from a blurry input or an MRI scan from sparse data—is a cornerstone of modern computational imaging. While Denoising Diffusion Models (DDMs) have recently emerged as incredibly powerful priors for these tasks, most existing methods rely on heuristics that fail to capture the full statistical truth of the problem.

To address this, researchers have introduced MCGdiff (Monte Carlo Guided Denoising Diffusion), a novel algorithm that combines the generative power of diffusion models with the rigorous statistical framework of Sequential Monte Carlo (SMC) sampling. MCGdiff is uniquely provably consistent, meaning its samples are guaranteed to converge to the true posterior distribution as the number of particles increases.

The Challenge of Linear Inverse Problems

Linear inverse problems are inherently "ill-posed," meaning the observed data $y$ could have been produced by many different original states $x$. To identify the most likely $x$, researchers utilize Bayesian inference: $p(x|y) \propto p(y|x)p(x)$.

The prior, $p(x)$, defines what a "natural" signal or image should look like. Score-based generative models (SGMs) and diffusion models are currently the gold standard for these priors. However, accurately sampling from the resulting posterior $p(x|y)$ remains difficult. Popular existing methods, such as DDRM or DPS, often introduce biases or fail to represent the full uncertainty of the solution. For instance, they might only find one possible reconstruction when several are equally plausible. There is a critical need for algorithms that are both efficient and theoretically guaranteed to sample from the correct posterior distribution.

Methodology: MCGdiff

The authors propose treating the denoising process as a sequence of filtering steps, leveraging the strengths of SMC.

  • Sequential Monte Carlo (SMC): Instead of following a single path to a solution, MCGdiff maintains a "cloud" of particles. At each step of the diffusion process, these particles are weighted, resampled, and moved.
  • Intermediate Posteriors: The algorithm exploits the structure of diffusion models to define a sequence of intermediate inverse problems. As the noise level decreases, these intermediate distributions gradually morph from a simple Gaussian into the complex target posterior.
  • Guidance Mechanism: A key innovation is a novel "instrumental kernel" and weight function. These guide the particles toward states that are consistent with the observations $y$ while strictly following the learned "natural image" manifold of the diffusion model.
  • Theoretical Grounding: Unlike many "plug-and-play" diffusion solvers, MCGdiff comes with a formal proof of consistency. As the number of particles $N$ approaches infinity, the algorithm's output converges to the true Bayesian posterior.
Evolution of intermediate distributions (yellow) from the prior (purple) toward the target posterior (light blue) as diffusion time decreases.

Experimental Evaluation

The researchers evaluated MCGdiff on both synthetic and high-dimensional image data to validate its theoretical guarantees and practical performance.

Datasets and Tasks: * Synthetic Mixtures: Gaussian Mixture (GM) and Funnel Mixture (FM) models were used because they allow for an exact calculation of the true posterior, providing a ground truth for evaluation. * Image Datasets: The model was tested on CIFAR-10, Flowers, Cats, Bedroom, Church, and CelebA/CelebA-HQ. * Inverse Tasks: Applications included inpainting (filling missing pixels), super-resolution, Gaussian 2D deblurring, and colorization.

Key Findings and Results

  • Heuristics vs. Consistency: Popular methods like DPS (Diffusion Posterior Sampling) are essentially approximations that can produce "outliers"—samples that look like natural images but have very low likelihood given the actual observations. MCGdiff resolves this by using importance sampling to correct for these discrepancies.
  • Capturing Multimodality: Because MCGdiff uses a particle-based SMC approach, it is vastly superior at capturing "multimodal" posteriors—situations where there are several distinct, valid ways to solve the inverse problem.
  • Superior Accuracy: In synthetic tests, MCGdiff consistently achieved lower Sliced Wasserstein (SW) distances to the true posterior than baselines like DDRM, DPS, and RNVP. Visualizations confirm that MCGdiff's particles stay tightly clustered within the correct regions, offering better uncertainty quantification.
  • High-Quality Imaging: On complex image tasks, MCGdiff produced diverse, high-fidelity reconstructions. In super-resolution tasks, for example, it successfully generated multiple plausible high-resolution versions of a low-resolution face, all remaining consistent with the input.

Limitations and Future Work

While theoretically sound, MCGdiff does introduce computational overhead. Because it is an SMC method, it requires running multiple particles through the diffusion model, making it more computationally expensive than single-trajectory solvers. Furthermore, while the paper proves consistency as $N \to \infty$, choosing the optimal number of particles for very high-dimensional images (e.g., 1024x1024) remains a practical challenge.

Future work will likely focus on developing more efficient proposal kernels to reduce the required number of particles and extending the framework to tackle non-linear inverse problems.

Summary updated

BibTeX
@inproceedings{cardoso2024monte,
  author = {Gabriel Cardoso and Yazid Janati el idrissi and Sylvain Le Corff and Eric Moulines},
  title = {{Monte Carlo guided Denoising Diffusion models for Bayesian linear inverse problems.}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=nHESwXvxWK},
}
Figure