PairRE: Knowledge Graph Embeddings via Paired Relation Vectors

Linlin Chao, Jianshan He, Taifeng Wang, Wei Chu
11/7/2020
251 citations
cs.CLcs.AI

Official code: alipay/KnowledgeGraphEmbeddingsViaPairedRelationVectors_PairRE (79 stars, Python, Apache-2.0, last commit 2021-09-28).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
7917Python, ShellNov 9, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{chao2020pairre,
  title  = {PairRE: Knowledge Graph Embeddings via Paired Relation Vectors},
  author = {Linlin Chao and Jianshan He and Taifeng Wang and Wei Chu},
  year   = {2020},
  eprint = {2011.03798},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.03798}
}

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/2011.03798.svg)](https://codeofpaper.com/paper/2011.03798)

Discussion