---
title: "RotatE — paper by Sun et al. (2019) — summary and ideas"
description: "For training, the authors also propose self-adversarial negative sampling. 34 references, cited by 381 papers here."
authors: ["Zhiqing Sun", "Zhi-Hong Deng", "Jian-Yun Nie", "Jian Tang"]
year: 2019
venue: "arXiv:1902.10197"
source: "https://arxiv.org/abs/1902.10197"
doi: "10.48550/arxiv.1902.10197"
arxiv: "1902.10197"
licence: "arXiv — non-exclusive licence to distribute"
licence_url: "http://arxiv.org/licenses/nonexclusive-distrib/1.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/sun-2019-rotate-knowledge-graph-embedding-relational/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/sun-2019-rotate-knowledge-graph-embedding-relational/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space

# RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space

**Authors:** [Zhiqing Sun](https://md.research.elamur.ai/free/en/authors/zhiqing-sun/), Zhi-Hong Deng, [Jian-Yun Nie](https://md.research.elamur.ai/free/en/authors/jian-yun-nie/) and [Jian Tang](https://md.research.elamur.ai/free/en/authors/jian-tang/) · **Year:** 2019 · **Venue:** arXiv:1902.10197 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

**Links:** [Publisher's page](https://arxiv.org/abs/1902.10197) · [PDF](https://arxiv.org/pdf/1902.10197) · [DOI 10.48550/arxiv.1902.10197](https://doi.org/10.48550/arxiv.1902.10197) · [arXiv 1902.10197](https://arxiv.org/abs/1902.10197) · [OpenAlex](https://openalex.org/W2909137510)

**Citations:** 692 citations (OpenAlex, 2026-10-14) · [381](https://md.research.elamur.ai/free/en/papers/sun-2019-rotate-knowledge-graph-embedding-relational/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary

The paper addresses the task of knowledge graph completion, that is, predicting missing links in fact bases such as Freebase or WordNet. To this end, entities and relations are represented as vectors. The authors argue that the quality of such a model depends on whether it can capture three typical properties of relations: symmetry or antisymmetry, the existence of an inverse relation, and composition. Previous models (TransE, DistMult, ComplEx and others) cover only some of these properties. The new model, RotatE, represents entities as complex vectors and each relation as a rotation of each coordinate of the head entity. The modulus of the relation components equals one, so only the phase changes. This simple mechanism suffices to formally describe all three properties, while time and memory costs grow linearly. For training, the authors also propose self-adversarial negative sampling. It assigns greater weight to false triples based on the model's current scores, and it can be applied to other models. RotatE outperforms the state-of-the-art methods of its time on several standard datasets. It has thus become a simple, scalable and theoretically grounded baseline model for knowledge graphs.

## Key points

- **Model idea:** a relation acts as element-wise multiplication by a complex number with modulus 1. Symmetric relations have phases of 0 or π, inverse pairs have conjugate vectors, and composition corresponds to the sum of phases. TransE is a limiting case of RotatE, and TorusE is a special case with a fixed modulus.
- **Evaluation data:** FB15k, WN18, FB15k-237, WN18RR, YAGO3-10 (123,182 entities, 37 relations) and Countries, a dataset created specifically to test composition.
- **Results (mean MRR over three runs with different seeds):** FB15k ≈ 0.797, WN18 ≈ 0.949, FB15k-237 ≈ 0.337, WN18RR ≈ 0.477. On YAGO3-10, MRR is 0.495 versus 0.44 for ConvE, and Hits@10 is 0.670. The variance between runs does not exceed ±0.001.
- **Ablation on FB15k-237:** self-adversarial sampling improves MRR for both RotatE and TransE (for RotatE, from 0.297 to 0.338). The negative-sampling-based loss yields a gain only for RotatE.
- **Resource:** the code is published in the `DeepGraphLearning/KnowledgeGraphEmbedding` repository on GitHub. The embedding dimension in the paper is 500–1000, and the number of negative samples ranges from 64 to 1024 depending on the dataset.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Peking University](https://md.research.elamur.ai/free/en/universities/peking-university/) — University, Beijing, China · 244 works · 39,359 citations
- [Université de Montréal](https://md.research.elamur.ai/free/en/universities/universite-de-montreal/) — University, Montreal, Canada · 68 works · 79,382 citations

📚 Shelves (5): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works · [🗄️ Information Systems](https://md.research.elamur.ai/free/en/shelves/computer-science/information-systems/) · 1,437 works

🧭 Topics (1): [🕸️ Knowledge graphs & ontologies](https://md.research.elamur.ai/free/en/topics/knowledge-graphs/) · 192 works

💡 Concepts (1): [💡 Knowledge graph](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/) · 49 works

## Cite

Cite as: Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie and Jian Tang. 2019. RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space. arXiv:1902.10197.

The paper itself, not this page. BibTeX from the library's record of the work.

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

- [← previous Transfer Learning in Biomedical Natural Language Processing: An Evaluation of BERT and ELMo on Ten Benchmarking Datasets](https://md.research.elamur.ai/free/en/papers/peng-2019-transfer-learning-biomedical-natural-language/)
- [next → VL-BERT: Pre-training of Generic Visual-Linguistic Representations](https://md.research.elamur.ai/free/en/papers/su-2019-vl-bert-pre-training-generic/)
- [↑ back to papers of 2019](https://md.research.elamur.ai/free/en/papers/2019/)

## References

34 references, 12 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. Freebase: a collaboratively created graph database for structuring human knowledge. In Proceedings of the 2008 ACM SIGMOD international conference on Management of data, pp. 1247–1250. [find](https://scholar.google.com/scholar?q=Kurt+Bollacker%2C+Colin+Evans%2C+Praveen+Paritosh%2C+Tim+Sturge%2C+and+Jamie+Taylor%2E+Freebase%3A+a+collaboratively+created+graph+database+for+structuring+human+knowledge%2E+In+Proceedings+of+the+2008+ACM+SIGMOD+i)
2. Antoine Bordes, Jason Weston, Ronan Collobert, Yoshua Bengio, et al. Learning structured embeddings of knowledge bases. In AAAI, volume 6, pp. 6, 2011. [find](https://scholar.google.com/scholar?q=Antoine+Bordes%2C+Jason+Weston%2C+Ronan+Collobert%2C+Yoshua+Bengio%2C+et+al%2E+Learning+structured+embeddings+of+knowledge+bases%2E+In+AAAI%2C+volume+6%2C+pp%2E+6%2C+2011%2E)
3. Antoine Bordes, Nicolas Usunier, Alberto Garcia-Duran, Jason Weston, and Oksana Yakhnenko. [Translating embeddings for modeling multi-relational data](https://md.research.elamur.ai/free/en/papers/bordes-2013-translating-embeddings-modeling-multi-relational/). In Advances in neural information processing systems, pp. 2787–2795, 2013.
4. Guillaume Bouchard, Sameer Singh, and Theo Trouillon. On approximate reasoning capabilities of low-rank vector spaces. AAAI Spring Syposium on Knowledge Representation and Reasoning (KRR): Integrating Symbolic and Neural Approaches, 2015. [find](https://scholar.google.com/scholar?q=Guillaume+Bouchard%2C+Sameer+Singh%2C+and+Theo+Trouillon%2E+On+approximate+reasoning+capabilities+of+low%2Drank+vector+spaces%2E+AAAI+Spring+Syposium+on+Knowledge+Representation+and+Reasoning+%28KRR%29%3A+Integrating)
5. Liwei Cai and William Yang Wang. Kbgan: Adversarial learning for knowledge graph embeddings. arXiv preprint arXiv:1711.04071, 2017. [find](https://scholar.google.com/scholar?q=Liwei+Cai+and+William+Yang+Wang%2E+Kbgan%3A+Adversarial+learning+for+knowledge+graph+embeddings%2E+arXiv+preprint+arXiv%3A1711%2E04071%2C+2017%2E)
6. Rajarshi Das, Arvind Neelakantan, David Belanger, and Andrew McCallum. soning over entities, relations, and text using recurrent neural networks. arXiv:1607.01426, 2016. [find](https://scholar.google.com/scholar?q=Rajarshi+Das%2C+Arvind+Neelakantan%2C+David+Belanger%2C+and+Andrew+McCallum%2E+soning+over+entities%2C+relations%2C+and+text+using+recurrent+neural+networks%2E+arXiv%3A1607%2E01426%2C+2016%2E)
7. Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. Convolutional 2d knowledge graph embeddings. arXiv preprint arXiv:1707.01476, 2017. [find](https://scholar.google.com/scholar?q=Tim+Dettmers%2C+Pasquale+Minervini%2C+Pontus+Stenetorp%2C+and+Sebastian+Riedel%2E+Convolutional+2d+knowledge+graph+embeddings%2E+arXiv+preprint+arXiv%3A1707%2E01476%2C+2017%2E)
8. Takuma Ebisu and Ryutaro Ichise. Toruse: Knowledge graph embedding on a lie group. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pp. 1819–1826. [find](https://scholar.google.com/scholar?q=Takuma+Ebisu+and+Ryutaro+Ichise%2E+Toruse%3A+Knowledge+graph+embedding+on+a+lie+group%2E+In+Proceedings+of+the+Thirty%2DSecond+AAAI+Conference+on+Artificial+Intelligence%2C+pp%2E+1819%E2%80%931826%2E)
9. Kelvin Guu, John Miller, and Percy Liang. Traversing knowledge graphs in vector space. arXiv preprint arXiv:1506.01094, 2015. [find](https://scholar.google.com/scholar?q=Kelvin+Guu%2C+John+Miller%2C+and+Percy+Liang%2E+Traversing+knowledge+graphs+in+vector+space%2E+arXiv+preprint+arXiv%3A1506%2E01094%2C+2015%2E)
10. Yanchao Hao, Yuanzhe Zhang, Kang Liu, Shizhu He, Zhanyi Liu, Hua Wu, and Jun Zhao. An end-to-end model for question answering over knowledge base with cross-attention combining global knowledge. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Lon… [find](https://scholar.google.com/scholar?q=Yanchao+Hao%2C+Yuanzhe+Zhang%2C+Kang+Liu%2C+Shizhu+He%2C+Zhanyi+Liu%2C+Hua+Wu%2C+and+Jun+Zhao%2E+An+end%2Dto%2Dend+model+for+question+answering+over+knowledge+base+with+cross%2Dattention+combining+global+knowledge%2E+In+Pr)
11. Katsuhiko Hayashi and Masashi Shimbo. On the equivalence of holographic and complex embeddings for link prediction. arXiv preprint arXiv:1702.05563, 2017. [find](https://scholar.google.com/scholar?q=Katsuhiko+Hayashi+and+Masashi+Shimbo%2E+On+the+equivalence+of+holographic+and+complex+embeddings+for+link+prediction%2E+arXiv+preprint+arXiv%3A1702%2E05563%2C+2017%2E)
12. Shizhu He, Kang Liu, Guoliang Ji, and Jun Zhao. Learning to represent knowledge graphs with gaussian embedding. In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, pp. 623–632. ACM, 2015. [find](https://scholar.google.com/scholar?q=Shizhu+He%2C+Kang+Liu%2C+Guoliang+Ji%2C+and+Jun+Zhao%2E+Learning+to+represent+knowledge+graphs+with+gaussian+embedding%2E+In+Proceedings+of+the+24th+ACM+International+on+Conference+on+Information+and+Knowledge+)
13. Rudolf Kadlec, Ondrej Bajgar, and Jan Kleindienst. Knowledge base completion: Baselines strike back. arXiv preprint arXiv:1705.10744, 2017. [find](https://scholar.google.com/scholar?q=Rudolf+Kadlec%2C+Ondrej+Bajgar%2C+and+Jan+Kleindienst%2E+Knowledge+base+completion%3A+Baselines+strike+back%2E+arXiv+preprint+arXiv%3A1705%2E10744%2C+2017%2E)
14. Diederik P Kingma and Jimmy Ba. [Adam: A method for stochastic optimization](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/). arXiv preprint arXiv:1412.6980, 2014.
15. Ni Lao, Tom Mitchell, and William W Cohen. Random walk inference and learning in a large scale knowledge base. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 529–539. Association for Computational Linguistics, 2011. [find](https://scholar.google.com/scholar?q=Ni+Lao%2C+Tom+Mitchell%2C+and+William+W+Cohen%2E+Random+walk+inference+and+learning+in+a+large+scale+knowledge+base%2E+In+Proceedings+of+the+Conference+on+Empirical+Methods+in+Natural+Language+Processing%2C+pp%2E)
16. Yankai Lin, Zhiyuan Liu, Huanbo Luan, Maosong Sun, Siwei Rao, and Song Liu. [Modeling relation paths for representation learning of knowledge bases](https://md.research.elamur.ai/free/en/papers/lin-2015-modeling-relation-paths-representation-learning/). arXiv preprint arXiv:1506.00379, 2015a.
17. Yankai Lin, Zhiyuan Liu, Maosong Sun, Yang Liu, and Xuan Zhu. Learning entity and relation embeddings for knowledge graph completion. In AAAI, volume 15, pp. 2181–2187, 2015b. [find](https://scholar.google.com/scholar?q=Yankai+Lin%2C+Zhiyuan+Liu%2C+Maosong+Sun%2C+Yang+Liu%2C+and+Xuan+Zhu%2E+Learning+entity+and+relation+embeddings+for+knowledge+graph+completion%2E+In+AAAI%2C+volume+15%2C+pp%2E+2181%E2%80%932187%2C+2015b%2E)
18. Farzaneh Mahdisoltani, Joanna Biega, and Fabian M Suchanek. [Yago3: A knowledge base from multilingual wikipedias](https://md.research.elamur.ai/free/en/papers/mahdisoltani-2015-yago3-knowledge-base-multilingual-wikipedias/). In CIDR, 2013.
19. Chains of rea-arXiv preprint Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. [Distributed representations of words and phrases and their compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/). In Advances in neural information processing systems, pp. 3111–3119, 2013.
20. George A Miller. [Wordnet: a lexical database for english](https://md.research.elamur.ai/free/en/papers/miller-1994-wordnet/). Communications of the ACM, 38(11): 39–41, 1995.
21. Arvind Neelakantan, Benjamin Roth, and Andrew McCallum. [Compositional vector space models for knowledge base completion](https://md.research.elamur.ai/free/en/papers/neelakantan-2015-compositional-vector-space-models-knowledge/). arXiv preprint arXiv:1504.06662, 2015.
22. Dai Quoc Nguyen, Tu Dinh Nguyen, Dat Quoc Nguyen, and Dinh Phung. [A novel embedding model for knowledge base completion based on convolutional neural network](https://md.research.elamur.ai/free/en/papers/nguyen-2018-novel-embedding-model-knowledge-base/). arXiv preprint arXiv:1712.02121, 2017.
23. Dat Quoc Nguyen, Kairit Sirts, Lizhen Qu, and Mark Johnson. [Stranse: a novel embedding model of entities and relationships in knowledge bases](https://md.research.elamur.ai/free/en/papers/nguyen-2016-stranse-novel-embedding-model-entities/). arXiv preprint arXiv:1606.08140, 2016.
24. Maximilian Nickel, Lorenzo Rosasco, Tomaso A Poggio, et al. Holographic embeddings of knowledge graphs. In AAAI, volume 2, pp. 3–2, 2016. [find](https://scholar.google.com/scholar?q=Maximilian+Nickel%2C+Lorenzo+Rosasco%2C+Tomaso+A+Poggio%2C+et+al%2E+Holographic+embeddings+of+knowledge+graphs%2E+In+AAAI%2C+volume+2%2C+pp%2E+3%E2%80%932%2C+2016%2E)
25. Tim Rocktäschel and Sebastian Riedel. End-to-end differentiable proving. In Advances in Neural Information Processing Systems, pp. 3788–3800, 2017. [find](https://scholar.google.com/scholar?q=Tim+Rockta%CC%88schel+and+Sebastian+Riedel%2E+End%2Dto%2Dend+differentiable+proving%2E+In+Advances+in+Neural+Information+Processing+Systems%2C+pp%2E+3788%E2%80%933800%2C+2017%2E)
26. Fabian M Suchanek, Gjergji Kasneci, and Gerhard Weikum. Yago: a core of semantic knowledge. In Proceedings of the 16th international conference on World Wide Web, pp. 697–706. ACM, 2007. [find](https://scholar.google.com/scholar?q=Fabian+M+Suchanek%2C+Gjergji+Kasneci%2C+and+Gerhard+Weikum%2E+Yago%3A+a+core+of+semantic+knowledge%2E+In+Proceedings+of+the+16th+international+conference+on+World+Wide+Web%2C+pp%2E+697%E2%80%93706%2E+ACM%2C+2007%2E)
27. Kristina Toutanova and Danqi Chen. [Observed versus latent features for knowledge base and text inference](https://md.research.elamur.ai/free/en/papers/toutanova-2015-observed-versus-latent-features-knowledge/). In Proceedings of the 3rd Workshop on Continuous Vector Space Models and their Compositionality, pp. 57–66, 2015.
28. Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. [Complex embeddings for simple link prediction](https://md.research.elamur.ai/free/en/papers/trouillon-2016-complex-embeddings-simple-link-prediction/). In International Conference on Machine Learning, pp. 2071–2080, 2016.
29. Zhen Wang, Jianwen Zhang, Jianlin Feng, and Zheng Chen. Knowledge graph embedding by translating on hyperplanes. In AAAI, volume 14, pp. 1112–1119, 2014. [find](https://scholar.google.com/scholar?q=Zhen+Wang%2C+Jianwen+Zhang%2C+Jianlin+Feng%2C+and+Zheng+Chen%2E+Knowledge+graph+embedding+by+translating+on+hyperplanes%2E+In+AAAI%2C+volume+14%2C+pp%2E+1112%E2%80%931119%2C+2014%2E)
30. Chenyan Xiong, Russell Power, and Jamie Callan. Explicit semantic ranking for academic search via knowledge graph embedding. In Proceedings of the 26th international conference on world wide web, pp. 1271–1279. International World Wide Web Conferences Steering Committee, 2017. [find](https://scholar.google.com/scholar?q=Chenyan+Xiong%2C+Russell+Power%2C+and+Jamie+Callan%2E+Explicit+semantic+ranking+for+academic+search+via+knowledge+graph+embedding%2E+In+Proceedings+of+the+26th+international+conference+on+world+wide+web%2C+pp%2E+)
31. Bishan Yang and Tom Mitchell. Leveraging knowledge bases in lstms for improving machine reading. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pp. 1436–1446, 2017. [find](https://scholar.google.com/scholar?q=Bishan+Yang+and+Tom+Mitchell%2E+Leveraging+knowledge+bases+in+lstms+for+improving+machine+reading%2E+In+Proceedings+of+the+55th+Annual+Meeting+of+the+Association+for+Computational+Linguistics+%28Volume+1%3A+L)
32. Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. [Embedding entities and relations for learning and inference in knowledge bases](https://md.research.elamur.ai/free/en/papers/yang-2014-embedding-entities-relations-learning-inference/). arXiv preprint arXiv:1412.6575, 2014.
33. Fan Yang, Zhilin Yang, and William W Cohen. Differentiable learning of logical rules for knowledge base completion. CoRR, abs/1702.08367, 2017. [find](https://scholar.google.com/scholar?q=Fan+Yang%2C+Zhilin+Yang%2C+and+William+W+Cohen%2E+Differentiable+learning+of+logical+rules+for+knowledge+base+completion%2E+CoRR%2C+abs%2F1702%2E08367%2C+2017%2E)
34. Fuzheng Zhang, Nicholas Jing Yuan, Defu Lian, Xing Xie, and Wei-Ying Ma. Collaborative knowledge base embedding for recommender systems. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp. 353–362. ACM, 2016. [find](https://scholar.google.com/scholar?q=Fuzheng+Zhang%2C+Nicholas+Jing+Yuan%2C+Defu+Lian%2C+Xing+Xie%2C+and+Wei%2DYing+Ma%2E+Collaborative+knowledge+base+embedding+for+recommender+systems%2E+In+Proceedings+of+the+22nd+ACM+SIGKDD+international+conference+)

*Updated 31 October 2026*
