Hyperbolic geometry has emerged as a powerful tool for deep learning on hierarchical or complex graph data. Because hyperbolic space expands exponentially, it can embed massive trees with minimal distortion—a feat flat Euclidean space cannot achieve. However, most existing "hyperbolic" networks are actually hybrids: they store data in hyperbolic space but perform their core mathematical operations in a flat Euclidean "tangent space" at the origin.
In their ACL 2022 paper, "Fully Hyperbolic Neural Networks," researchers from Tsinghua University and Tencent argue that this hybrid approach creates a significant performance bottleneck. They propose HyboNet, a framework that operates entirely within the hyperbolic manifold, leading to improved stability, faster computation, and higher accuracy.
The Representation Gap in Hybrid Networks
Existing hyperbolic neural networks (HNNs) typically perform linear transformations (like $y = Wx + b$) by mapping hyperbolic points to a flat Euclidean tangent space using a logarithmic map, performing standard matrix multiplication, and then mapping the result back via an exponential map.
This "hybrid" method is problematic for several reasons. First, the log/exp maps involve complex transcendental functions that can lead to numerical instability, such as exploding gradients or "NaN" errors during training. Second, the authors prove that performing math in the tangent space at the origin is mathematically equivalent to a restricted version of hyperbolic motion. Specifically, it ignores the "Lorentz boost," effectively limiting the network's ability to transform data within the space.
Native Lorentz Transformations
The authors build HyboNet on the Lorentz (Hyperboloid) model, favored for its numerical stability compared to the Poincaré ball. Instead of relying on tangent spaces, they define a linear layer based on native Lorentz transformations.
In physics, Lorentz transformations describe how space and time change between observers and consist of two components: rotations (changing orientation) and boosts (changing velocity). The authors demonstrate that traditional HNNs only utilize a "relaxed rotation" (or pseudo-rotation), missing out on the expressive power of the boost.
By incorporating the boost operation, HyboNet can model more complex relationships that hybrid networks simply cannot represent. This native approach avoids the "range to infinity" problem that often crashes training in hybrid models.
Lorentz Centroid Attention
For the attention mechanism, HyboNet utilizes the Lorentz centroid to calculate a weighted average of points directly on the hyperboloid. Unlike the "Fréchet mean" used in other hyperbolic architectures—which requires slow, iterative solvers—the Lorentz centroid has a closed-form solution. This makes the attention mechanism significantly faster and more computationally efficient.
The framework also introduces hyperbolic versions of residual connections and position encodings, ensuring the entire architecture respects the geometry of the manifold from input to output.
Experimental Results and Stability
The authors evaluated HyboNet across a diverse range of tasks, including Knowledge Graph Completion (KGC), Machine Translation (MT), and Network Embedding.
- Knowledge Graphs: On the WN18RR dataset, HyboNet (dim=500) achieved an MRR of 51.3, significantly outperforming previous hyperbolic leaders like ATTH (48.6).
- Machine Translation: In low-dimensional settings ($d=64$), HyboNet achieved a BLEU score of 25.9 on IWSLT'14, beating both standard Transformers (23.0) and previous hyperbolic attention models (23.7).
- Numerical Stability: HyboNet demonstrated remarkable robustness. In grid searches for graph tasks, a leading baseline (LGCN) failed to finish training 70% of the time due to NaN errors. In contrast, HyboNet remained stable in 100% of the runs.
- Structural Capture: In dependency probing, HyboNet showed a much higher correlation with actual syntax tree depths than Euclidean models, proving its superior ability to capture hierarchical linguistic structures.
Conclusion
HyboNet represents a shift toward "fully" hyperbolic architectures. By replacing Euclidean-in-disguise operations with native Lorentz transformations, the model achieves state-of-the-art results while being more numerically stable and expressive. While hyperbolic math remains more complex than standard dot products, the gains in low-dimensional representation and structural understanding make it a compelling choice for hierarchical data.
Summary updated