QuatRE: Relation-Aware Quaternions for Knowledge Graph Embeddings

Dai Quoc Nguyen, Thanh Vu, Tu Dinh Nguyen, Dinh Phung
9/26/2020
cs.CLcs.AIcs.LG

Official code: daiquocnguyen/QuatRE (38 stars, Python, Apache-2.0, last commit 2022-03-10).

Abstract

We propose a simple yet effective embedding model to learn quaternion embeddings for entities and relations in knowledge graphs. Our model aims to enhance correlations between head and tail entities given a relation within the Quaternion space with Hamilton product.

Show full abstract

The model achieves this goal by further associating each relation with two relation-aware rotations, which are used to rotate quaternion embeddings of the head and tail entities, respectively. Experimental results show that our proposed model produces state-of-the-art performances on well-known benchmark datasets for knowledge graph completion. Our code is available at: \url{https://github.com/daiquocnguyen/QuatRE}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

QuatRE: Relation-Aware Quaternions for Knowledge Graph Embeddings (TheWebConf WWW 2022) (Pytorch)

382Python, CMay 28, 20204 years agoApache-2.0
hamilton-productknowledge-base-completionknowledge-graph-completionknowledge-graph-embeddingslink-prediction+1 more

Similar Papers

Cite this paper

@article{nguyen2020quatre,
  title  = {QuatRE: Relation-Aware Quaternions for Knowledge Graph Embeddings},
  author = {Dai Quoc Nguyen and Thanh Vu and Tu Dinh Nguyen and Dinh Phung},
  year   = {2020},
  eprint = {2009.12517},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.12517}
}

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

Discussion