---
title: Linearized Optimal Transport (LOT)
url: https://www.emergentmind.com/topics/linearized-optimal-transport-lot
type: topic
---

# Linearized Optimal Transport (LOT)

Linearized Optimal Transport (LOT) is a mathematical and algorithmic framework that provides an explicit linear embedding of probability measures into a high-dimensional Euclidean (Hilbert) space via optimal transport theory. By fixing a reference measure, LOT maps each measure to the displacement field of its optimal transport map relative to the reference. This structure yields computational benefits for statistical analysis and machine learning tasks, notably by reducing the nonlinear geometry of Wasserstein space to a linear Euclidean one, enabling efficient variance decomposition and scalable linear learning techniques. Recent research has further extended LOT to settings involving structured data, such as Fused Gromov-Wasserstein distances, and established its effectiveness in high-dimensional and graph-based applications [2411.10204].

## 1. Core Definition and Construction of the LOT Embedding

Given a reference measure $\mu_0 = \sum_{i=1}^n a_i \delta_{x_i}$ on a space $\Omega \subset \mathbb{R}^d$ (with $a_i > 0$, $\sum_i a_i=1$), and a target measure $\mu = \sum_{j=1}^m b_j \delta_{y_j}$, LOT constructs the embedding via the barycentric projection of the optimal transport plan $\gamma^* \in \Pi(a,b)$ solving
\[
W_2^2(\mu_0, \mu) = \min_{\gamma \in \Pi(a,b)} \sum_{i,j} \gamma_{ij} \|x_i - y_j\|^2.
\]
For each template point $x_i$, the barycentric projection determines
\[
T_{\mu \to \mu_0}(x_i) = \frac{1}{a_i} \sum_{j=1}^m \gamma_{ij}^* y_j.
\]
The LOT embedding is then
\[
\Phi(\mu) = [\,\sqrt{a_1}(T_{\mu \to \mu_0}(x_1) - x_1)\,;\; \dots; \sqrt{a_n}(T_{\mu \to \mu_0}(x_n)-x_n)\,] \in \mathbb{R}^{nd}.
\]
This map is linear: geodesics in Wasserstein space through $\mu_0$ correspond to straight lines in LOT space. For two measures, the distance in LOT space is the $\ell^2$ norm of their embeddings,
\[
d_{\mathrm{LOT}}(\mu,\nu) = \|\Phi(\mu)-\Phi(\nu)\|_2,
\]
which linearly approximates their 2-Wasserstein distance near $\mu_0$ [2411.10204].

## 2. Fréchet Variance Decomposition in Wasserstein Space

For a collection $\{\mu_1,\dots,\mu_N\}$ with Wasserstein barycenter $\bar\mu$, the Fréchet variance is
\[
V_F = \frac{1}{N} \sum_{i=1}^N W_2^2(\mu_i, \bar\mu).
\]
LOT enables a variance decomposition:
\[
V_F = \underbrace{\frac{1}{N}\sum_{i=1}^N \|\Phi(\mu_i) - \bar{x}\|^2}_{\text{explained}} + \underbrace{\frac{1}{N}\sum_{i=1}^N \Big(W_2^2(\mu_i, \bar\mu) - \|\Phi(\mu_i) - \bar{x}\|^2\Big)}_{\text{residual}},
\]
where $\bar{x}$ is the mean embedding. The explained term is the trace of the covariance matrix $C$ of the LOT embeddings. Diagonalizing $C$ yields eigenvalues $\lambda_1 \geq \lambda_2 \geq \cdots \geq 0$, and the fraction of Fréchet variance explained by the first $d$ LOT coordinates is
\[
\mathrm{EV}_d = \frac{\sum_{k=1}^d \lambda_k}{\sum_{k=1}^{nd} \lambda_k} \times 100\%.
\]
This quantifies the representational efficiency of the LOT embedding and underpins the use of principal component analysis and related methods in LOT space [2411.10204].

## 3. Variance Decomposition in Fused Gromov–Wasserstein (FGW) Space

The LOT variance decomposition extends to Fused Gromov-Wasserstein (FGW) settings used for structured objects (e.g., graphs). For an object $\mathcal{X}=(X,\omega_X,\nu)$ and data $\{\mathcal{Y}^\ell=(Y^\ell,\omega_Y^\ell,\mu^\ell)\}$, the squared FGW distance is
\[
FGW_{2,\alpha}^2(\mathcal{X},\mathcal{Y}^\ell) = \min_{\gamma \in \Pi(\nu,\mu^\ell)} \Big[
\alpha \sum_{i,j} \gamma_{ij} \|x_i-y_j\|^2 +
(1-\alpha) \sum_{i,k,j,l} \gamma_{ij} \gamma_{kl} (\omega_X(x_i,x_k)-\omega_Y(y_j,y_l))^2
\Big].
\]
With barycentric projections in both node and edge domains, the total variance splits into a deterministic (explained) part—corresponding to squared Euclidean norm in the joint LOT embedding—and a residual (probabilistic) part from the FGW coupling:
\[
\frac{1}{N}\sum_{\ell=1}^N FGW_{2,\alpha}^2(\mathcal{X},\mathcal{Y}^\ell) =
\underbrace{\frac{1}{N}\sum_{\ell=1}^N FGW_{2,\alpha}^2(\mathcal{X},\mathcal{T}^\ell)}_{\text{explained}} +
\underbrace{\frac{1}{N}\sum_{\ell=1}^N C^\alpha_{FGW}(\pi^\ell)}_{\text{residual}},
\]
where $C^\alpha_{FGW}(\pi^\ell)$ is the residual GW cost [2411.10204].

## 4. Algorithms and Computational Aspects

The practical pipeline comprises several stages:

**A. Reference Barycenter Computation**

- Initialize support points and weights for $\mu_0$.
- For each measure, compute the optimal transport plan to $\mu_0$ (using entropic regularization—Sinkhorn, for speed).
- Update support locations using barycentric updates; repeat until convergence.

**B. LOT Embedding Generation**

- For each measure, solve OT to $\mu_0$, compute barycentric projections, and form embedding vectors.

**C. Covariance Analysis**

- Stack LOT embeddings into a matrix, center, and form the covariance.
- Diagonalize to obtain principal directions and—via $\mathrm{EV}_d$—quantify variance explained.

**Complexity** is dominated by OT computation (per embedding: $O(nm)$ for Sinkhorn; $O(n^3)$ for exact LP), barycenter steps ($O(Nnm)$ per iteration), and eigen-decomposition ($O((nd)^3)$, though only the top components need be computed in practice).

## 5. Empirical Results and Observed Effectiveness

Empirical analyses demonstrate strong variance-explaining and classification properties for LOT embeddings across diverse datasets [2411.10204]:

**MNIST (vision):**
- With as few as $n=7$ support points, over $87\%$ of population Fréchet variance is captured; at $n=20$, over $95\%$.
- Classification accuracy (LightGBM tree on LOT embedding) is $96.2\%$ at $n=7$, rising to $97.8\%$ at $n=50$.

**IMDB-50000 (text-graph):**
- Word2Vec clouds embedded; edge weights encode word-order structure.
- $80\%$ variance explained at $n=100$ for $\alpha=0$ (geometry-only LOT).
- Classification accuracy reaches $80\%$ in this regime.

**Diffusion Tensor MRI (biomedical):**
- Empirical measures in $\mathbb{R}^3 \times \operatorname{Sym}_3^+$.
- $>90\%$ variance at $n=50$, $75\%$ SVM accuracy for gender, outperforming mean-FA baselines.

These results indicate that low-dimensional LOT representations simultaneously achieve high explained variance and competitive accuracy, supporting the practical use of compact LOT-based representations.

## 6. Practical Guidelines and Limitations

Key recommendations include:

- Choose $n$ (template support size, embedding dimension) via the “elbow” method on the explained variance curve $\mathrm{EV}_n$; small $n$ often suffices for high coverage in vision and moderate in biomedical tasks.
- $\alpha$ should be tuned based on whether node geometry or edge structure is more relevant; for many applications, $\alpha \approx 0$ (classical LOT) is effective.
- Balance embedding dimension against computational cost: lower $n$ yields simpler eigendecomposition and faster downstream learning.
- LOT provides only a local linearization; global curvature is neglected—nonlinear OT-PCA or similar tools may be needed for heavily nonlinear datasets.
- The barycenter computation remains a major bottleneck for very large-scale datasets, though free-support Sinkhorn algorithms and stochastic Frank-Wolfe methods alleviate this.

Open directions include improved barycenter solvers, direct LOT extensions to unbalanced/partial/multimarginal OT, and adapting LOT for manifold or SPD-valued data [2411.10204].

---

**References:**

- "Fused Gromov-Wasserstein Variance Decomposition with Linear Optimal Transport" [2411.10204].
- "Linearized Wasserstein Barycenters: Synthesis, Analysis, Representational Capacity, and Applications" [2410.23602].

Source: https://www.emergentmind.com/topics/linearized-optimal-transport-lot