Abstract
We introduce LOT Wassmap, a computationally feasible algorithm to uncover low-dimensional structures in the Wasserstein space. The algorithm is motivated by the observation that many datasets are naturally interpreted as probability measures rather than points in $\mathbb{R}^n$, and that finding low-dimensional descriptions of such datasets requires manifold learning algorithms in the Wasserstein space. Most available algorithms are based on computing the pairwise Wasserstein distance matrix, which can be computationally challenging for large datasets in high dimensions. Our algorithm leverages approximation schemes such as Sinkhorn distances and linearized optimal transport to speed-up computations, and in particular, avoids computing a pairwise distance matrix. We provide guarantees on the embedding quality under such approximations, including when explicit descriptions of the probability measures are not available and one must deal with finite samples instead. Experiments demonstrate that LOT Wassmap attains correct embeddings and that the quality improves with increased sample size. We also show how LOT Wassmap significantly reduces the computational cost when compared to algorithms that depend on pairwise distance computations.
Introduction
In modern data science applications—ranging from medical imaging to single-cell genomics—data points are often more accurately represented as probability distributions or point clouds rather than single vectors in Euclidean space. To analyze the geometric structure of such datasets, researchers frequently turn to the Wasserstein distance ($W_2$), which provides a natural metric for comparing distributions by measuring the optimal transport cost between them.
However, applying standard manifold learning techniques like Multidimensional Scaling (MDS) or Isomap in the Wasserstein space presents a major computational challenge. These methods typically require the computation of a full pairwise distance matrix. For a dataset of $N$ distributions, this necessitates $O(N^2)$ Wasserstein distance calculations, which is prohibitively expensive for large $N$. Furthermore, in practice, we often only have access to finite samples from the underlying distributions, introducing additional approximation errors.
The LOT Wassmap Algorithm
To overcome the quadratic complexity bottleneck, this paper introduces LOT Wassmap. The algorithm integrates Linearized Optimal Transport (LOT) with a computationally efficient implementation of MDS.
Linearization via Reference Measures
The core idea of LOT is to avoid pairwise comparisons by mapping every distribution $\mu$ in the dataset to a single, fixed reference measure $\sigma$. This process embeds the distributions into a "tangent space" where the complex Wasserstein distance is approximated by a standard $L^2$ distance between transport maps. By linearizing the space around $\sigma$, the number of required optimal transport computations is reduced from $O(N^2)$ to $O(N)$.
Efficient Embedding via SVD
Rather than explicitly constructing a distance matrix and applying MDS, LOT Wassmap utilizes a "Singular Value Decomposition (SVD) trick." The authors demonstrate that computing the SVD of the centered transport maps yields an embedding equivalent to performing MDS on the linearized distance matrix. This approach is significantly more efficient, mirroring the relationship between Principal Component Analysis (PCA) and MDS in classical statistics.
Approximation and Regularization
The framework is flexible and supports various approximation schemes. For instance, it can utilize Sinkhorn distances (entropic regularization) to further accelerate the computation of individual transport plans, making the algorithm suitable for very high-dimensional data.
Theoretical Guarantees
A primary contribution of this work is the establishment of rigorous theoretical bounds on the quality of the resulting low-dimensional embeddings. The authors provide guarantees (Theorems 1.1 and 3.3) showing that the embedding error is controlled by:
- Manifold Approximation: How well the data distributions actually conform to a low-dimensional manifold structure.
- Linearization/Regularization Error: The discrepancy introduced by the LOT approximation and any entropic regularization used.
- Sampling Error: The error arising from using empirical measures (finite samples) instead of the true underlying distributions.
The analysis shows that as the number of samples $m$ per distribution increases, the empirical embedding converges to the true manifold structure at a predictable rate.
Experimental Results
The authors validated LOT Wassmap using several synthetic manifolds, including Gaussian distributions subjected to translations, rotations, and dilations.
- Computational Efficiency: In timing benchmarks, LOT Wassmap demonstrated a dramatic speedup over standard Wassmap. While the standard approach's runtime grew quadratically with the number of data points and sample size, LOT Wassmap’s runtime remained nearly linear and significantly lower.
- Structural Recovery: The algorithm successfully recovered the underlying 1D and 2D parameters of the test manifolds. Qualitative results showed that embeddings produced via both exact linear programming and Sinkhorn approximations closely matched the ground truth.
- Convergence: Quantitative experiments confirmed that the relative embedding error decreases as the sample size $m$ increases, consistent with the derived theoretical bounds.
Conclusion
LOT Wassmap offers a scalable and theoretically sound solution for dimensionality reduction in the Wasserstein space. By reducing the computational complexity from quadratic to linear and providing explicit approximation guarantees, it enables the analysis of large-scale distributional datasets that were previously computationally inaccessible. Future work may explore optimal strategies for selecting the reference measure $\sigma$ and extending the linearization techniques to manifolds with higher curvature.
Summary updated