TL;DR
ConE (Cone Embedding) is a novel knowledge graph embedding model that represents entities as cones in hyperbolic space to capture complex, overlapping hierarchies. By using relation-specific subspaces and "restricted rotations," it enforces logical constraints like transitivity, achieving state-of-the-art results on hierarchical reasoning and knowledge graph completion.
The Challenge of Heterogeneous Hierarchies
Knowledge Graphs (KGs) are massive networks of facts. These graphs often contain a complex mix of hierarchical relations (like isA, subClass, or partOf) and non-hierarchical relations (like friendOf or sister term).
While hyperbolic geometry is naturally suited for tree-like hierarchical data because its space expands exponentially, existing models face two major hurdles:
- Single Hierarchy Limitation: Most models assume there is one global hierarchy. In reality, a single KG often contains multiple, heterogeneous hierarchies that might overlap or even conflict. For example, a "Maple Tree" belongs to a biological hierarchy via
subClassand a structural hierarchy viapartOf. - Logical Inconsistency: Standard relational transformations (like simple rotations) often fail to preserve the transitivity essential to hierarchies. If $A$ is a subclass of $B$, and $B$ is a subclass of $C$, a model must logically infer that $A$ is a subclass of $C$.
Methodology: Cone Embeddings (ConE)
The authors introduce ConE, which embeds entities into a product space of $d$ 2D hyperbolic planes. Instead of representing an entity as a single point, ConE represents each entity as a hyperbolic cone.
Key Innovations
- Cone Containment for Logic: Hierarchy is modeled as geometric entailment. If entity $t$ is a descendant of entity $h$, the cone for $t$ must be entirely contained within the cone for $h$ ($C_t \subseteq C_h$). This geometric containment naturally and strictly satisfies transitivity.
- Relation-specific Subspaces: To handle multiple overlapping hierarchies, ConE assigns each hierarchical relation a specific subset of the hyperbolic planes (a subspace). Cone containment is only enforced within that specific subspace. This allows different hierarchies to coexist independently in the same embedding without "logical interference."
- Restricted Rotation: For hierarchical relations, ConE uses a specialized transformation that combines rotation and scaling. This "restricted rotation" is mathematically guaranteed to keep the child cone inside the parent cone.
For non-hierarchical relations, the model reverts to a general rotation, allowing it to capture standard graph patterns like symmetry and inversion without enforcing strict containment.
Key Insights and Results
The model was evaluated on four benchmarks: WN18RR (lexical relations), DDB14 (drug-disease database), FB15k-237 (general knowledge), and GO21 (a newly introduced biological KG curated by the authors containing 80k triples).
ConE demonstrated that while hyperbolic geometry handles the "expansion" of trees well, the transformation (how you move from head to tail) is what actually captures the logic. By isolating hierarchies into subspaces, the model successfully learns that a "Palm Tree" is a "Tree" in one set of dimensions without that fact breaking its non-hierarchical relationship to a "Plum Tree" in other dimensions.
Performance Highlights: * SOTA in KG Completion: ConE set new records for Hits@1 on WN18RR (45.3%) and DDB14 (16.1%). * Hierarchical Reasoning: On the task of predicting ancestors and descendants, ConE outperformed previous best models by an average of 20%. * Lowest Common Ancestor (LCA) Prediction: For finding the most specific shared parent of two nodes, ConE improved Hits@3 by over 100% compared to baselines.
Limitations and Future Work
Currently, ConE uses a fixed or random overlapping strategy for assigning subspaces to relations. The authors suggest that learning the optimal subspace dimensions automatically could further improve performance. Additionally, ConE relies on a pre-training heuristic (Krackhardt scores) to decide if a relation is hierarchical. Integrating this "hierarchicalness" detection directly into the end-to-end learning process remains a promising direction for future research.
Summary updated