Abstract
We introduce principal curves in Wasserstein space and general compact metric spaces, motivated by optimal-transport-based trajectory inference in developmental biology. Our framework addresses the "seriation problem"—recovering the chronological order of cell population snapshots when time labels are unknown. We propose an estimator based on a "coupled Lloyd’s algorithm" and prove its consistency for recovering curves of probability measures. This work establishes the validity of numerical discretization schemes for principal curves, providing a rigorous foundation for high-density time-course analysis.
Introduction
Principal Component Analysis (PCA) is a cornerstone of data science, but its linear nature often fails to capture the complex, nonlinear structures inherent in biological data. Principal curves serve as a nonlinear generalization of PCA, providing a one-dimensional summary that "passes through the middle" of a dataset. While well-studied in Euclidean spaces, many modern applications—particularly in single-cell genomics—deal with data that is naturally represented as probability distributions. This paper extends the theory of principal curves to the Wasserstein space of probability measures and general metric spaces.
The Seriation Problem in Single-Cell Biology
In developmental biology, researchers use single-cell RNA sequencing (scRNA-seq) to capture "snapshots" of cell populations as they evolve. Usually, these samples are collected at known time points. However, to achieve higher temporal resolution, researchers might process many samples (e.g., embryos) in parallel. This efficiency comes at a cost: the precise "time" of each sample is lost. This creates a seriation problem: how can we take a collection of unordered probability distributions (cell populations) and arrange them along a one-dimensional path that represents their true developmental timeline?
Methodology: The Coupled Lloyd’s Algorithm
The authors define a principal curve $\gamma$ as a minimizer of a functional that balances two competing goals:
- Fit: The average squared distance from the data points to the curve must be minimized.
- Length: The curve's length is penalized to prevent it from becoming a space-filling curve that hits every point without providing a meaningful summary.
To solve this optimization problem, the paper proposes a discretization called the Coupled Lloyd’s Algorithm. This iterative process consists of three main steps:
- Partition: Assign each data distribution to its nearest "knot" on the curve, effectively creating Voronoi cells in the metric space.
- Order: Solve a Traveling Salesman Problem (TSP) to find the shortest path through the current knots, ensuring the 1D structure is maintained.
- Update: Move the knots to the Wasserstein barycenters of their assigned data points. To maintain smoothness, knots are also "pulled" by their neighbors on the curve.
Due to the non-convex nature of the objective function, the authors suggest using "k-means++" style initialization to avoid local minima.
Theoretical Contributions
A central achievement of this work is the proof of consistency. The authors demonstrate that as the number of samples ($N$), the number of cells per sample ($M$), and the number of knots ($K$) increase, the discrete estimator converges to the true underlying curve in Wasserstein space. This result is significant as it provides the first rigorous guarantee for principal curve estimation in such complex metric spaces, a result that was previously unproven even for standard Euclidean principal curves in certain settings.
Experimental Evaluation
The method was evaluated using synthetic datasets designed to mimic biological branching events, such as cell differentiation.
- Robustness to Gaps: Unlike spectral seriation methods, which rely on the Laplacian of a graph and often fail when data is sparse or "gappy," the principal curve approach is highly robust. Its length penalty naturally "bridges" gaps in the data using geodesics (the shortest path in that space).
- Handling Branching: By treating the entire population at a given time as a single point in Wasserstein space, the algorithm can effectively model branching trajectories that often confuse standard pseudotime algorithms.
- Performance Metrics: Using a normalized version of Kendall’s Tau distance to measure ordering accuracy, the authors found that their method is competitive with spectral seriation on simple datasets and significantly superior on sparse data with low-resolution gaps.
Conclusion and Future Work
By framing the problem in general metric spaces, the authors provide a unified mathematical machinery for handling both Euclidean and distribution-valued data. While the computational complexity of solving the TSP and calculating Wasserstein barycenters remains a challenge, the theoretical consistency and robustness to sparse data make this a promising tool for high-density biological time courses. Future research will explore the statistical trade-offs between the number of cells per time point and the total number of time points, as well as validation on real-world biological datasets.
Summary updated