Discretization Invariant Sampling in Function Spaces

This direction is split into other directions: dimension-independent sampling. Its last version stays readable and citable here.

Version 1 of 131 papers50 conceptsfrozen 2026-10-04

In scientific computing, we often face "inverse problems": using noisy observations to infer hidden physical properties, such as the permeability of a rock layer or the initial temperature of a cooling metal. Traditionally, these properties are treated as high-dimensional vectors. However, these vectors are actually discretizations of continuous functions.

A fundamental crisis arises when we try to improve our models: as we refine the numerical mesh to get a higher-resolution picture, standard statistical algorithms—like the Random Walk Metropolis (RWM)—slow down and eventually fail. This "curse of resolution" occurs because the computational cost of exploring the parameter space grows linearly or even exponentially with the number of grid points.

Researchers have solved this by shifting the perspective: instead of designing algorithms for vectors and hoping they work for functions, they design algorithms directly in infinite-dimensional function spaces (Hilbert spaces). This ensures that the algorithm's performance is discretization-invariant, meaning it remains stable whether you use ten grid points or ten million.

The Failure of Finite Thinking

In a standard random walk, you propose a new state by adding a small amount of noise to your current position. In high dimensions, most of these jumps lead to regions of very low probability, causing the "acceptance rate" of the algorithm to collapse. As Simon L. Cotter, Gareth O. Roberts, and David White argue in MCMC Methods for Functions: Modifying Old Algorithms to Make Them Faster, traditional methods are intrinsically linked to the dimensionality of the discretized space rather than the underlying physical problem.

When you refine a mesh, you aren't just adding more variables; you are trying to approximate a continuous field. If an algorithm is not "well-defined" in the infinite-dimensional limit, it will inevitably suffer a performance penalty as resolution increases. Sergios Agapiou and Andrew M. Stuart proved in Analysis of the Gibbs sampler for hierarchical inverse problems that standard samplers experience a linear slowdown relative to the number of dimensions, making high-fidelity imaging computationally prohibitive.

Designing for the Continuum

The breakthrough, pioneered by researchers like Masoumeh Dashti and Andrew M. Stuart in The Bayesian Approach To Inverse Problems, is to formulate the Bayesian update in the function space itself. By ensuring the posterior distribution is stable under the Hellinger metric, small measurement errors do not cause wild instabilities in the estimate, regardless of resolution.

The most successful mechanism for this is the preconditioned Crank-Nicolson (pCN) algorithm. Unlike a standard random walk, pCN uses a proposal mechanism that is "aware" of the prior distribution (often a Gaussian Random Field). As shown by Natesh S. Pillai and Alexandre H. Thiéry in Gradient Flow from a Random Walk in Hilbert Space, pCN remains efficient in infinite dimensions because its proposal distribution is "absolutely continuous" with respect to the prior. In simpler terms, the algorithm's jumps always stay within the realm of physical possibility defined by the prior, preventing the acceptance rate from crashing.

Beyond Simple Random Walks

Once the foundation of function-space sampling was laid, researchers began incorporating more sophisticated dynamics:

  • Geometric and Manifold MCMC: Algorithms like $\infty$-mMALA use the local geometry (gradients and curvatures) of the posterior to navigate complex, "curved" distributions. Alexandros Beskos and Mark A. Girolami demonstrated in Geometric MCMC for infinite-dimensional inverse problems that these methods can be two orders of magnitude more efficient than standard approaches.
  • Second-Order Dynamics: Michela Ottobre and colleagues introduced SOL-HMC, which uses non-reversible Langevin dynamics to achieve dimension-independent mixing times, effectively treating the sampling process as a continuous physical flow.
  • Non-Gaussian Priors: While Gaussian priors are common, many physical systems require edge-preserving or sparse priors. Masoumeh Dashti and Stephen Harris extended this framework to Besov priors, providing a mathematical safety net for using sparsity-promoting techniques in infinite dimensions.

The Modern Frontier: Generative AI and Variational Inference

The most recent shift involves merging these rigorous mathematical foundations with deep learning. Traditional MCMC is slow because it is iterative. New methods seek to "learn" the posterior once and then sample from it instantly.

Junxiong Jia and others have developed frameworks like the Variational Inverting Network (VINet) and Functional Normalizing Flows (FNF). These models are trained to map data directly to a posterior distribution in a Hilbert space. Because they are formulated to be discretization-invariant, a model trained on a low-resolution simulation can be applied to a high-resolution one without retraining.

Similarly, Lorenzo Baldassari and Maarten V. de Hoop have recently bridged the gap between Score-Based Generative Models and infinite-dimensional problems. By defining diffusion processes directly in function spaces, they ensure that AI-powered priors remain stable and accurate even as sensors provide increasingly fine-grained data.

Why It Works

The core intuition is that physics happens in the continuum. By treating our parameters as functions rather than lists of numbers, we inherit the stability of the underlying physical laws. Whether we are using Sequential Monte Carlo to track soil permeability or Path-Integral Molecular Dynamics to simulate quantum atoms, the goal is the same: to ensure that our computational tools do not break just because we decided to look at the world with a sharper lens.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_discretization_invariant_sampling_in_fun_34358b80,
  title = {Discretization Invariant Sampling in Function Spaces},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discretization-invariant-sampling-in-function-spaces/rdr_34358b80bbef47848bc803932d7533e7},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_discretization_invariant_sampling_in_fun_34358b80_v1,
  title = {Discretization Invariant Sampling in Function Spaces},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discretization-invariant-sampling-in-function-spaces/rdr_34358b80bbef47848bc803932d7533e7/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}