Unit Ball Model for Hierarchical Embeddings in Complex Hyperbolic Space.

Huiru Xiao, Caigao Jiang, Yangqiu Song, James Zhang, Junwu Xiong

Introduction

In recent years, hyperbolic geometry—specifically the Poincaré ball model—has revolutionized representation learning for taxonomies. The core advantage lies in the exponential growth of hyperbolic volume relative to its radius, which provides a continuous approximation for tree-like structures with minimal distortion. However, traditional hyperbolic embeddings rely on constant negative curvature, making them mathematically "stiff." While they excel at modeling pure trees, they struggle with the "messy" hierarchies found in real-world data, such as multitrees or directed acyclic graphs (DAGs) where nodes may have multiple parents (1-N structures).

The Unit Ball Model in Complex Hyperbolic Space

To address these limitations, this work introduces the Unit Ball Model in complex hyperbolic space ($\mathcal{B}^n_\mathbb{C}$). Unlike standard real hyperbolic spaces, complex hyperbolic space possesses variable negative curvature. Specifically, its sectional curvature is "pinched" between $-1$ and $-1/4$. This geometric flexibility allows the model to adapt its local geometry to the specific "tree-likeness" of a local neighborhood within a graph.

Comparison of geometric properties across Euclidean, Hyperbolic, and Complex Hyperbolic spaces.

As shown in the table above, complex hyperbolic geometry retains the exponential volume growth necessary for hierarchical data while introducing variable negative curvature. This allows for a more nuanced representation of overlapping hierarchies that constant-curvature models cannot replicate.

Technical Innovations

  • Geometric Framework: The model is derived from projective geometry and the Bergman metric, providing a distance function that maintains tree-like properties while accommodating complex branching.
  • Complex Optimization: Training is conducted using Riemannian Stochastic Gradient Descent (RSGD). To handle complex-valued embeddings, the authors employ Wirtinger derivatives, a specialized calculus for complex domains, to derive gradients for backpropagation.
  • Efficiency: The approach is a gradient-based "shallow" embedding. Unlike combinatorial methods (e.g., TreeRep) that require massive memory for distance matrices, this model is highly memory-efficient, requiring orders of magnitude less space for large-scale taxonomies (e.g., 0.02 GiB vs. 226 GiB for WordNet).

Experimental Evaluation

The model was evaluated across a diverse set of datasets, including synthetic "compressed graphs," medical classifications (ICD10), lexical hierarchies (WordNet), and evolutionary genomic trees (Xiphophorus).

Key Results

  • Link Prediction: On YAGO3 and WordNet, the Unit Ball Model consistently outperformed Poincaré and Hyperboloid models in Mean Average Precision (MAP) and Hits@N. Its advantage was most pronounced in 1-N edge prediction, where standard models typically fail as the number of parents increases.
  • Multitree Reconstruction: On the Xiphophorus dataset, the model achieved a MAP of 91.95, significantly higher than the ~89.8 achieved by standard hyperbolic models.
  • Robustness: In synthetic tests where trees were corrupted into denser graphs, the performance of the Unit Ball Model degraded much more slowly than its competitors, proving the utility of variable curvature in handling non-tree noise.

Conclusion and Future Work

The Unit Ball Model demonstrates that the specific Hermitian geometry of the complex ball provides a unique structural inductive bias that real hyperbolic spaces cannot replicate. While currently focused on single-relation hierarchies, future research aims to integrate this geometry into Graph Neural Networks (GNNs) and extend it to multi-relational Knowledge Graphs. This work paves the way for more flexible geometric representations of the complex, overlapping hierarchies inherent in real-world data.

Summary updated

Abstract

Learning the representation of data with hierarchical structures in the hyperbolic space attracts increasing attention in recent years. Due to the constant negative curvature, the hyperbolic space resembles tree metrics and captures the tree-like properties of hierarchical graphs naturally, which enables the hyperbolic embeddings to improve over traditional Euclidean models. However, most graph data, even the data with hierarchical structures are not trees and they usually do not ubiquitously match the constant curvature property of the hyperbolic space. To address this limitation of hyperbolic embeddings, we explore the complex hyperbolic space, which has the variable negative curvature, for representation learning. Specifically, we propose to learn the graph embeddings in the unit ball model of the complex hyperbolic space. The unit ball model based embeddings have a more powerful representation capacity to capture a variety of hierarchical graph structures. Through experiments on synthetic and real-world data, we show that our approach improves over the hyperbolic embedding models significantly.
BibTeX
@inproceedings{xiao2021unit,
  author = {Huiru Xiao and Caigao Jiang and Yangqiu Song and James Zhang and Junwu Xiong},
  title = {{Unit Ball Model for Hierarchical Embeddings in Complex Hyperbolic Space.}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=I3HOxaZIJ0J},
}
Figure