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

Mesh Invaiant Infinite Dimensional Adaptive MCMC for Latent Gaussian Processes

Jonas Wallin, Sreekar VadlamaniNeurIPS 2026

TL;DR

When inferring continuous fields or functions (like subterranean fluid conductivity), making your computational grid finer usually breaks standard MCMC samplers—and trying to adaptively tune every coordinate at once makes things even worse. This paper introduces lightweight, adaptive MCMC algorithms that stay stable regardless of grid resolution by modifying only a slowly growing set of key prior directions. The result is up to a 3x jump in sampling efficiency without needing expensive Hessian matrices or complex geometric machinery.

What Problem Does This Paper Address?

Imagine trying to map underground rock permeability from surface pressure readings. Because the unknown is a continuous spatial field, your mathematical target lives in an infinite-dimensional space. If you discretize that space onto a 1,000-point grid and run standard Markov chain Monte Carlo (MCMC), it might work fine. Refine that grid to 10,000 points for better physics, however, and standard MCMC grinds to a halt—its acceptance rate plummets toward zero.

Algorithms like preconditioned Crank–Nicolson (pCN) and its gradient-informed cousin (pCNL) solve this "curse of dimensionality" by building proposals around the Gaussian process prior, making them mesh-invariant. However, they explore painfully slowly if the data pulls the posterior far away from the prior's mean or scale.

Naturally, you want to adapt the sampler on the fly to match the posterior. Here lies the trap: in infinite dimensions, two Gaussian distributions are almost always either "equivalent" (overlapping nicely so density ratios make sense) or "mutually singular" (living in completely disjoint worlds). If you naively adapt the mean and variance across all discretized coordinates using noisy MCMC samples, the accumulated estimation noise pushes your adapted reference measure into a disjoint mathematical universe from the prior. Under mesh refinement, your acceptance rates crash right back to zero.

Figure 1: Acceptance under mesh refinement for pCNMV with a Matérn prior and 30 fixed noisy Gaussian observations. Left: adaptation of at most 50 leading prior modes; right: adaptation of all d modes, with the same uncapped scale estimator and fixed step size β. Each point is one run with 104 warm-up transitions followed by 104 transitions of the frozen proposal.

Methods

Instead of computing heavy Hessian matrices or problem-specific subspaces, the authors propose a clean change-of-reference-measure trick. They express the prior covariance in its natural coordinate system—its ordered eigenbasis (Karhunen–Loève expansion)—and swap the prior reference measure for a diagonal, adapted Gaussian reference measure that rescales and shifts individual modes.

This yields two new samplers:

  • $\text{pCN}_\text{MV}$ (Mean-Variance-Adapted pCN): A gradient-free sampler that shifts the proposal toward the posterior mean and rescales mode variances.
  • $\text{pCN}_\text{LV}$ (Variance-Adapted pCNL): A gradient-based Langevin sampler that rescales mode variances (plus a variant, $\text{pCN}_\text{LV}\text{-F}$, using diagonal inverse-Fisher scaling).

To learn these parameters online without breaking measure equivalence, the authors match moments (which minimizes Kullback–Leibler divergence) or use diagonal Fisher scores, paired with online truncated adaptation. Rather than adapting all modes at once, they restrict updates to an active finite set of $N_j$ leading prior modes, leaving all remaining modes untouched at their prior values. Crucially, unlike prior methods that fix $N$ permanently, $N_j$ grows slowly as iterations proceed—meaning there is no hard ceiling on adaptation, yet at every finite step, measure equivalence is mathematically guaranteed.

Datasets

No new datasets are introduced; the authors evaluate their samplers on three established benchmark setups:

  1. 1D Conjugate Gaussian Regression: A synthetic benchmark on $[0, 1]$ (400 grid points, Matérn prior) where exact optimal parameters are known analytically.
  2. Nonlinear Darcy Flow Inverse Problem: Inferring a 2D log-conductivity field on $[0, 1]^2$ from 500 noisy pressure observations governed by an elliptic PDE, using a Dirichlet–Neumann averaging (DNA) Matérn prior.
  3. Bayesian Logistic Regression: Five standard binary classification datasets where covariates act as GP input locations: Australian ($n=690, p=14$), Heart ($n=270, p=13$), German ($n=1000, p=24$), Pima ($n=532, p=7$), and Ripley ($n=250, p=2$).

Key Insights and Ideas

  • Why Langevin doesn't care about the mean: When the authors derived the math for a mean-and-variance-adapted Langevin ($\text{pCNL}$) sampler, the mean parameter $m$ algebraically canceled out of the proposal! Because gradients already point toward high-probability regions, $\text{pCNL}$ only benefits from variance scaling. Conversely, gradient-free $\text{pCN}_\text{MV}$ acts like a "poor man's Langevin," replacing local gradient drift with its global posterior expectation.
  • Truncation tames estimation noise: Raw online sample means almost never live in the required smoothness space (the Cameron–Martin space) due to high-frequency Monte Carlo noise. Truncating the active set acts as a mathematical firewall, keeping step-size ($\beta$) adaptation fast and stable.
Truncated adaptation (green) cleanly recovers true multipliers and rapidly drives step-size beta toward 1, while global adaptation (red) stays noisy and stalls.

Key Results

  • Gaussian Benchmark: Truncated $\text{pCN}_\text{MV}$ achieves orders-of-magnitude higher Effective Sample Size per second (ESS/s) than standard adaptive pCN, rapidly driving proposal step sizes to $\beta \approx 1$ in ~20,000 iterations (while global adaptation fails to converge after 100,000).
  • Darcy Flow PDE: Where gradients aren't readily available and every step requires an elliptic PDE solve, gradient-free $\text{pCN}_\text{MV}$ reaches a log-likelihood ESS of 312.8—roughly 3.0x higher than adaptive pCN (105.1) and 2.1x higher than fixed-subspace HuApCN (149.4).
  • Bayesian Logistic Regression: The proposed samplers beat baseline pCN and pCNL across all five datasets in ESS/s. For instance, on German, $\text{pCN}_\text{LV}\text{-F}$ hits 1,528 ESS/s compared to pCNL's 30.9 ESS/s. On four datasets, the adapted Langevin variants win; on Pima, gradient-free $\text{pCN}_\text{MV}$ takes the crown (6,827 ESS/s), showing gradients aren't always worth their compute cost.

Limitations and Future Work

Because adaptation happens strictly along the diagonal of the prior's eigenbasis, this approach comes with two main caveats:

  1. You need the prior's eigenbasis: You must know—and be able to efficiently apply and order—the prior's eigenfunctions and eigenvalues (which is easy on regular grids or with specialized constructions like DNA, but harder on arbitrary unstructured meshes).
  2. No cross-mode correlations: The diagonal structure cannot learn posterior correlations between different prior modes. When the likelihood strongly couples different prior directions, heavier low-rank, subspace, or geometric MCMC methods will likely outperform this lightweight alternative. Future work isn't explicitly mapped out by the authors, though they position these samplers as complementary tools when full geometric adaptation is too expensive.

Summary updated

BibTeX
@inproceedings{wallin2026mesh,
  author = {Jonas Wallin and Sreekar Vadlamani},
  title = {{Mesh Invaiant Infinite Dimensional Adaptive MCMC for Latent Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LiEjINF4dN},
}
Figure