Introduction
Presented at ACL 2024, LorentzKG introduces a novel framework for Knowledge Graph Embeddings (KGE) that operates entirely within hyperbolic space. By utilizing Lorentz transformations, the model avoids the common pitfalls of "tangent space approximations," resulting in a mathematically robust and parameter-efficient approach for capturing complex relational patterns, particularly hierarchies.
The Challenge of Hyperbolic Embeddings
Knowledge Graphs (KGs) represent facts as triples of (head entity, relation, tail entity). While Euclidean space is the traditional choice for embedding these entities, it often fails to efficiently represent hierarchical structures like taxonomies or family trees. Hyperbolic space is inherently better suited for such data because its volume grows exponentially with its radius, mirroring the branching nature of trees.
However, most existing hyperbolic KGE models are not "fully" hyperbolic. They typically rely on tangent space approximations, where data is mapped from the curved manifold to a flat Euclidean tangent space for operations and then projected back. This process introduces numerical instability, computational overhead, and significant distortion for points far from the origin.
Methodology: LorentzKG
LorentzKG represents entities as points within the Lorentz model of hyperbolic space. Instead of relying on Euclidean-style operations in a tangent space, it employs the positive Lorentz group—linear isometries that preserve the Lorentz model's structure.
The core of LorentzKG lies in decomposing Lorentz transformations into two primary operations:
- Lorentz Rotation/Reflection: These operations rotate points around the origin while maintaining a constant "radius" (distance from the center). This is effective for modeling logical patterns such as symmetry and inversion.
- Lorentz Boost: This operation moves points along hyperbolic trajectories, changing their radius. This mechanism is crucial for modeling hierarchies, as entities at different levels naturally reside at different distances from the origin.
The model computes a triple's score by applying relation-specific Lorentz transformations to the head and tail entities and measuring the squared Lorentzian distance between them.
Experimental Results
LorentzKG was evaluated on several standard benchmarks, including WN18RR (high hierarchy, few relations), FB15k-237 (complex graph, many relations), and the CoDEx datasets.
Performance and Efficiency
LorentzKG achieved state-of-the-art (SOTA) results across these benchmarks. On WN18RR, it reached a Mean Reciprocal Rank (MRR) of 50.2, outperforming previous hyperbolic and Euclidean models. Notably, LorentzKG demonstrates extreme parameter efficiency; it achieves these results with only 32 dimensions, whereas Euclidean models like RotatE often require 1,000 dimensions to reach comparable performance.
As shown in the results, LorentzKG consistently outperforms both traditional Euclidean models and "pseudo-hyperbolic" models that rely on tangent space mappings. Furthermore, the model uses approximately 1.4M parameters, a significant reduction compared to the 20M–40M parameters required by some baselines.
Conclusion
LorentzKG demonstrates that "hyperbolic purity"—performing operations directly on the manifold—is superior to tangent space approximations. By leveraging Lorentz boosts to capture hierarchy and rotations for logical patterns, the model provides a robust, low-dimensional solution for knowledge graph embedding. Future research may involve integrating these transformations into Hyperbolic Graph Neural Networks (HGNNs) and testing on larger, industrial-scale datasets.
Summary updated