Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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.

Bo Xiong, Mojtaba Nayyer, Shirui Pan, Steffen Staab• 2023

Related benchmarks

TaskDatasetResultRank
Link PredictionWikiPeople
MRR48.5
24
Link PredictionWD50K
MRR0.345
22
Knowledge Graph CompletionWarden Alert Transductive
MR2.69e+3
16
Knowledge Graph CompletionWarden Alert (Inductive)
MR2.72e+3
16
Knowledge Graph CompletionUNSW-NB15 (Inductive)
MR (Mean Rank)4.012
12
Knowledge Graph CompletionUNSW-NB15 (Transductive)
MR4.068
12
Link PredictionJF17K 45.9% qualifier ratio
MRR0.589
9
Link PredictionWikiPeople 2.6% qualifier ratio (standard)
MRR0.485
9
Link PredictionWD50K 33% facts with qualifiers
MRR33.6
5
Link PredictionWD50K 66% facts with qualifiers
MRR51.1
5
Showing 10 of 12 rows

Other info

Code

Follow for update