TL;DR
ConE (Cone Embedding) is a novel knowledge graph embedding model designed to simultaneously capture multiple distinct hierarchies alongside non-hierarchical relations. By representing entities as hyperbolic cones and isolating different relations into specific geometric subspaces, ConE achieves state-of-the-art performance on both knowledge graph completion and hierarchical reasoning tasks.
What Problem Does This Paper Address?
Human knowledge is inherently hierarchical, often organized via partial orderings like "is a type of" (isA) or "is a component of" (partOf). Knowledge graphs (KGs) use these relations to structure data, but real-world KGs typically contain multiple, heterogeneous hierarchies at the same time, mixed in with non-hierarchical relations (like friendOf or synonym).
Existing knowledge graph embedding (KGE) models fail in two major ways when dealing with this complexity:
- They usually assume a single, global hierarchy, meaning distinct hierarchical relations interfere with and corrupt each other's structures during embedding.
- They fail to preserve mathematical transitivity (i.e., if $A \rightarrow B$ and $B \rightarrow C$, then $A \rightarrow C$). Common hyperbolic models use simple spatial rotations that break this property, making it difficult to reliably predict long-range ancestor-descendant relationships.
Methods
ConE addresses these challenges by embedding entities into a product space of 2D hyperbolic planes ($S = B^2 \times B^2 \times \dots \times B^2$), where coordinates correspond to 2D hyperbolic cones.
The core technical innovations include:
- Restricted Cone Rotations: To model hierarchical relations, ConE uses a specialized rotation transformation that restricts the rotation angle within the aperture of the parent cone. This geometrically guarantees cone containment—meaning a child entity's cone always stays inside its parent's cone, naturally preserving transitivity.
- Relation-Specific Subspace Allocation: To prevent different hierarchies from interfering with one another, ConE uses a masking technique to assign unique, distinct subspaces (subsets of the hyperbolic planes) to each hierarchical relation.
- Dual-Pattern Modeling: Non-hierarchical relations are modeled using standard, unrestricted hyperbolic rotations. For hierarchical relations, ConE applies restricted rotations inside their designated subspace to preserve order, and general rotations in the remaining dimensions to capture non-hierarchical properties like symmetry or composition.
Datasets
The authors evaluated ConE across four distinct benchmarks:
- WN18RR: A standard WordNet-derived lexical KG featuring hierarchies like
hypernymandhas_part. - DDB14: A drug database knowledge graph containing medical and chemical hierarchies (e.g.,
subtype_of). - GO21: A newly curated biological knowledge graph introduced in this paper. It contains 89,127 entities and models genes, proteins, drugs, and diseases, with roughly 35% of its links representing biological process hierarchies.
- FB15k-237: A standard, mostly non-hierarchical common knowledge graph used to test the model's versatility.
Key Insights and Ideas
- Hierarchy Isolation via Subspaces: The defining "aha moment" of the paper is that multiple conflicting hierarchies can successfully coexist in a single embedding space, provided they are isolated into unique, relation-specific subspaces.
- Standard Rotations Break Trees: While hyperbolic rotations (like those in RotH) are excellent for graph completion, they inherently fail at hierarchical reasoning because repeating a rotation moves an entity along a curve rather than deeper into a tree. Restricting the rotation to enforce cone containment fixes this mathematical flaw.
- Cross-Relation Synergy: By simultaneously modeling non-hierarchical relations (e.g.,
sisterTerm) and hierarchical ones, ConE can logically infer missing hierarchical links (e.g.,subClass) that purely hierarchical models would fail to find.
Key Results
- Hierarchical Reasoning: On the ancestor-descendant prediction task, ConE outperformed the previous best models by an average of 20% across WN18RR, DDB14, and GO21.
- Lowest Common Ancestor (LCA) Prediction: ConE demonstrated massive flexibility, improving LCA prediction performance by over 100% in Hits@3 and Hits@10 metrics compared to baseline models.
- Knowledge Graph Completion: ConE achieved new state-of-the-art results on hierarchical graphs, yielding a 45.3% Hits@1 on WN18RR (a 0.9% absolute improvement) and 16.1% Hits@1 on DDB14 (a 4.5% absolute improvement).
Limitations and Future Work
- Optimization Difficulties: Hyperbolic cones are notoriously difficult to optimize from random initializations. To circumvent this, the authors had to implement a multi-step training pipeline, pre-training the embeddings using a rotation-only model (RotC) before training ConE.
- Simplistic Subspace Sizing: For simplicity, the authors allocated equal-dimensional subspaces for all hierarchical relations. They note that exploring dynamic or automated subspace dimension allocation based on the complexity of each individual hierarchy is a promising direction for future work.
Summary updated