RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space

Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, Jian Tang
2/26/2019
cs.LGcs.CLstat.ML

Official code: DeepGraphLearning/KnowledgeGraphEmbedding (1,387 stars, MIT, last commit 2023-12-15).

Abstract

We study the problem of learning representations of entities and relations in knowledge graphs for predicting missing links. The success of such a task heavily relies on the ability of modeling and inferring the patterns of (or between) the relations. In this paper, we present a new approach for knowledge graph embedding called RotatE, which is able to model and infer various relation patterns including: symmetry/antisymmetry, inversion, and composition. Specifically, the RotatE model defines each relation as a rotation from the source entity to the target entity in the complex vector space. In addition, we propose a novel self-adversarial negative sampling technique for efficiently and effectively training the RotatE model. Experimental results on multiple benchmark knowledge graphs show that the proposed RotatE model is not only scalable, but also able to infer and model various relation patterns and significantly outperform existing state-of-the-art models for link prediction.

View on arXivView PDF

Code Implementations(1)

MIT
1,387270Shell, PythonJan 23, 20192 years agoMIT

Similar Papers

Cite this paper

@article{sun2019rotate,
  title  = {RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space},
  author = {Zhiqing Sun and Zhi-Hong Deng and Jian-Yun Nie and Jian Tang},
  year   = {2019},
  eprint = {1902.10197},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.10197}
}

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

Discussion