Optimal Transport (OT) is a powerful mathematical tool for measuring distances between data distributions. However, applying OT requires a predefined "ground metric"—the distance between individual features. Choosing this metric is notoriously difficult without labeled data. This paper introduces Wasserstein Singular Vectors, an elegant unsupervised method that jointly learns the optimal distance between samples and the optimal distance between features by framing them as a mutually reinforcing fixed-point problem.
The Ground Metric Problem
In machine learning, measuring the similarity between two samples is a foundational task. When samples are represented as histograms or probability distributions (such as the expression levels of various genes in a single cell), OT provides a geometrically meaningful way to compare them. It calculates the minimum effort required to move "mass" from one distribution to match another.
The major limitation of OT is its reliance on a ground metric. To know the cost of moving mass from Feature A to Feature B, one must first define the distance between them. In supervised learning, this metric can be learned using labels. In unsupervised settings, researchers typically rely on ad-hoc heuristics, like Euclidean distance on pre-trained embeddings. This paper asks a fundamental question: Can we discover a canonical, data-driven ground metric purely from the dataset itself, without any labels?
Wasserstein Singular Vectors
The authors propose a "bootstrapping" approach to solve this. If a distance matrix between features ($\mathbb{A}$) is known, OT can compute a distance matrix between samples ($\mathbb{B}$). Conversely, $\mathbb{B}$ can be used as the ground metric to compute a new distance between features, $\mathbb{A}$.
This relationship is formalized as a non-linear singular value problem. The goal is to find a pair of distance matrices ($\mathbb{A}, \mathbb{B}$) that act as fixed points of this mutual OT mapping. These pairs are termed Wasserstein Singular Vectors.
To make this mathematically sound and computationally feasible, the authors introduce several key techniques:
- Power Iterations: A standard algorithm adapted to iteratively update $\mathbb{A}$ and $\mathbb{B}$ until convergence.
- Stochastic Power Iterations: Because standard OT is computationally expensive ($O(n^3)$), the authors introduce a mini-batching approach similar to Stochastic Gradient Descent. Updating random pairs of distances drastically speeds up the process for large datasets.
- Entropic Regularization (Sinkhorn): Adding entropy to the OT problem smooths the optimization landscape, allows for highly parallel GPU computation, and mitigates the curse of dimensionality.
Key Insights and Theoretical Guarantees
A major takeaway from this work is the concept of intrinsic geometry. The dataset contains its own geometric structure that can be unlocked by treating sample distances and feature distances as two sides of the same coin, eliminating the need for external embeddings like Word2Vec or Gene2Vec.
Unlike many deep learning approaches, this method rests on solid non-linear Perron-Frobenius theory. The authors mathematically prove that these positive singular vectors (representing true distance matrices) exist and, under certain regularization conditions, are unique. Furthermore, they reveal a surprising connection to Principal Component Analysis (PCA): as the entropic regularization parameter approaches infinity, the Sinkhorn singular vectors mathematically reduce to squared Euclidean distances on 1D PCA embeddings, beautifully bridging modern Optimal Transport with classical dimensionality reduction.
Experimental Results
The method was evaluated on synthetic 1D translated histograms to prove convergence, and on the real-world PBMC 3k single-cell RNA sequencing dataset (2,043 cells, 1,030 genes, 6 immune cell types) to test practical utility. The goal was to see how well the learned distances naturally clustered cells by type and marker genes by their corresponding cell type, measured via Average Silhouette Width (ASW).
- Cell Clustering: Wasserstein Singular Vectors achieved an ASW of 0.348, vastly outperforming baselines like Kernel PCA (0.241), scVI embeddings (0.168), and the domain-specific Gene Mover Distance (0.066).
- Gene Clustering: For grouping marker genes, the method achieved an ASW of 0.136, significantly outperforming the Euclidean distance on Gene2Vec embeddings (0.0186).
- Qualitatively, UMAP projections using the learned distance matrices showed highly distinct, biologically accurate clustering for both cells and genes in an entirely unsupervised manner.
Limitations and Future Directions
While uniqueness is proven for heavily regularized versions of the problem, proving uniqueness for the unregularized (exact OT) case remains an open mathematical challenge. Additionally, while the stochastic approximation method is effective, its convergence rates could benefit from further algorithmic refinement. Finally, the authors suggest extending this framework to unbalanced optimal transport, which would be highly valuable for biological datasets where the total "mass" varies significantly between samples, making the metric more robust to biological noise.
Summary updated