Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representations
Yihong Chen, Pasquale Minervini, Sebastian Riedel, Pontus Stenetorp
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/facebookresearch/ssl-relation-predictionOfficialIn paperpytorch★ 111
Abstract
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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| Aristo-v4 | ComplEx-N3-RP | Hits@1 | 0.24 | — | Unverified |
| CoDEx Large | ComplEx-N3-RP | MRR | 0.35 | — | Unverified |
| CoDEx Medium | ComplEx-N3-RP | MRR | 0.35 | — | Unverified |
| CoDEx Small | ComplEx-N3-RP | MRR | 0.47 | — | Unverified |
| FB15k-237 | ComplEx-N3-RP | Hits@1 | 0.3 | — | Unverified |
| FB15k-237 | TuckER-RP | Hits@1 | 0.26 | — | Unverified |
| FB15k-237 | CP-N3-RP | Hits@10 | 0.55 | — | Unverified |
| WN18RR | ComplEx-N3-RP | Hits@10 | 0.58 | — | Unverified |