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

Yihong Chen, Pasquale Minervini, Sebastian Riedel, Pontus Stenetorp
10/6/2021
cs.CLcs.AI

Official code: facebookresearch/ssl-relation-prediction (112 stars, Python, last commit 2022-06-06).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Simple yet SoTA Knowledge Graph Embeddings.

11219PythonOct 3, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{chen2021relation,
  title  = {Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representations},
  author = {Yihong Chen and Pasquale Minervini and Sebastian Riedel and Pontus Stenetorp},
  year   = {2021},
  eprint = {2110.02834},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02834}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.02834.svg)](https://codeofpaper.com/paper/2110.02834)

Discussion