Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation

Weihua Wang, Qiuyu Liang, Feilong Bao, Guanglai Gao


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 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 the head entity and a reverse rotation on the tail entity to learn the rich semantic features. Then, we utilize distance adaptive translations to learn the 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://anonymous.4open.science/r/l2730.
Anthology ID:
2025.coling-main.284
Volume:
Proceedings of the 31st International Conference on Computational Linguistics
Month:
January
Year:
2025
Address:
Abu Dhabi, UAE
Editors:
Owen Rambow, Leo Wanner, Marianna Apidianaki, Hend Al-Khalifa, Barbara Di Eugenio, Steven Schockaert
Venue:
COLING
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
4219–4231
Language:
URL:
https://aclanthology.org/2025.coling-main.284/
DOI:
Bibkey:
Cite (ACL):
Weihua Wang, Qiuyu Liang, Feilong Bao, and Guanglai Gao. 2025. Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation. In Proceedings of the 31st International Conference on Computational Linguistics, pages 4219–4231, Abu Dhabi, UAE. Association for Computational Linguistics.
Cite (Informal):
Distance-Adaptive Quaternion Knowledge Graph Embedding with Bidirectional Rotation (Wang et al., COLING 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.coling-main.284.pdf