Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

PairRE: Knowledge Graph Embeddings via Paired Relation Vectors

About

Distance based knowledge graph embedding methods show promising results on link prediction task, on which two topics have been widely studied: one is the ability to handle complex relations, such as N-to-1, 1-to-N and N-to-N, the other is to encode various relation patterns, such as symmetry/antisymmetry. However, the existing methods fail to solve these two problems at the same time, which leads to unsatisfactory results. To mitigate this problem, we propose PairRE, a model with paired vectors for each relation representation. The paired vectors enable an adaptive adjustment of the margin in loss function to fit for complex relations. Besides, PairRE is capable of encoding three important relation patterns, symmetry/antisymmetry, inverse and composition. Given simple constraints on relation representations, PairRE can encode subrelation further. Experiments on link prediction benchmarks demonstrate the proposed key capabilities of PairRE. Moreover, We set a new state-of-the-art on two knowledge graph datasets of the challenging Open Graph Benchmark.

Linlin Chao, Jianshan He, Taifeng Wang, Wei Chu• 2020

Related benchmarks

TaskDatasetResultRank
Link PredictionFB15k-237 (test)
Hits@1054.4
419
Link PredictionFB15k-237
MRR35.1
280
Knowledge Graph CompletionFB15k-237 (test)
MRR0.351
179
Link Predictionogbl-wikikg2 (test)
MRR0.5208
95
Link PredictionFB15k
Hits@1089.6
90
Link Predictionogbl-wikikg2 (val)
MRR0.5423
87
Link PredictionWN18
Hits@1095.6
77
Link PredictionDB100K (test)
MRR0.412
42
Knowledge Graph CompletionFB15K (test)--
41
Link Predictionogbl-biokg (test)
MRR0.8164
36
Showing 10 of 22 rows

Other info

Code

Follow for update