Command Palette
Search for a command to run...
Modeling Heterogeneous Hierarchies with Relation-specific Hyperbolic Cones
Yushi Bai; Rex Ying; Hongyu Ren; Jure Leskovec

Abstract
Hierarchical relations are prevalent and indispensable for organizing human knowledge captured by a knowledge graph (KG). The key property of hierarchical relations is that they induce a partial ordering over the entities, which needs to be modeled in order to allow for hierarchical reasoning. However, current KG embeddings can model only a single global hierarchy (single global partial ordering) and fail to model multiple heterogeneous hierarchies that exist in a single KG. Here we present ConE (Cone Embedding), a KG embedding model that is able to simultaneously model multiple hierarchical as well as non-hierarchical relations in a knowledge graph. ConE embeds entities into hyperbolic cones and models relations as transformations between the cones. In particular, ConE uses cone containment constraints in different subspaces of the hyperbolic embedding space to capture multiple heterogeneous hierarchies. Experiments on standard knowledge graph benchmarks show that ConE obtains state-of-the-art performance on hierarchical reasoning tasks as well as knowledge graph completion task on hierarchical graphs. In particular, our approach yields new state-of-the-art Hits@1 of 45.3% on WN18RR and 16.1% on DDB14 (0.231 MRR). As for hierarchical reasoning task, our approach outperforms previous best results by an average of 20% across the three datasets.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| ancestor-descendant-prediction-on-wn18rr | ConE | mAP-0%: 0.895 mAP-100%: 0.679 mAP-50%: 0.801 |
| link-prediction-on-ddb14 | ConE | Hits@1: 0.161 Hits@10: 0.364 Hits@3: 0.252 MRR: 0.231 |
| link-prediction-on-fb15k-237 | ConE | Hits@1: 0.247 Hits@10: 0.54 Hits@3: 0.381 MRR: 0.345 |
| link-prediction-on-go21 | ConE | Hit@1: 0.14 Hits@10: 0.347 Hits@3: 0.237 MRR: 0.211 |
| link-prediction-on-wn18rr | ConE | Hits@1: 0.453 Hits@10: 0.579 Hits@3: 0.515 MRR: 0.496 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.