---
title: Optimal Transport Gaussian Process
url: https://www.emergentmind.com/topics/optimal-transport-gaussian-process-ot-gp
type: topic
---

# Optimal Transport Gaussian Process

Optimal Transport Gaussian Process (OT-GP) refers to a class of models and metrics that combine optimal transport (OT) theory with Gaussian process (GP) frameworks to define distances, kernels, or generative objectives between distributions, random fields, or Gaussian processes. These constructions admit closed-form solutions for the cost of transporting one GP to another under quadratic metrics, provide tractable numerical schemes, and support a variety of learning and inference applications, such as spectral estimation, kernel regression, distributional inference, and model alignment.

## 1. Foundations: Optimal Transport and Gaussian Processes

Optimal transport addresses the problem of defining the minimal cost to move probability mass from one distribution to another, typically under a cost function such as squared Euclidean distance. In the context of Gaussian processes—viewed as Gaussian measures on infinite-dimensional Hilbert spaces—the OT cost takes a particularly tractable form when both marginal processes or fields are jointly Gaussian. The prototypical cost function is quadratic, leading to the 2-Wasserstein or Bures–Wasserstein geometry.

The OT distance $W_2^2$ between centered Gaussian measures $N(0, A)$ and $N(0, B)$ with covariance operators $A$ and $B$ is
$$
W_2^2(N(0,A),N(0,B)) = \operatorname{Tr}A + \operatorname{Tr}B - 2\operatorname{Tr}(A^{1/2}BA^{1/2})^{1/2}
$$
which remains valid for trace-class, infinite-dimensional operators and is known as the Bures–Wasserstein metric [2512.21464].

## 2. Spectral-Domain OT and Hellinger Distances for Stationary Fields

For zero-mean, multivariate, stationary Gaussian random fields $x_t, y_t$ on $\mathbb{Z}^d$, the OT problem can be formulated in terms of their power spectral densities (PSDs) $\Phi_x(e^{j\omega})$, $\Phi_y(e^{j\omega})$. The optimal transport cost for a quadratic filter $h$, corresponding to frequency-domain weight $w(\omega)$, is given by
$$
d_w^2(S_1, S_2) = \int_{T^d} \operatorname{tr}[wS_1 + wS_2 - 2\left(S_2^{1/2} w S_1 w S_2^{1/2}\right)^{1/2}]\,d\omega
$$
where $S_1$ and $S_2$ denote the PSDs, and $d_w$ is a weighted matrix Hellinger distance. When $w = I$, this reduces to the classical (unweighted) Hellinger distance between matrix-valued spectra [2104.13707, 2009.02510].

This metric admits a geodesic between $S_1$ and $S_2$ in the space of PSDs:
$$
S_\tau(\omega) = [(1-\tau)S_1^{1/2}(\omega) + \tau S_2^{1/2}(\omega)U_W(\omega)][\text{...}]^*, \quad \tau \in [0,1]
$$
where $U_W(\omega)$ is a unitary alignment factor. The geodesic induces a smooth interpolation between the covariance kernels in the spatial domain via the (inverse) multidimensional Fourier transform.

## 3. Operator-Theoretic and Hilbert Space Formulations

In infinite-dimensional, possibly degenerate settings, classical duality-based approaches to OT are inapplicable, as the optimal Kantorovich potential is infinite almost everywhere. An operator-theoretic framework leverages Green's operators and the Douglas factorization lemma to construct explicit Monge maps $T$ between Gaussian processes:
$$
T = A^{-1/2}(A^{1/2} B A^{1/2})^{1/2} A^{-1/2}
$$
when $A$ is invertible, with all optimal couplings remaining Gaussian and characterized entirely by covariance operators. For degenerate or infinite-dimensional covariance operators, existence and uniqueness of OT maps and couplings are governed by the positivity of the Hilbertian Schur complement $B/A$, the ranges and kernels of operators $A$, $B$, and the action of partial isometries [2512.21464].

This framework extends to the construction of barycenters in Wasserstein space by optimizing the Hilbert-Schmidt norm of averaged Green's operators, leading to explicit algorithms for Wasserstein Fréchet means [2512.21464].

## 4. Entropic OT and Sinkhorn Divergence Between Gaussian Processes

The entropic regularization of OT (Sinkhorn divergence) facilitates computation and statistical estimation in high or infinite dimensions. For Gaussian processes $f_0 \sim GP(m_0, K_0)$, $f_1 \sim GP(m_1, K_1)$ on domain $X$, the 2-Sinkhorn divergence is given by
$$
S_{2,\varepsilon}(f_0, f_1) = W_{2, \varepsilon}^2(f_0, f_1) - \tfrac12[W_{2, \varepsilon}^2(f_0, f_0) + W_{2, \varepsilon}^2(f_1, f_1)]
$$
where
$$
W_{2, \varepsilon}^2(f_0, f_1) = \|m_0 - m_1\|_{L^2(X,\rho)}^2 + \operatorname{Tr}[K_0] + \operatorname{Tr}[K_1] + \frac{\varepsilon}{2} \log\det(I + \tfrac12 M_\varepsilon) - \frac{\varepsilon}{2} \operatorname{Tr}[M_\varepsilon]
$$
with $M_\varepsilon = -I + (I + \tfrac{16}{\varepsilon^2} K_0^{1/2} K_1 K_0^{1/2})^{1/2}$ [2102.03267]. The convergence of the empirical Sinkhorn divergence estimated from finite-dimensional GP marginals is almost sure with rate $\mathcal{O}(\varepsilon^{-1}n^{-1/2})$ [2102.03267].

## 5. OT-based Kernels and Surrogate Models

The integration of OT metrics into kernel methods enables non-Euclidean similarity in structured data. In neural architecture search, a negative-definite tree-Wasserstein distance $d_{TW}$ is used as a similarity measure between network architectures, giving rise to the OT-GP kernel:
$$
k_{TW}(x, z) = \exp\left(-\frac{d_{TW}(x,z)}{\sigma_\ell^2}\right)
$$
where $d_{TW}$ is constructed as a convex combination of tree-based Wasserstein distances on bag-of-operations, indegree, and outdegree distributions, ensuring the resulting kernel is positive-definite [2006.07593].

The resulting surrogate GP models are trained by maximizing the marginal likelihood, with analytic gradients available with respect to all hyperparameters. Empirically, such OT-GP surrogates surpass classical kernels in sample efficiency and predictive accuracy on neural architecture search benchmarks [2006.07593].

## 6. OT-Driven Generative Learning with Latent Gaussian Processes

In generative modeling of temporal or structured data, OT objectives provide alignment when direct correspondences between samples are unavailable. In latent GP-OT (LGP-OT) models for scRNA-seq time course analysis, a heteroscedastic GP prior parametrizes latent trajectories, and training is driven by an entropic OT loss that matches the generated and observed distributions at each time slice:
$$
W_{p,\gamma}^p(\rho_t, \hat\rho_t) = \min_{\pi \in \Pi(a,b)} \langle \pi, C \rangle + \gamma\,KL(\pi \| a \otimes b)
$$
where $C_{ij}$ encodes pairwise costs and $\gamma$ is the entropic regularization. This approach accommodates cell-type and time asynchrony, does not rely on explicit likelihoods $p(x|z)$, and is highly scalable due to Hilbert-space GP approximation and the use of Sinkhorn iterations [2605.20989].

## 7. Adapted and Causal OT Distances for Discrete-Time Gaussian Processes

An adapted (bicausal) 2-Wasserstein distance $\mathrm{AW}_2$ for discrete-time Gaussian processes is defined by minimizing over bicausal couplings. For $\mu_1 = \mathcal{N}(m^{(1)}, \Sigma^{(1)})$ and $\mu_2 = \mathcal{N}(m^{(2)}, \Sigma^{(2)})$, with Cholesky factors $L, M$, the adapted Bures-Wasserstein distance is
$$
d_\mathrm{ABW}^2(\Sigma^{(1)}, \Sigma^{(2)}) = \operatorname{Tr}(\Sigma^{(1)}) + \operatorname{Tr}(\Sigma^{(2)}) - 2 \sum_{t=1}^N |(L^\top M)_{tt}|
$$
with fully explicit bicausal couplings and closed-form computation at cubic complexity in state dimension [2404.06625].

---

## References

- Operator-theoretic OT for Gaussian processes and barycenters: [2512.21464]
- Matrix Hellinger distances and spectral geodesics for stationary random fields: [2104.13707], [2009.02510]
- Sinkhorn divergence for Gaussian processes: [2102.03267]
- Tree-Wasserstein OT kernels in GP surrogates: [2006.07593]
- Hilbert-Space LGP-OT model for generative learning: [2605.20989]
- Adapted OT for causal or discrete-time Gaussian processes: [2404.06625]
- Sinkhorn-embedding OT kernels between probability distributions: [2210.06574]
- Closed-form and IGW extensions for multimarginal and barycenter problems: [2512.03579]

---

OT-GP covers a spectrum of methodologies from explicit spectral geometry to scalable generative modeling, unified by the principle that optimal transport endows spaces of Gaussian processes and their practical applications with a tractable, information-rich geometry.

Source: https://www.emergentmind.com/topics/optimal-transport-gaussian-process-ot-gp