Hyperbolic Procrustes Analysis Using Riemannian Geometry

Ya-Wei Eileen Lin, Yuval Kluger, Ronen TalmonNeurIPS 2021

Overview

Researchers have developed Hyperbolic Procrustes Analysis (HPA), a purely geometric framework for aligning hierarchical datasets (like gene expressions) without needing labels or landmarks. By leveraging the Riemannian geometry of the Lorentz model, HPA outperforms density-matching methods like Optimal Transport in preserving the intrinsic structure of data during batch correction.

The Challenge of Batch Effect Removal

In modern data science, we often need to "align" different datasets—for example, combining medical data from two different hospitals that used different equipment. This process is known as batch effect removal.

If your data is hierarchical (like biological taxonomies or evolutionary trees), it is best represented in hyperbolic space—a non-Euclidean space where distances grow exponentially, much like the branches of a tree. While we have tools to align data in flat Euclidean space (Procrustes Analysis), doing so in hyperbolic space is mathematically complex. Existing unsupervised methods often rely on "density matching" (like Optimal Transport), which can inadvertently "squish" the data, destroying the very features (like cancer subtypes) that researchers want to study.

Methods: Geometric Transformations

The authors introduce HPA using the Lorentz (hyperboloid) model of hyperbolic geometry. They break the alignment into three fundamental geometric transformations:

The three geometric transformations of Hyperbolic Procrustes Analysis: translation, scaling, and wrapped rotation.
  1. Riemannian Translation: Instead of just shifting points, the method calculates the "Riemannian mean" (the geometric center) of the dataset and moves it to a target location using Parallel Transport (PT). This ensures the internal structure of the data is preserved as it moves along the curved surface of the manifold.
  2. Riemannian Scaling: The "dispersion" (spread) of the data points relative to the mean is adjusted along geodesic paths (the shortest paths on a curved surface).
  3. Riemannian Wrapped Rotation: Rotating directly on a hyperbolic manifold is tricky. Instead, HPA maps the data to a flat "tangent space," performs a standard Euclidean rotation (using Singular Value Decomposition), and then "wraps" it back onto the hyperbolic manifold.

Crucially, the authors provide a multi-set extension that allows for the simultaneous alignment of many different batches to a common global mean.

Key Insights

  • Geometry over Density: A major insight is that matching the geometry (the first and second moments) is often superior to matching the density for unsupervised tasks. Density matching often fails to recover volume-preserving maps, leading to "over-correction" where distinct biological signals are blurred together.
  • Commutativity Matters: The authors prove that translation and scaling commute, and scaling and rotation commute. However, rotation does not commute with translation because moving along a curved surface naturally introduces a "twist." Therefore, rotation must always be the final step.
  • Stability: Unlike some Optimal Transport methods, HPA is remarkably stable against noise and distortions, making it more reliable for real-world lab data.

Results on Biological Data

The paper evaluates HPA on synthetic simulations and high-stakes biological datasets, including Breast Cancer (combining METABRIC and TCGA datasets), Lung Cancer cohorts, and CyTOF (Mass Cytometry) data.

Breast cancer datasets before and after HPA alignment. After alignment, data clusters by biological subtype rather than the source batch.
  • Superior Classification: In the Breast Cancer task, HPA achieved a k-NN AUC-ROC of 0.74, significantly higher than Optimal Transport-based methods (HOT-F at 0.58 and HOT-L at 0.45). This proves HPA removes the "batch effect" while keeping the "biological signal" intact.
  • Visual Success: Visualization shows that before HPA, data points are clustered by the lab they came from. After HPA, they are clearly clustered by biological subtype.
  • Efficiency: HPA is computationally efficient and supports "out-of-sample extension," meaning you can learn an alignment on one group of patients and apply it to a new patient without re-running the whole algorithm.

Limitations and Future Work

HPA assumes that the discrepancy between datasets can be modeled by translation, scaling, and rotation. If the batch effect is highly non-linear or non-geometric, HPA might struggle. Additionally, the method requires the data to be embedded in hyperbolic space first, meaning the quality of the alignment is somewhat dependent on the quality of this initial embedding.

Future directions suggest HPA could be a precursor for transfer learning or used for multimodal data fusion, such as aligning imaging data with genomic data when both share a hierarchical structure.

Summary updated

BibTeX
@inproceedings{lin2021hyperbolic,
  author = {Ya-Wei Eileen Lin and Yuval Kluger and Ronen Talmon},
  title = {{Hyperbolic Procrustes Analysis Using Riemannian Geometry}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=KWxdXBo-7eNVL},
}
Figure