QuatRE: Relation-Aware Quaternions for Knowledge Graph Embeddings
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 abstractHide
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}.