Abstract
Hyperbolic space can naturally embed hierarchies that often exist in real-world data and semantics. While high-dimensional hyperbolic embeddings lead to better representations, most hyperbolic models utilize low-dimensional embeddings, due to non-trivial optimization and visualization of high-dimensional hyperbolic data. We propose CO-SNE, which extends the Euclidean space visualization tool, t-SNE, to hyperbolic space. Like t-SNE, it converts distances between data points to joint probabilities and tries to minimize the Kullback-Leibler divergence between the joint probabilities of high-dimensional data $X$ and low-dimensional embedding $Y$. However, unlike Euclidean space, hyperbolic space is inhomogeneous: A volume could contain a lot more points at a location far from the origin. CO-SNE thus uses hyperbolic normal distributions for $X$ and hyperbolic Cauchy instead of t-SNE's Student's t-distribution for $Y$, and it additionally seeks to preserve $X$'s individual distances to the Origin in $Y$. We apply CO-SNE to naturally hyperbolic data and supervisedly learned hyperbolic features. Our results demonstrate that CO-SNE deflates high-dimensional hyperbolic data into a low-dimensional space without losing their hyperbolic characteristics, significantly outperforming popular visualization tools such as PCA, t-SNE, UMAP, and HoroPCA which is also designed for hyperbolic data.
Introduction: The Visualization Bottleneck in Hyperbolic Space
Many real-world datasets, including social networks, biological lineages, and linguistic taxonomies, possess an inherent hierarchical structure. While standard Euclidean space struggles to represent these structures without significant distortion, hyperbolic geometry provides a natural fit. Its curved geometry acts like a continuous tree, where volume expands exponentially with radius, allowing for low-distortion embeddings of complex hierarchies.
Despite the advantages of high-dimensional hyperbolic embeddings (e.g., 50D or 100D) for representation learning, visualizing this data remains a challenge. Existing dimensionality reduction tools like t-SNE or UMAP assume Euclidean geometry, which collapses hierarchical relationships. Conversely, hyperbolic-specific methods like HoroPCA often fail to preserve local neighbor similarities. CO-SNE (Cauchy-Origin SNE) bridges this gap by "deflating" high-dimensional hyperbolic data into a 2D Poincaré ball while maintaining both local clusters and global hierarchy.
Methodology
CO-SNE adapts the t-SNE framework to the unique properties of hyperbolic space through three key innovations:
- Hyperbolic Similarity Measures: Instead of Euclidean distances, CO-SNE utilizes hyperbolic distances within the Poincaré ball. High-dimensional similarities are modeled using a Hyperbolic Normal Distribution.
- Hyperbolic Cauchy Distribution: Standard t-SNE uses a Student’s t-distribution to mitigate the "crowding problem." However, because hyperbolic volume grows exponentially, a standard t-distribution is insufficient. CO-SNE introduces a Hyperbolic Cauchy distribution with a small scale parameter ($\gamma$) to provide the necessary repulsive force to keep clusters distinct in the low-dimensional embedding.
- Hierarchy-Preserving Distance Loss: To maintain the global structure (e.g., root at the center, leaves at the boundary), CO-SNE incorporates a secondary loss function. This term encourages the norm (distance from the origin) of each point in the 2D embedding to match its norm in the original high-dimensional space.
Experimental Setup and Datasets
The effectiveness of CO-SNE was evaluated across several domains:
- Synthetic Data: 5D hyperbolic points sampled from multiple normal distributions.
- Biological Lineages: A 382-dimensional mouse myelopoiesis dataset representing cell differentiation.
- Linguistic Taxonomies: The "mammal" subtree from WordNet, embedded in 10D hyperbolic space.
- Supervised Features: Features from Hyperbolic Neural Networks (HNN) and Poincaré Variational Autoencoders (VAE) trained on MNIST.
Key Results and Insights
CO-SNE consistently outperforms both Euclidean and hyperbolic baselines in preserving the underlying data structure.
- Qualitative Performance: As shown in Figure 6, CO-SNE produces the most distinct clusters while maintaining the overall hierarchical layout. Methods like UMAP and t-SNE lose the global "origin-to-boundary" flow, while HoroPCA fails to separate local clusters effectively.
- Quantitative Information Preservation: When visualizing HNN features for MNIST, CO-SNE's 2D representation allowed a classifier to achieve 61.2% accuracy, more than double the 30.2% achieved by HoroPCA.
- Biological Fidelity: On cell lineage data, CO-SNE accurately mapped the progression from stem cells at the center to specialized cells at the periphery, reflecting known biological hierarchies better than Euclidean alternatives.
Discussion and Limitations
The "crowding problem" is significantly more pronounced in hyperbolic space due to exponential volume growth. CO-SNE addresses this by balancing KL-divergence (for local neighbors) with a specific distance-to-origin loss (for global hierarchy).
However, CO-SNE shares some limitations with traditional t-SNE. The cost function is non-convex, making it sensitive to initialization. Additionally, the balance between similarity loss ($\lambda_1$) and distance loss ($\lambda_2$) requires careful tuning. Future research may focus on improving optimization efficiency and scaling the algorithm to even larger datasets.
Summary updated