TL;DR
This paper introduces ConE, a novel knowledge graph embedding model that can simultaneously represent multiple, diverse hierarchies within a single knowledge graph. By embedding entities into hyperbolic cones and using relation-specific transformations, ConE achieves state-of-the-art performance on both knowledge graph completion and hierarchical reasoning tasks.
What Problem Does This Paper Address?
Knowledge graphs (KGs) are powerful tools for organizing information, and many real-world KGs contain hierarchical relationships (e.g., "is a type of," "is part of"). These hierarchies represent partial orderings among entities. However, existing KG embedding methods struggle to model multiple, heterogeneous hierarchies that often coexist within a single KG. They typically assume a single, global hierarchy, which limits their ability to perform complex reasoning. This paper aims to bridge this gap by proposing a model that can effectively capture and reason over diverse hierarchical structures alongside non-hierarchical relationships.
Methods
ConE (Cone Embedding) is the core innovation. It embeds entities into a product space of hyperbolic planes, where each entity is represented by a hyperbolic cone. Relations are modeled as transformations between these cones.
- Hyperbolic Cones: Entities are embedded as cones in hyperbolic space. This geometry is well-suited for representing hierarchical structures due to its exponential space growth.
- Relation-Specific Subspaces: To handle multiple hierarchies, ConE assigns unique "subspaces" (specific dimensions within the product space) to each hierarchical relation. This allows for enforcing hierarchical constraints (cone containment) independently for each hierarchy.
- Dual Transformations:
- Restricted Rotation: For hierarchical relations, a "restricted rotation" is used within the assigned subspace to enforce the cone containment constraint, ensuring that child cones are contained within parent cones.
- General Rotation: For non-hierarchical relations, or for the dimensions not assigned to a specific hierarchy, a standard rotation transformation is used. This allows ConE to capture other relational properties like symmetry and composition.
- Loss Function: The model is trained using a combination of a distance loss (to ensure correct entity-relation-entity predictions) and an angle loss (to enforce the cone containment constraint for hierarchical relations).
Datasets
The authors evaluated ConE on several standard knowledge graph benchmarks and introduced a new one:
- WN18RR: A well-known benchmark derived from WordNet, with a significant portion of hierarchical relations.
- DDB14: A dataset focused on diseases, drugs, and their relationships, containing some hierarchical relations.
- GO21: A newly curated biomedical knowledge graph containing genes, proteins, drugs, and diseases, with approximately 35% hierarchical relations. This dataset will be made public.
- FB15k-237: A general knowledge graph that is noted as being less hierarchical compared to the others.
Key Insights and Ideas
- Heterogeneous Hierarchies are the Norm: Real-world KGs are complex and rarely conform to a single, neat hierarchy. ConE's ability to model multiple, independent hierarchies is crucial for practical applications.
- Hyperbolic Geometry is Key: The paper reinforces the idea that hyperbolic spaces are naturally suited for representing hierarchical data, offering a more expressive embedding space than Euclidean counterparts.
- Subspace Allocation is Powerful: Assigning specific dimensions (subspaces) to different hierarchical relations is a clever way to disentangle and manage multiple hierarchies without interference.
- Dual Transformations Capture Richness: Combining restricted rotations for hierarchy with general rotations for other properties allows ConE to model both the structural ordering and the functional aspects of relations.
Key Results
ConE achieved state-of-the-art performance on several tasks:
- Hierarchical Reasoning (Ancestor-Descendant Prediction): ConE outperformed previous methods by an average of 20% across three datasets. For example, on WN18RR, it achieved an mAP of 0.801 (compared to RotH's 0.611).
- Knowledge Graph Completion: ConE achieved new state-of-the-art Hits@1 scores on WN18RR (45.3%) and DDB14 (16.1%). It also performed competitively on non-hierarchical graphs like FB15k-237.
- Lowest Common Ancestor (LCA) Prediction: ConE significantly outperformed baselines, showing over 100% improvement in Hits@3 and Hits@10 metrics, demonstrating its ability to identify nuanced hierarchical relationships.
Limitations and Future Work
- Subspace Assignment Strategy: While the paper explores overlapping vs. orthogonal subspaces, the optimal strategy for assigning subspaces to relations is an ongoing area of research. The authors note that overlapping subspaces offer better scalability.
- Hyperparameter Sensitivity: The performance of ConE can be influenced by hyperparameters like the angle loss weight (w), which balances hierarchical and completion tasks.
- Computational Cost: While ConE shows strong performance, the complexity of modeling multiple hierarchies and using hyperbolic geometry can increase computational demands.
- Future Work: The authors suggest exploring more sophisticated subspace assignment strategies and further investigating the interplay between different types of relations. They also highlight the potential for ConE in applications requiring deep hierarchical reasoning.
Summary updated