Abstract
We introduce algorithms for robustly computing intrinsic coordinates on point clouds. Our approach relies on generating many candidate coordinates by subsampling the data and varying hyperparameters of the embedding algorithm (e.g., manifold learning). We then identify a subset of representative embeddings by clustering the collection of candidate coordinates and using shape descriptors from topological data analysis. The final output is the embedding obtained as an average of the representative embeddings using generalized Procrustes analysis. We validate our algorithm on both synthetic data and experimental measurements from genomics, demonstrating robustness to noise and outliers.
Introduction
Dimensionality reduction (DR) is a cornerstone of modern data science, used to project high-dimensional data into lower-dimensional space for visualization and analysis. However, DR algorithms are notoriously sensitive; minor changes in hyperparameters or the presence of outliers can lead to radically different embeddings. Currently, researchers often rely on ad hoc validation or visual inspection, lacking a principled, automated method to ensure that an embedding truly reflects the underlying geometry of the data.
Methods: An Ensemble Approach to Robustness
The proposed framework treats dimensionality reduction as an ensemble problem, consisting of four primary stages:
- Subsampling and Embedding: Instead of a single run, the algorithm takes multiple random subsamples and varies hyperparameters (e.g., neighborhood size in Isomap) to generate a large collection of candidate embeddings.
- Alignment via Generalized Procrustes Analysis: To compare embeddings that may differ by rotation, reflection, or scale, the candidates are aligned into a common coordinate system using Procrustes analysis.
- Clustering and Topological Filtering: Aligned embeddings are clustered. To identify the most faithful cluster, the pipeline employs Topological Data Analysis (TDA), specifically persistent homology. A valid coordinate chart should be contractible; embeddings exhibiting complex topological features (like "holes" caused by noise-induced short-circuits) are discarded.
- Averaging: The final coordinates are computed as the centroid (average) of the representative embeddings in the selected cluster, leveraging the "wisdom of the crowd" to smooth out noise.
Results and Validation
The algorithm was validated on both synthetic benchmarks and real-world biological datasets:
- Synthetic "Swiss Roll": Standard Isomap often fails to unroll this manifold when 5% outliers are present. The resampling approach successfully recovered the flat 2D sheet by "outvoting" the outliers.
- Genomics (PBMC and Mouse Brain): In single-cell RNA sequencing datasets, the robustified coordinates showed significantly higher stability and tighter clustering in Procrustes space compared to raw PCA or Isomap results.
- Failure Detection: Using the Buckyball dataset, the algorithm correctly identified that a sphere cannot be faithfully mapped to a 2D plane, flagging the topological mismatch—a feature missing in standard DR tools.
Discussion
While the method provides significant robustness, it introduces higher computational costs due to the ensemble nature of the process. Furthermore, the current framework is best suited for algorithms that preserve global structure (e.g., Isomap, PCA) rather than purely local methods like t-SNE or UMAP, which are difficult to align via Procrustes analysis. Future work will focus on extending these alignment techniques to local methods and scaling the pipeline for massive datasets.
Summary updated