Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation

About

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.

Weihua Wang, Qiuyu Liang, Feilong Bao, Guanglai Gao• 2024

Related benchmarks

TaskDatasetResultRank
Knowledge Graph CompletionWN18RR
Hits@145
165
Knowledge Graph CompletionFB15k-237
Hits@100.572
108
Knowledge Graph CompletionWN18 (test)
Hits@100.966
80
Knowledge Graph CompletionFB15K (test)--
41
Showing 4 of 4 rows

Other info

Code

Follow for update