Shrinking Embeddings for Hyper-Relational Knowledge Graphs
About
Link prediction on knowledge graphs (KGs) has been extensively studied on binary relational KGs, wherein each fact is represented by a triple. A significant amount of important knowledge, however, is represented by hyper-relational facts where each fact is composed of a primal triple and a set of qualifiers comprising a key-value pair that allows for expressing more complicated semantics. Although some recent works have proposed to embed hyper-relational KGs, these methods fail to capture essential inference patterns of hyper-relational facts such as qualifier monotonicity, qualifier implication, and qualifier mutual exclusion, limiting their generalization capability. To unlock this, we present \emph{ShrinkE}, a geometric hyper-relational KG embedding method aiming to explicitly model these patterns. ShrinkE models the primal triple as a spatial-functional transformation from the head into a relation-specific box. Each qualifier ``shrinks'' the box to narrow down the possible answer set and, thus, realizes qualifier monotonicity. The spatial relationships between the qualifier boxes allow for modeling core inference patterns of qualifiers such as implication and mutual exclusion. Experimental results demonstrate ShrinkE's superiority on three benchmarks of hyper-relational KGs.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Link Prediction | WikiPeople | MRR48.5 | 24 | |
| Link Prediction | WD50K | MRR0.345 | 22 | |
| Knowledge Graph Completion | Warden Alert Transductive | MR2.69e+3 | 16 | |
| Knowledge Graph Completion | Warden Alert (Inductive) | MR2.72e+3 | 16 | |
| Knowledge Graph Completion | UNSW-NB15 (Inductive) | MR (Mean Rank)4.012 | 12 | |
| Knowledge Graph Completion | UNSW-NB15 (Transductive) | MR4.068 | 12 | |
| Link Prediction | JF17K 45.9% qualifier ratio | MRR0.589 | 9 | |
| Link Prediction | WikiPeople 2.6% qualifier ratio (standard) | MRR0.485 | 9 | |
| Link Prediction | WD50K 33% facts with qualifiers | MRR33.6 | 5 | |
| Link Prediction | WD50K 66% facts with qualifiers | MRR51.1 | 5 |