Latent-IMH: Efficient Bayesian Inference for Inverse Problems with Approximate Operators

Youguang Chen, George Biros

TL;DR

Latent-IMH is a novel Independence Metropolis-Hastings sampling method designed for high-dimensional Bayesian linear inverse problems. By shifting the approximation of expensive forward operators into a latent space, it decouples sampling efficiency from observational noise levels, achieving orders-of-magnitude speedups over state-of-the-art MCMC methods like NUTS.

What Problem Does This Paper Address?

Bayesian inference for linear inverse problems ($y = Ax + e$) requires sampling from a posterior distribution to quantify uncertainty in unknown parameters $x$ given noisy observations $y$. However, in many real-world applications—such as acoustic scattering, tomography, or geophysics—the forward operator $A$ is a computational bottleneck, often requiring the solution of complex partial differential equations (PDEs).

Standard Markov chain Monte Carlo (MCMC) algorithms like the No-U-Turn Sampler (NUTS) or the Metropolis-Adjusted Langevin Algorithm (MALA) require evaluating $A$ or its gradient at every single step, making them prohibitively expensive. While researchers frequently use cheap, approximate forward models ($\tilde{A}$) to accelerate sampling, standard approaches that apply these approximations directly to the parameter space suffer from a fatal flaw: their acceptance rates plummet to zero when the observational noise is small or the problem dimension is high.

Methods

The authors introduce Latent-IMH, a method that exploits the natural physical factorization of many inverse problems. They decompose the forward operator using an unobserved latent variable $u$:

  1. $u = L^{-1}Bx$ (where $L$ is a physical latent operator, like a PDE solver, and $B$ is a lifting operator)
  2. $y = Ou + e$ (where $O$ is a cheap observation matrix)

Instead of proposing samples directly in the parameter space $x$ using an approximate operator $\tilde{A}$ (a baseline approach termed Approx-IMH), Latent-IMH draws samples in the latent space $u$ using a cheap approximate operator $\tilde{L}$ (e.g., via multigrid methods, coarse-grid representations, or incomplete factorizations). These latent samples are then mapped back to the parameter space using the exact inverse relationship ($x = F^{-1}u$).

Crucially, through a clever reparameterization trick that ensures the forward operator is square and invertible, the likelihood term involving the observational noise cancels out entirely within the Latent-IMH acceptance ratio. This mathematical property makes the sampler uniquely robust to low-noise scenarios.

Datasets

The method was evaluated using synthetic benchmarks and physics-based simulation setups rather than static datasets:

  • Gaussian Priors: Evaluated on standard normal, ill-conditioned Gaussian, and a three-component multimodal Gaussian mixture.
  • Laplace Prior with Normalizing Flows: Used to test non-Gaussian settings where a normalizing flow was trained offline to approximate the latent prior distribution.
  • Graph Laplacian: A graph inference task on a $20^3$ lattice solved using a randomized Cholesky preconditioner.
  • 2D Acoustic Scattering: A physical simulation of time-harmonic acoustics governed by the Helmholtz operator on a fine grid, utilizing a coarse-grid discretization as the approximate operator.

Key Insights and Ideas

  • The Latent Space Advantage: In standard approximate MCMC, low observational noise forces the proposal distribution to match the true posterior perfectly to avoid instant rejection. By moving the approximation to the latent space, the noise term cancels out in the acceptance probability, decoupling the sampler's efficiency from the noise level.
  • Favorable Mixing Time Scaling: The authors theoretically prove that the mixing time of the standard parameter-space approximation (Approx-IMH) scales poorly as noise decreases ($O(1/\sigma^4)$). In contrast, Latent-IMH’s mixing time is completely independent of the noise level ($O(d^2)$).
  • Shifting Costs Offline: For complex, non-Gaussian priors, the heavy computational lifting (such as training a normalizing flow to learn the latent prior distribution $\tilde{p}(u)$) can be performed entirely offline before seeing the data $y$, leading to rapid online sampling.

Key Results

  • Orders-of-Magnitude Speedups: In the 2D acoustic scattering problem, Latent-IMH achieved a 10% relative mean error using only $\sim 10^3$ exact forward/inverse solves. In comparison, Approx-IMH required $\sim 10^5$ solves, while standard MALA and NUTS required millions of solves to reach the same accuracy.
Reconstructed acoustic source fields and error comparison
  • Robustness to Noise and Dimension: As shown in sensitivity tests, the acceptance ratio of Latent-IMH remains high and stable regardless of decreasing noise levels or increasing observation ratios, whereas the baseline Approx-IMH degrades rapidly.
Acceptance ratio sensitivity analysis
  • Handling Multimodality: For the Gaussian mixture prior, local samplers like NUTS struggled to traverse the energy barriers between modes, leading to poor mixing. Latent-IMH bypassed this issue entirely by utilizing global independent proposals.

Limitations and Future Work

  • Linearity Assumption: A core limitation of Latent-IMH is the strict requirement of linearity in the forward operator components ($A = OF$). Extending this framework to nonlinear operators is challenging because the reparameterization trick no longer applies.
  • Dimensionality Constraint: The current formulation requires that the number of observations be less than or equal to the parameter dimension ($d_y \le d_x$).
  • Dependence on Approximation Quality: The method's practicality relies on the user's ability to construct a reasonably accurate approximate operator $\tilde{L}$ and effectively model the resulting latent prior $\tilde{p}(u)$.

Summary updated

BibTeX
@inproceedings{chen2026latent,
  author = {Youguang Chen and George Biros},
  title = {{Latent-IMH: Efficient Bayesian Inference for Inverse Problems with Approximate Operators}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=JXPy8g8pWF},
}
Figure