Introduction
Gaussian Processes (GPs) are a cornerstone of Bayesian machine learning, providing robust uncertainty quantification and flexible regression capabilities. However, standard GP implementations are typically restricted to fixed-length vector inputs. In many modern domains—ranging from medical imaging and point cloud analysis to sensor networks—the fundamental unit of data is a probability distribution rather than a single point.
Comparing distributions within a GP framework requires a kernel that is both computationally efficient and mathematically valid (positive definite). While Optimal Transport (OT) offers a natural geometry for such comparisons, its application in GPs has been hindered by high computational costs and the difficulty of defining Hilbertian embeddings. This paper introduces the u-Sinkhorn kernel, a novel approach that leverages entropic regularized OT to create a fast, universal, and theoretically grounded kernel for distribution-based GPs.
The Challenge of Distributional Inputs
To use a GP on distributions, one must define a kernel $K(P, Q)$ that measures the similarity between two measures $P$ and $Q$. The Wasserstein distance, derived from OT, is often considered the gold standard for comparing distributions because it accounts for the underlying geometry of the space. However, standard OT suffers from two major drawbacks in this context:
- Computational Complexity: Solving the exact OT problem scales at $O(n^3 \log n)$, making it prohibitive for large datasets or real-time applications.
- Kernel Validity: For a GP to be well-defined, the kernel must be positive definite. Standard Wasserstein distances do not easily provide the "Hilbertian embedding" required to guarantee this property in dimensions greater than one.
Methodology: The u-Sinkhorn Kernel
The authors propose the u-Sinkhorn kernel, which overcomes these hurdles by utilizing entropic regularization and a reference-based embedding strategy.
Entropic Regularization
By adding an entropy penalty to the OT problem, the authors utilize the Sinkhorn formulation. This regularization transforms the problem into a strictly convex optimization that can be solved much faster using iterative Sinkhorn updates. This approach not only speeds up computation but also smooths the geometry, making it more amenable to optimization.
Dual Potentials as Hilbertian Embeddings
The core innovation lies in the use of dual potentials. For every Sinkhorn problem between a distribution $P$ and a fixed reference measure $U$, there exists a dual solution consisting of potential functions. The authors prove that the potential $g_U^P$—which describes the relationship between $P$ and the anchor $U$—serves as a coordinate in a Hilbert space.
The similarity between two distributions $P$ and $Q$ is then calculated based on the $L^2$ distance between their respective potentials relative to the same reference $U$: $$K(P, Q) = F(\|g_U^P - g_U^Q\|_{L^2(U)})$$ This construction ensures the kernel is positive definite and "universal," meaning it can approximate any continuous function on the space of distributions.
Optimization and Invariance
Implemented in JAX, the framework allows for the joint optimization of GP hyperparameters and the reference measure $U$. By treating the positions and weights of $U$ as learnable parameters, the GP can "focus" on the most informative regions of the distribution space. Furthermore, the authors demonstrate that if $U$ is chosen to be spherical, the resulting kernel is naturally invariant to rigid transformations like rotations, which is highly beneficial for image and shape analysis.
Experimental Evaluation
The u-Sinkhorn kernel was tested across a variety of tasks to evaluate its speed and accuracy against traditional methods like Maximum Mean Discrepancy (MMD).
- Toy Gaussian Regression: On a dataset of 100 random 2D Gaussian clouds, the method achieved an Explained Variance Score (EVS) of 0.997, a significant improvement over the 0.81 achieved by previous OT-based GP methods.
- Image Classification (MNIST & Fashion-MNIST): By treating images as 2D distributions of pixel intensities, the authors performed binary classification. Remarkably, the method achieved ~95% accuracy on MNIST using only 4 to 6 potentials. This represents a massive data compression (from 576 pixels down to 6 values) while retaining essential discriminative features.
- Texture Analysis: On the UIUC Texture Dataset, the kernel matched state-of-the-art performance, demonstrating its efficacy on complex real-world distributions.
- Efficiency: The u-Sinkhorn kernel achieved a 100x speedup over MMD methods on large point clouds, proving its viability for high-throughput applications.
Conclusion and Future Work
The u-Sinkhorn kernel represents a significant step forward for Gaussian Processes on non-vectorial data. By bridging the gap between the geometric richness of Optimal Transport and the computational requirements of GPs, the authors provide a tool that is both theoretically sound and practically efficient.
While the method shows great promise, some limitations remain. The initial choice and size of the reference measure $U$ can act as a bottleneck, and scaling the approach to very high-dimensional distributions (such as word embeddings in NLP) remains an open challenge. Nonetheless, the ability to learn the reference measure via automatic differentiation opens new doors for task-specific distributional analysis.
Summary updated