[Paper Review] Learning Hierarchy-Aware Knowledge Graph Embeddings for Link Prediction
This paper proposes HAKE, a novel knowledge graph embedding model that maps entities into a polar coordinate system to explicitly model semantic hierarchies—using radial distance (modulus) for hierarchical levels and angular coordinates (phase) for entities at the same level. HAKE significantly outperforms state-of-the-art methods on link prediction benchmarks, achieving an H@10 of 0.884 on FB15k, demonstrating its effectiveness in capturing hierarchical structures.
Knowledge graph embedding, which aims to represent entities and relations as low dimensional vectors (or matrices, tensors, etc.), has been shown to be a powerful technique for predicting missing links in knowledge graphs. Existing knowledge graph embedding models mainly focus on modeling relation patterns such as symmetry/antisymmetry, inversion, and composition. However, many existing approaches fail to model semantic hierarchies, which are common in real-world applications. To address this challenge, we propose a novel knowledge graph embedding model -- namely, Hierarchy-Aware Knowledge Graph Embedding (HAKE) -- which maps entities into the polar coordinate system. HAKE is inspired by the fact that concentric circles in the polar coordinate system can naturally reflect the hierarchy. Specifically, the radial coordinate aims to model entities at different levels of the hierarchy, and entities with smaller radii are expected to be at higher levels; the angular coordinate aims to distinguish entities at the same level of the hierarchy, and these entities are expected to have roughly the same radii but different angles. Experiments demonstrate that HAKE can effectively model the semantic hierarchies in knowledge graphs, and significantly outperforms existing state-of-the-art methods on benchmark datasets for the link prediction task.
Motivation & Objective
- To address the limitation of existing knowledge graph embedding models in capturing semantic hierarchies.
- To develop a method that automatically models hierarchical structures without requiring external hierarchy annotations.
- To improve link prediction performance by explicitly representing entities at different hierarchical levels and within the same level.
- To validate that polar coordinate representation (modulus and phase) effectively captures hierarchical semantics in knowledge graphs.
Proposed method
- HAKE maps entities into a polar coordinate system, where the modulus (radial coordinate) encodes hierarchical level, with smaller radii indicating higher-level entities.
- The phase (angular coordinate) differentiates entities at the same hierarchical level, assigning them distinct angles while maintaining similar modulus values.
- The model uses a Hadamard product between entity and relation embeddings in the complex space, followed by a modulus-phase decomposition to separate hierarchical and relational information.
- A learnable bias term is introduced to improve performance, particularly in distinguishing entities at the same level.
- The loss function combines negative sampling with a margin-based ranking objective to optimize the embedding space.
- The model is trained end-to-end using stochastic gradient descent on standard link prediction datasets.
Experimental results
Research questions
- RQ1Can a knowledge graph embedding model effectively capture semantic hierarchies without relying on external hierarchy annotations?
- RQ2How does modeling entities using modulus and phase in a polar coordinate system improve link prediction performance compared to existing methods?
- RQ3To what extent do the modulus and phase components individually contribute to modeling hierarchical semantics?
- RQ4Does the combination of modulus and phase in HAKE lead to consistent performance gains across diverse benchmark datasets?
Key findings
- HAKE achieves an H@10 score of 0.884 on the FB15k dataset, significantly outperforming the best TKRL variant (0.734) and other SOTA models.
- The ablation study shows that the phase component alone (pRotatE) performs better than the modulus component, but the full HAKE model with both components achieves the best performance.
- The bias term improves H@1 performance by 4.7% on the YAGO3-10 dataset, demonstrating its effectiveness in refining predictions.
- Visualization results confirm that HAKE forms clear concentric circles in the embedding space, indicating effective modeling of hierarchical levels.
- RotatE fails to distinguish hierarchical levels, as entity embeddings are mixed in the 2D plane, while HAKE clearly separates entities by level.
- On WN18RR, HAKE successfully visualizes hierarchical relationships such as hypernymy and meronymy through structured radial and angular patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.