Knowledge Graphs (KGs) serve as the backbone for many modern AI applications, representing facts as triples of entities and relations (e.g., Alice $\xrightarrow{lives\_in}$ Paris). A fundamental challenge in KG research is link prediction—the ability to infer missing facts. While many models excel at identifying frequent patterns, they often struggle with complex logical reasoning, particularly when data is sparse. This paper introduces HolmE, a novel Knowledge Graph Embedding (KGE) model that addresses these limitations by ensuring its relation embedding space is mathematically closed under composition.
The Challenge of Compositional Reasoning
Most real-world logic relies on composition patterns. For instance, if $A$ is the father of $B$, and $B$ is the mother of $C$, then $A$ is the grandfather of $C$. Standard KGE models typically learn these patterns only if they appear frequently in the training set. However, in real-world KGs, many logical combinations are rare—a phenomenon known as the "long-tail" problem.
Furthermore, existing models often lack the ability to "extrapolate." They cannot predict a relation they haven't explicitly seen during training, even if that relation is a logical combination of two known ones. The authors argue that this failure stems from a lack of mathematical "closure": when these models combine two relation mappings, the resulting mapping often falls outside the model's original definition, leading to inconsistent or failed predictions.
HolmE: A Closed-Form Solution
To solve this, the authors propose HolmE, a KGE model set in Riemannian (hyperbolic) space. Hyperbolic space is uniquely suited for KGs because its geometry naturally represents hierarchical structures more efficiently than Euclidean space.
The core innovation of HolmE lies in its mathematical formulation:
- Product Space Decomposition: Entity embeddings are represented as sub-vectors across multiple hyperbolic spaces.
- Rotation and Möbius Addition: Relations are modeled as a combination of rotation and Möbius addition (the hyperbolic equivalent of translation).
- Closure Property: Crucially, the authors provide a theoretical proof that their formulation is "closed." If you compose two HolmE relation mappings, the result is guaranteed to be a valid HolmE mapping. This "a priori logic" means the model is architecturally built to understand composition, regardless of how often a specific pattern appears in the data.
Experimental Results
The researchers evaluated HolmE against state-of-the-art models across standard benchmarks (WN18RR, FB15k-237, YAGO3-10) and logic-specific datasets like Countries.
Handling the Long-Tail
Using synthetic subsets (G0-G4) of FB15k-237 to control the frequency of composition patterns, the authors found that HolmE is significantly more robust than "unclosed" counterparts. On the G1 dataset, where patterns are rare, HolmE outperformed other models by approximately 10% in Mean Reciprocal Rank (MRR).
Zero-Shot Extrapolation
HolmE demonstrated remarkable "relation extrapolation" capabilities. In tests where a specific relation was entirely excluded from training but could be derived via composition, HolmE outperformed all other models by at least 8% in MRR. This suggests the model can mathematically derive embeddings for unseen relations based on their logical components.
Efficiency and Logic
On the Countries dataset, HolmE consistently ranked first, particularly on the "S3" task, which requires the most complex long-chain reasoning. Despite its high performance, HolmE remains computationally efficient, achieving state-of-the-art results with significantly lower embedding dimensions (e.g., 200 dimensions compared to 2000 in some competing models).
Conclusion and Future Directions
By baking logical consistency into the model's architecture through composition closure, HolmE represents a significant step forward in KGE research. It effectively addresses the long-tail problem and enables zero-shot reasoning for unseen relations. While the current model is not yet optimized for strict transitivity or complex many-to-many mappings, its closure property opens new doors for continual learning and inductive reasoning in evolving knowledge graphs.
Summary updated