TransERR: Translation-based Knowledge Graph Embedding via Efficient Relation Rotation

Jiang Li, Xiangdong Su, Fujun Zhang, Guanglai Gao
6/26/2023
cs.CLcs.AI

Official code: dellixx/TransERR (12 stars, Apache-2.0, last commit 2025-03-25).

Abstract

This paper presents a translation-based knowledge geraph embedding method via efficient relation rotation (TransERR), a straightforward yet effective alternative to traditional translation-based knowledge graph embedding models. Different from the previous translation-based models, TransERR encodes knowledge graphs in the hypercomplex-valued space, thus enabling it to possess a higher degree of translation freedom in mining latent information between the head and tail entities. To further minimize the translation distance, TransERR adaptively rotates the head entity and the tail entity with their corresponding unit quaternions, which are learnable in model training. We also provide mathematical proofs to demonstrate the ability of TransERR in modeling various relation patterns, including symmetry, antisymmetry, inversion, composition, and subrelation patterns. The experiments on 10 benchmark datasets validate the effectiveness and the generalization of TransERR. The results also indicate that TransERR can better encode large-scale datasets with fewer parameters than the previous translation-based models. Our code and datasets are available at~\url{https://github.com/dellixx/TransERR}.

View on arXivView PDF

Code Implementations(1)

dellixx/TransERROfficial100%
Apache-2.0

[LREC-COLING 2024] TransERR: Translation-based Knowledge Graph Embedding via Efficient Relation Rotation

121Shell, PythonJun 26, 20231 years agoApache-2.0
link-prediction

Similar Papers

Cite this paper

@article{li2023transerr,
  title  = {TransERR: Translation-based Knowledge Graph Embedding via Efficient Relation Rotation},
  author = {Jiang Li and Xiangdong Su and Fujun Zhang and Guanglai Gao},
  year   = {2023},
  eprint = {2306.14580},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.14580v2}
}

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

Discussion