Gaussian Processes on Distributions based on Regularized Optimal Transport

François Bachoc, Louis Béthune, Alberto González-Sanz, Jean-Michel Loubes

Abstract

This paper introduces a novel, computationally efficient kernel for Gaussian Processes (GPs) where the inputs are probability distributions. By leveraging the dual potentials from entropic regularized optimal transport (Sinkhorn), we create a Hilbertian embedding that is theoretically universal and invariant to rigid transformations. Our approach allows the reference measure to be optimized alongside GP hyperparameters, resulting in significant speedups and improved accuracy over traditional methods like Maximum Mean Discrepancy (MMD).

Introduction

Gaussian Processes are a cornerstone of Bayesian machine learning, but they traditionally operate on vector-valued inputs. Many real-world data types—such as point clouds, images, and histograms—are more naturally represented as probability distributions. Applying GPs to these objects requires a kernel that captures the underlying geometry of the distribution space. While Optimal Transport (OT) provides the Wasserstein distance as a natural metric, it is computationally expensive and does not directly yield the Hilbertian embedding required for valid kernels.

Methodology: The Sinkhorn u-Kernel

We propose the Sinkhorn u-Kernel, which utilizes the dual variables of the entropic regularized OT problem. For an input distribution $P$ and a fixed reference measure $U$, the Sinkhorn algorithm produces a dual potential $g_U^P$. This potential serves as a feature vector in an $L^2$ space. The similarity between two distributions $P$ and $Q$ is then defined by the $L^2$ distance between their respective potentials: $\|g_U^P - g_U^Q\|_{L^2(U)}$.

A key innovation of our method is that the reference measure $U$ is not fixed. Its support points and weights are treated as learnable parameters, optimized via gradient descent (L-BFGS) to maximize the log marginal likelihood of the GP.

Algorithm 1: The iterative process for learning kernel parameters, including the optimization of the reference measure $U$ and GP hyperparameters.

Key Insights

  • Potential as a Feature: The Sinkhorn potential acts as a rich geometric descriptor, capturing how an input distribution relates to a set of "anchor" points in the reference measure.
  • Invariance by Design: By choosing a spherical reference measure, the kernel can be made invariant to rotations and translations, a critical property for spatial data and computer vision.
  • Computational Efficiency: Using a small number of points for the reference measure $U$ allows for rapid Sinkhorn iterations, leading to significant computational gains.

Experimental Evaluation

The Sinkhorn u-Kernel was evaluated on toy regression, MNIST/Fashion-MNIST classification, and texture recognition tasks. In toy regression, the method achieved an Explained Variance Score (EVS) of 0.997, far surpassing previous OT-based kernels.

The embedding space of dual variables for a regression task, showing clear separation and a high Explained Variance Score (EVS).

Furthermore, the method demonstrated a 100x speedup compared to MMD kernels on large point cloud datasets. On MNIST, the kernel effectively classified digits by treating images as point clouds, proving its versatility beyond fixed-grid data. Even with a very low-dimensional embedding (e.g., $|u|=6$), the model captured enough information to separate complex classes.

Conclusion

The Sinkhorn u-Kernel provides a robust and efficient framework for applying Gaussian Processes to distributional data. By embedding distributions into a Hilbert space via dual potentials and optimizing the reference measure, we achieve state-of-the-art performance with significantly reduced computational overhead. Future work will explore sparse GP formulations to further scale the method to massive datasets.

Summary updated

BibTeX
@inproceedings{bachoc2023gaussian,
  author = {François Bachoc and Louis Béthune and Alberto González-Sanz and Jean-Michel Loubes},
  title = {{Gaussian Processes on Distributions based on Regularized Optimal Transport}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=2Xy6E2MNsyb},
}
Figure