Overcoming Measure Theoretic Singularities in Function Space Inference

43 concepts30 papers1 proposal

When we train a machine learning model on images, audio clips, or physical states, we typically treat the data as large, finite-dimensional vectors. However, many real-world phenomena—such as weather patterns over time, fluid dynamics, or the underlying functions represented by neural networks—are inherently continuous. Treating them as finite vectors is merely a discretization artifact.

To build truly resolution-independent models, we must shift our perspective from finite-dimensional vector spaces to infinite-dimensional function spaces.

This transition breaks the foundational mathematics of standard machine learning. Concepts we take for granted—like probability density functions, Kullback-Leibler (KL) divergences, and Maximum A Posteriori (MAP) estimation—frequently collapse, evaluating to undefined or infinite values. A growing body of research focuses on diagnosing these measure-theoretic failures and designing mathematically rigorous workarounds.

The Infinite-Dimensional Trap: Why Volume Vanishes

In finite dimensions, we rely heavily on the Lebesgue measure, which provides a natural notion of "volume." When we write down a probability density $p(x)$, we are implicitly defining how much probability mass exists per unit of Lebesgue volume.

As noted by Pillai & Thiéry, Kerrigan et al., and Jia et al., an infinite-dimensional Hilbert space cannot support a translation-invariant Lebesgue measure.

To understand why, imagine a hypercube in $D$ dimensions with a side length of $2$. If you pack it with orthogonal unit balls (radius $1$), the number of balls you can fit grows with the dimension. In an infinite-dimensional space, you can pack an infinite number of disjoint unit balls inside a bounded region. If the baseline measure of a single unit ball were any positive number $\epsilon > 0$, the total volume of the bounded space would be infinite. If it were $0$, the volume of the entire space would be $0$.

Without a valid Lebesgue measure, standard probability densities do not exist (Ying; Park et al.). We cannot define a likelihood function or a score function by simply taking the gradient of a log-density, because there is no density to begin with (Kerrigan et al.; Lim et al.).

The Pathology of Mutual Singularity

This lack of a shared reference measure leads to a catastrophic failure mode known as mutual singularity. Two probability measures are mutually singular if they assign all their probability mass to completely disjoint subsets of the space. In infinite dimensions, even slightly different stochastic processes are almost always mutually singular.

This creates a severe roadblock for Function-Space Variational Inference (VI). In standard VI, we approximate a complex target distribution (or prior) $p$ using a simpler parametric distribution $q$ (such as a neural network with a distribution over its weights) by minimizing the KL divergence:

$$\text{KL}(q \parallel p) = \int q(x) \log \frac{q(x)}{p(x)} dx$$

If $q$ and $p$ are mutually singular, the KL divergence is strictly infinite ($\infty$).

Burt et al. demonstrated that this is exactly what happens when comparing a parametric neural network to a non-degenerate stochastic process prior, such as a Gaussian Process (GP). A neural network can only express a restricted, lower-dimensional manifold of functions. The GP prior, living in the full infinite-dimensional function space, assigns a probability of zero to this exact manifold.

Because the supports of the two distributions do not match, the KL divergence blows up to infinity (Lee et al.; Ma & Hernández-Lobato). As a result, standard optimization objectives become completely undefined, making stable training impossible (Hron et al.; Bamler & Cinquin).

Redefining Distance: Regularization and Optimal Transport

To perform inference and optimization in function spaces, researchers have developed alternative mathematical frameworks that remain well-behaved despite mutual singularity.

1. Regularized Divergences

One approach is to modify the divergence metric so it penalizes differences without blowing up to infinity. Bamler & Cinquin introduced a regularized KL-divergence specifically designed to handle the dimensionality mismatch between neural networks and GP priors.

Similarly, Minh Ha Quang developed regularized versions of KL and Rényi divergences for Gaussian measures on Hilbert spaces, providing a finite metric even when the underlying measures are singular. Nielsen extended this concept to the Geometric Jensen-Shannon divergence, offering a closed-form, stable distance metric for infinite-dimensional Gaussian distributions.

2. Wasserstein Distance and Optimal Transport

Instead of comparing probabilities at identical points (like KL), the Wasserstein distance measures the geometric cost of moving one probability distribution to match another.

Wild et al. leveraged this property to introduce Gaussian Wasserstein Inference (GWI). Because the Wasserstein distance remains finite even for mutually singular measures, it bypasses the infinite-KL pathology entirely, allowing robust variational inference directly in function space.

KL Divergence (Fails):
Distribution Q (Neural Net Manifold)  --->  [No Overlap]  <--- Distribution P (Full Function Space)
Result: Infinite (∞)

Wasserstein Distance (Works):
Distribution Q  ================== (Transport Cost) ==================> Distribution P
Result: Finite and Smoothly Optimizable

Generative Modeling and Optimization Without Densities

The same measure-theoretic hurdles apply to generative models like diffusion and flow matching. In finite dimensions, these models rely on tracking probability densities or score functions over time.

To lift these models to infinite dimensions, researchers substitute the non-existent Lebesgue reference measure with a well-defined Gaussian reference measure on a Hilbert space.

  • Infinite-Dimensional Diffusion: Kerrigan et al. and Lim et al. formulated diffusion models using stochastic evolution equations. Instead of tracking gradients of log-densities, they define score functions relative to a Gaussian process background, enabling resolution-free generation of continuous curves and functions (Franzese & Michiardi).
  • Functional Flow Matching: Kerrigan et al. bypassed the need for explicit likelihoods by defining vector fields directly on Hilbert spaces, ensuring that the optimization paths remain stable and independent of discretization.

Redefining the "Mode" via Onsager-Machlup Functionals

Even finding the most likely function—the Maximum A Posteriori (MAP) estimate—requires a complete conceptual overhaul. In finite dimensions, the MAP estimate is simply the peak of the density function. In infinite dimensions, individual functions have a probability measure of exactly zero (Ayanbayev et al.).

To resolve this, Dashti et al. formalized the infinite-dimensional MAP estimator not as a density peak, but as the center of a small ball whose probability mass is maximized as the radius shrinks to zero. This limiting process yields the Onsager-Machlup functional. Minimizing this functional provides a mathematically rigorous way to locate the true "mode" of a functional distribution, bridging the gap between Bayesian nonparametrics and classical variational regularization.

By replacing finite-dimensional assumptions with the language of measures, Hilbert spaces, and regularized functionals, these techniques allow machine learning models to operate directly on the continuous fabric of functional data.

Key Foundational Work

Statistical Computing on Manifolds: From Riemannian Geometry to Computational Anatomy (2008) — contributed 1 concept elements to this direction.
Continuous lunches are free! (2007) — contributed 1 concept elements to this direction.
Selection Theorem for Systems with Inheritance (2008) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_infinite_dimensional_measure_constraints_b4dcd227,
  title = {infinite-dimensional measure constraints},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/infinite-dimensional-measure-constraints/rdr_b4dcd22701b64c2dbfff49f6831ed176},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_infinite_dimensional_measure_constraints_b4dcd227_v1,
  title = {infinite-dimensional measure constraints},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/infinite-dimensional-measure-constraints/rdr_b4dcd22701b64c2dbfff49f6831ed176/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake