Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representations

Learning good representations on multi-relational graphs is essential to knowledge base completion (KBC). In this paper, we propose a new self-supervised training objective for multi-relational graph representation learning, via simply incorporating relation prediction into the commonly used 1vsAll objective. The new training objective contains not only terms for predicting the subject and object of a given triple, but also a term for predicting the relation type. We analyse how this new objective impacts multi-relational learning in KBC: experiments on a variety of datasets and models show that relation prediction can significantly improve entity ranking, the most widely used evaluation task for KBC, yielding a 6.1% increase in MRR and 9.9% increase in Hits@1 on FB15k-237 as well as a 3.1% increase in MRR and 3.4% in Hits@1 on Aristo-v4. Moreover, we observe that the proposed objective is especially effective on highly multi-relational datasets, i.e. datasets with a large number of predicates, and generates better representations when larger embedding sizes are used.

PDF Abstract AKBC 2021 PDF AKBC 2021 Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Link Prediction Aristo-v4 ComplEx-N3-RP MRR 0.311 # 1
Hits@1 0.24 # 1
Hits@3 0.336 # 1
Hits@10 0.447 # 1
Link Prediction CoDEx Large ComplEx-N3-RP MRR 0.345 # 1
Hits@1 0.277 # 1
Hits@3 0.377 # 1
Hits@10 0.473 # 1
Link Prediction CoDEx Medium ComplEx-N3-RP MRR 0.352 # 1
Hits@1 0.277 # 1
Hits@3 0.386 # 1
Hits@10 0.490 # 1
Link Prediction CoDEx Small ComplEx-N3-RP MRR 0.473 # 1
Hits@1 0.375 # 1
Hits@3 0.514 # 1
Hits@10 0.663 # 1
Link Prediction FB15k-237 TuckER-RP MRR 0.354 # 27
Hits@10 0.535 # 31
Hits@3 0.388 # 17
Hits@1 0.264 # 20
Link Prediction FB15k-237 CP-N3-RP MRR 0.366 # 13
Hits@10 0.55 # 12
Link Prediction FB15k-237 ComplEx-N3-RP MRR 0.388 # 7
Hits@10 0.568 # 5
Hits@3 0.425 # 2
Hits@1 0.298 # 4
Link Prediction FB15k-237 RESCAL-RP MRR 0.359 # 22
Hits@10 0.533 # 36
Hits@3 0.395 # 11
Hits@1 0.271 # 11
Link Property Prediction ogbl-biokg ComplEx-N3-RP Test MRR 0.8494 # 2
Validation MRR 0.8497 # 2
Number of params 187750000 # 2
Link Property Prediction ogbl-wikikg2 ComplEx-N3-RP (100dim) Validation MRR 0.6701 # 3
Test MRR 0.6481 # 4
Number of params 500334800 # 6
Link Property Prediction ogbl-wikikg2 ComplEx-N3-RP (50dim) Validation MRR 0.6594 # 5
Test MRR 0.6364 # 6
Number of params 250167400 # 9
Link Prediction WN18RR ComplEx-N3-RP MRR 0.488 # 16
Hits@10 0.578 # 16
Hits@3 0.505 # 15
Hits@1 0.443 # 15

Methods