NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical Projections

Ines Chami, Albert Gu, Dat Nguyen, Christopher Ré

Abstract

This paper studies Principal Component Analysis (PCA) for data lying in hyperbolic spaces. Given directions, PCA relies on: (1) a parameterization of subspaces spanned by these directions, (2) a method of projection onto subspaces that preserves information in these directions, and (3) an objective to optimize, namely the variance explained by projections. We generalize each of these concepts to the hyperbolic space and propose HoroPCA, a method for hyperbolic dimensionality reduction. By focusing on the core problem of extracting principal directions, HoroPCA theoretically better preserves information in the original data such as distances, compared to previous generalizations of PCA. Empirically, we validate that HoroPCA outperforms existing dimensionality reduction methods, significantly reducing error in distance preservation. As a data whitening method, it improves downstream classification by up to 3.9% compared to methods that don't use whitening. Finally, we show that HoroPCA can be used to visualize hyperbolic data in two dimensions.

Introduction

Hyperbolic geometry has emerged as a powerful tool in machine learning for representing hierarchical data, such as taxonomies and social networks. Unlike Euclidean space, which expands polynomially, hyperbolic space expands exponentially, allowing complex tree structures to be embedded with minimal distortion in low dimensions. However, reducing the dimensionality of these embeddings for visualization or computational efficiency remains a challenge.

Standard Euclidean PCA is unsuitable for hyperbolic manifolds because it assumes a flat geometry. Previous adaptations, such as Principal Geodesic Analysis (PGA), rely on geodesic projections—mapping a point to its nearest neighbor on a subspace. The authors identify two critical flaws in this approach:

  1. Distance Distortion: Geodesic projections cause distances to shrink exponentially as points move away from the target subspace.
  2. Location Sensitivity: In hyperbolic space, translating a subspace changes the distances between projected points, making results dependent on an arbitrary "base point."

Methodology: The HoroPCA Framework

HoroPCA addresses these issues by redefining the fundamental components of PCA for hyperbolic geometry. Instead of unit vectors, HoroPCA utilizes ideal points (points on the boundary at infinity) to define directions.

The core innovation is the horospherical projection. Rather than projecting a point to the closest spot on a subspace, HoroPCA "slides" the point along a horosphere—a surface of zero curvature. The authors describe this as an "open book" decomposition, where the subspace acts as the spine and data points are collapsed onto a target page, preserving distances more effectively than traditional "straight down" projections.

Comparison of Euclidean, Hyperbolic Geodesic, and Hyperbolic Horospherical projections.

This approach preserves the Busemann coordinates of the data, analogous to how Euclidean PCA preserves dot products. The relationship between Euclidean PCA and HoroPCA is summarized in the table below:

Conceptual mapping between Euclidean and Hyperbolic components in PCA.

HoroPCA optimizes an intrinsic variance objective based on pairwise distances between projected points, avoiding the need for the computationally expensive Fréchet mean. The algorithm greedily identifies a sequence of ideal points to maximize this projected variance, creating a nested sequence of subspaces (a "flag").

Experimental Evaluation

The researchers evaluated HoroPCA on several hierarchical datasets, including phylogenetic trees, disease relationship graphs, and the WordNet noun hierarchy.

Key Results

  • Reduced Distortion: HoroPCA reduced average distance distortion by up to 77% compared to previous methods like PGA and BSA.
  • Variance Explanation: HoroPCA consistently captured a higher percentage of the data's Fréchet variance across various benchmarks.
  • Downstream Performance: When used as a whitening step, HoroPCA improved downstream classification accuracy by up to 3.9% in Average Precision.
  • Visualization: In 2D projections of the WordNet mammal hierarchy, HoroPCA maintained clear tree structures and clusters, whereas competing methods often "squashed" the data into uninterpretable forms.

Conclusion and Future Work

HoroPCA provides a robust, location-independent method for hyperbolic dimensionality reduction. By leveraging horospherical projections, it preserves the structural integrity of hierarchical data significantly better than geodesic-based methods. Future research aims to develop closed-form solutions for HoroPCA, similar to the Eigen-decomposition used in Euclidean PCA, and to integrate these primitives into more efficient hyperbolic neural network layers.

Summary updated

BibTeX
@inproceedings{chami2021horopca,
  author = {Ines Chami and Albert Gu and Dat Nguyen and Christopher Ré},
  title = {{HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical Projections}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=Lz0MFAVABlz},
}
Figure