In traditional machine learning, we treat data as vectors in $\mathbb{R}^n$. Whether it is a pixel grid or a feature vector, we rely on a fundamental mathematical luxury: the Lebesgue measure. This measure allows us to define probability density functions (PDFs), calculate "scores" as gradients of log-densities, and identify the "most likely" state as the peak of a distribution.
However, when data consists of continuous curves, surfaces, or solutions to differential equations—objects that live in infinite-dimensional Hilbert or Banach spaces—this luxury vanishes. There is no translation-invariant Lebesgue measure in infinite dimensions. Without it, the very definitions of "density" and "likelihood" collapse.
Recent research has developed a rigorous framework to perform Bayesian inference and generative modeling directly in these function spaces. By shifting from "vector-thinking" to "measure-thinking," researchers have unlocked algorithms that are discretization-invariant: they work identically whether you represent a function with 10 points or 10,000.
The Problem of Measure Singularity
In finite dimensions, any two Gaussian distributions with the same support are "equivalent"—you can express one as a weighted version of the other. In infinite dimensions, the Feldman-Hajek Theorem presents a starker reality: two Gaussian measures are either perfectly equivalent or mutually singular. If they are singular, they assign probability 1 to entirely different sets of functions, making their Kullback-Leibler (KL) divergence infinite.
As Minh Ha Quang notes in Kullback-Leibler and Renyi divergences in reproducing kernel Hilbert space and Gaussian process settings, this singularity is a "pathology" that breaks standard variational inference. If your approximate posterior is singular to your prior, your optimization objective (the ELBO) becomes mathematically undefined. To solve this, researchers like Veit D. Wild propose using the Wasserstein distance instead of KL divergence, as it remains well-defined even for singular measures Generalized Variational Inference in Function Spaces: Gaussian Measures meet Bayesian Deep Learning.
Redefining the Mode with the Onsager-Machlup Functional
In $\mathbb{R}^n$, the Maximum A Posteriori (MAP) estimator is simply the point where the density is highest. But in function space, every individual "point" (a specific function) has a probability measure of zero. You cannot ask which function is "most likely" because they are all equally unlikely.
To find a meaningful "mode," Masoumeh Dashti and Andrew M. Stuart redefine the MAP estimator as the center of a "small ball" that maximizes probability as its radius shrinks to zero MAP estimators and their consistency in Bayesian nonparametric inverse problems. This leads to the Onsager-Machlup functional, a variational objective that acts as the infinite-dimensional analogue of a log-density.
Zachary Selk further bridges this to physics, showing that this functional is equivalent to the "action" in large deviation theory The Small-Noise Limit of the Most Likely Element is the Most Likely Element in the Small-Noise Limit. This provides a rigorous way to identify the "most likely path" of a stochastic process or the "most likely solution" to an inverse problem.
Discretization-Invariant Generative Models
The most significant practical application of this theory is in generative modeling. Standard Score-based Diffusion Models (SBDMs) learn to reverse a process that adds Gaussian noise to data. However, adding "standard" white noise to a continuous function is problematic: white noise has infinite energy (trace) in infinite dimensions.
To build Infinite-Dimensional Diffusion Models for Function Spaces, authors like Jakiw Pidstrigach and Sebastian Reich use trace-class covariance operators. Instead of adding independent noise to every pixel, they add "structured" noise that respects the smoothness of the function space.
By combining these Hilbert-space diffusion processes with Neural Operators—neural networks designed to map between function spaces—researchers have created models like the Hilbert Diffusion Model (HDM) Score-based Generative Modeling through Stochastic Evolution Equations in Hilbert Spaces and Denoising Diffusion Operators (DDO) Score-based Diffusion Models in Function Space. These models exhibit two remarkable properties:
- Resolution-Independence: They can be trained on low-resolution data (e.g., 32x32) and sampled at high resolution (e.g., 1024x1024) without retraining.
- Mesh-Independence: The training dynamics do not change as the discretization of the underlying function becomes finer.
Why It Works: The Radon-Nikodym Perspective
The core intuition behind all these methods is that while we cannot define an absolute density for a function $u$, we can define how much more likely $u$ is under a posterior measure $\mu$ compared to a prior measure $\nu$. This ratio is the Radon-Nikodym derivative $d\mu/d\nu$.
By formulating Bayesian inverse problems The Bayesian Approach To Inverse Problems and generative flows Functional normalizing flow for statistical inverse problems of partial differential equations in terms of these derivatives, the field has moved away from the "curse of dimensionality" that plagues discrete models. Instead of fighting the infinite dimensions, these methods embrace them, ensuring that as our sensors and simulations provide more data, our statistical tools remain mathematically sound and computationally efficient.