Score-Based Variational Inference for Inverse Problems

Xiaojun Yuan, Zhipeng Xue, Penghao Cai, Xiaojun Yuan 0002, Xiqi Gao · DOI

Abstract

Diffusion models have revolutionized inverse problem solving by providing powerful generative priors. However, these models are primarily designed for sampling, making the estimation of the posterior mean—the Minimum Mean Square Error (MMSE) solution—computationally expensive, often requiring the averaging of numerous random samples. We introduce Reverse Mean Propagation (RMP), a framework that reformulates the reverse diffusion process as a sequential variational inference problem. RMP tracks the deterministic evolution of the mean, allowing for direct calculation of the posterior mean in a single pass. Experimental results on benchmarks like FFHQ and ImageNet show that RMP achieves superior reconstruction quality (higher PSNR, lower FID) with a fraction of the computational cost compared to traditional diffusion posterior sampling.

Introduction

Inverse problems, such as image deblurring, super-resolution, and inpainting, involve recovering an underlying signal $x$ from a corrupted observation $y = Ax + n$. While diffusion models provide excellent priors for these tasks, they are inherently stochastic. In many practical scenarios, the goal is not to generate one possible reconstruction but to find the most likely one: the posterior mean $\mathbb{E}[x|y]$. Current methods like Diffusion Posterior Sampling (DPS) require generating and averaging many samples to approximate this mean, which is slow and inefficient.

Methodology: Reverse Mean Propagation (RMP)

The core contribution of this work is the Reverse Mean Propagation (RMP) framework. Unlike standard reverse diffusion which follows a random path, RMP identifies a deterministic trajectory that leads directly to the posterior mean.

Conceptual overview of the forward process and the proposed Reverse Mean Propagation (RMP) which tracks the mean trajectory to reach the posterior mean.

Variational Inference Formulation

RMP treats each step of the reverse diffusion as a variational inference (VI) problem. By minimizing the reverse Kullback-Leibler (KL) divergence between a variational distribution and the true conditional distribution at each timestep, the model can update the mean of the distribution.

Natural Gradient Descent (NGD)

To ensure stable and accurate updates, the authors employ Natural Gradient Descent. NGD accounts for the information geometry of the probability distribution space, leading to more efficient convergence than standard gradient methods.

Score-Based Approximation

RMP leverages pre-trained score networks from models like DDPM. These networks provide the gradient of the log-prior, which is combined with a likelihood term to guide the mean propagation. To maintain efficiency, a fixed-precision update is used to avoid costly second-order derivative calculations.

Experimental Evaluation

The authors evaluated RMP on standard image datasets (FFHQ, ImageNet) and synthetic toy examples.

Visualization of mean trajectories and a comparison between the RMP estimate and the true MMSE solution on a Gaussian Mixture Model toy example.

Performance and Efficiency

RMP consistently outperformed state-of-the-art methods like DPS and DDRM in terms of Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM). For instance, on the FFHQ super-resolution task, RMP achieved a PSNR of 29.26, compared to 24.32 for DPS.

Crucially, RMP is significantly faster. A 50-step VP-RMP process can outperform a 1000-step DPS process, representing a 20x speedup in neural function evaluations while providing higher quality results.

Conclusion

Reverse Mean Propagation offers a principled and efficient way to solve inverse problems using diffusion priors. By focusing on the deterministic path of the posterior mean rather than stochastic sampling, RMP provides a faster, more accurate route to the MMSE estimate. Future work may involve refining likelihood approximations for highly non-linear problems and further theoretical analysis of convergence in complex data distributions.

Summary updated

BibTeX
@misc{yuan2024score,
  author = {Xiaojun Yuan and Zhipeng Xue and Penghao Cai and Xiaojun Yuan and Xiqi Gao},
  title = {{Score-Based Variational Inference for Inverse Problems}},
  year = {2024},
  eprint = {2410.05646},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.05646},
}
Figure