Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation

Weihua Wang, Qiuyu Liang, Feilong Bao, Guanglai Gao
12/5/2024
cs.LG

Official code: llqy123/DaBR (2 stars, last commit 2025-01-21).

Abstract

Quaternion contains one real part and three imaginary parts, which provided a more expressive hypercomplex space for learning knowledge graph. Existing quaternion embedding models measure the plausibility of a triplet either through semantic matching or geometric distance scoring functions. However, it appears that semantic matching diminishes the separability of entities, while the distance scoring function weakens the semantics of entities. To address this issue, we propose a novel quaternion knowledge graph embedding model. Our model combines semantic matching with entity's geometric distance to better measure the plausibility of triplets. Specifically, in the quaternion space, we perform a right rotation on head entity and a reverse rotation on tail entity to learn rich semantic features. Then, we utilize distance adaptive translations to learn geometric distance between entities. Furthermore, we provide mathematical proofs to demonstrate our model can handle complex logical relationships. Extensive experimental results and analyses show our model significantly outperforms previous models on well-known knowledge graph completion benchmark datasets. Our code is available at https://github.com/llqy123/DaBR.

View on arXivView PDF

Code Implementations(1)

llqy123/DaBROfficial100%

[COLING 2025] Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation

20C, C++Sep 14, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024distanceadaptive,
  title  = {Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation},
  author = {Weihua Wang and Qiuyu Liang and Feilong Bao and Guanglai Gao},
  year   = {2024},
  eprint = {2412.04076},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.04076v2}
}

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

Discussion