Gaussian Processes and Statistical Decision-making in Non-Euclidean Spaces

Alexander TereninarXiv 2022

Abstract

Gaussian Processes (GPs) are a cornerstone of Bayesian machine learning, offering a principled framework for uncertainty quantification. However, their deployment in complex decision-making pipelines is often restricted by two fundamental challenges: the computational cost of sampling from the posterior and the mathematical invalidity of standard kernels in non-Euclidean domains. This work introduces pathwise conditioning to enable efficient, gradient-based optimization of GP sample paths and develops a rigorous framework for defining GPs on manifolds and graphs using Stochastic Partial Differential Equations (SPDEs). These innovations bridge the gap between abstract geometry and practical machine learning, enabling data-efficient learning on complex structures ranging from traffic networks to 3D meshes.

Introduction

In Bayesian learning, Gaussian Processes are valued for their ability to provide not just predictions, but a measure of uncertainty. This makes them indispensable for decision-making tasks such as Bayesian Optimization, where an agent must balance the exploration of unknown regions with the exploitation of known optima. Despite their utility, GPs face a "computational wall" and a "Euclidean trap."

The computational wall arises because standard GP conditioning is distributional; it provides the mean and variance at specific points but makes sampling entire functions—a requirement for Thompson Sampling—computationally expensive ($O(n^3)$) and numerically unstable. The Euclidean trap refers to the assumption that data resides in flat, $\mathbb{R}^d$ space. In reality, data often lives on curved surfaces (manifolds) or interconnected structures (graphs). Simply replacing Euclidean distance with geodesic distance in standard kernels frequently results in mathematically invalid models that fail to be positive definite.

Pathwise Conditioning: Beyond Distributional Inference

To address the computational bottleneck, this research utilizes Matheron’s update rule to shift the perspective of GP inference from distributions to random functions. In this framework, the posterior is represented as a prior function plus a data-dependent update term.

This "pathwise" approach allows researchers to sample a candidate function once and then evaluate or differentiate it in linear time ($O(n)$). Because the resulting sample is a deterministic function for that specific "universe," it becomes compatible with standard gradient-based optimizers and automatic differentiation. This transformation is particularly impactful for high-resolution tasks and high-dimensional optimization, where traditional grid-search or $O(n^3)$ sampling methods become intractable.

Non-Euclidean Matérn Gaussian Processes

To enable GPs to operate on manifolds and graphs, the research moves away from distance-based kernels in favor of an SPDE-based definition. By defining GPs as solutions to Stochastic Partial Differential Equations, the model naturally respects the underlying topology of the space.

Manifolds and Graphs

For continuous surfaces, the framework employs the spectral properties—eigenvalues and eigenfunctions—of the Laplace–Beltrami operator. This ensures that the GP respects the actual curvature and connectivity of the manifold. This approach is extended to discrete spaces using the Graph Laplacian. A key theoretical contribution is the proof that as a graph mesh becomes increasingly fine, the discrete model converges to the continuous manifold version, providing a unified theory for geometric GPs.

Vector Fields

Handling vector-valued data, such as wind velocity on the Earth's surface, introduces unique topological challenges (e.g., the "hairy ball theorem"). The research introduces "Projected Kernels" to handle these fields on curved surfaces, allowing for valid statistical modeling of directional data without introducing artificial singularities.

Empirical Validation and Key Insights

The proposed methods were evaluated across a variety of synthetic and real-world datasets:

  • Bayesian Optimization: In 8D benchmarks (e.g., Ackley and Rosenbrock functions) restricted to manifolds like the rotation group $SO(3)$, the pathwise approach significantly outperformed standard baselines, demonstrating robustness against the curse of dimensionality.
  • Structural Fidelity: On the "Stanford Dragon" (a complex 3D mesh) and San Jose traffic networks, the models demonstrated that uncertainty propagates according to structural distance rather than Euclidean distance. This ensures that points separated by a physical gap but close in "as-the-crow-flies" distance do not incorrectly influence each other.
  • Efficiency: Pathwise sampling reduced the cost of evaluating $n_*$ points from $O(n^3_*)$ to $O(n_*)$, enabling high-resolution uncertainty mapping that was previously computationally ruinous.

Conclusion and Future Directions

This work demonstrates that geometry is not optional in machine learning; using mathematically sound spectral approaches is essential for valid inference on non-Euclidean data. While the initial training of these models still faces an $O(n^3)$ cost—a limitation that might be mitigated by inducing point methods—the gains in sampling efficiency and geometric accuracy are substantial.

Future research directions include "Bayesian Algorithm Execution," where GPs could model the behavior of algorithms like Dijkstra’s on uncertain graphs, and extending these frameworks to non-compact spaces and Lie groups to support advanced robotics applications.

Summary updated

BibTeX
@misc{terenin2022gaussian,
  author = {Alexander Terenin},
  title = {{Gaussian Processes and Statistical Decision-making in Non-Euclidean Spaces}},
  year = {2022},
  eprint = {2202.10613},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.10613},
}
Figure