TranSHER: Translating Knowledge Graph Embedding with Hyper-Ellipsoidal Restriction

Yizhi Li, Wei Fan, Chao Liu, Chenghua Lin, Jiang Qian
4/27/2022
cs.AIcs.LG

Official code: yizhilll/TranSHER (6 stars, Python, last commit 2022-12-04).

Abstract

Knowledge graph embedding methods are important for the knowledge graph completion (or link prediction) task. One existing efficient method, PairRE, leverages two separate vectors to model complex relations (i.e., 1-to-N, N-to-1, and N-to-N) in knowledge graphs.

Show full abstract

However, such a method strictly restricts entities on the hyper-ellipsoid surfaces which limits the optimization of entity distribution, leading to suboptimal performance of knowledge graph completion. To address this issue, we propose a novel score function TranSHER, which leverages relation-specific translations between head and tail entities to relax the constraint of hyper-ellipsoid restrictions. By introducing an intuitive and simple relation-specific translation, TranSHER can provide more direct guidance on optimization and capture more semantic characteristics of entities with complex relations. Experimental results show that TranSHER achieves significant performance improvements on link prediction and generalizes well to datasets in different domains and scales. Our codes are public available at https://github.com/yizhilll/TranSHER.

View on arXivView PDF

Code Implementations(1)

yizhilll/TranSHEROfficial100%

Codes for the paper [TranSHER: Translating Knowledge Graph Embedding with Hyper-Ellipsoidal Restriction].

60Python, ShellOct 18, 20223 years ago

Similar Papers

Cite this paper

@article{li2022transher,
  title  = {TranSHER: Translating Knowledge Graph Embedding with Hyper-Ellipsoidal Restriction},
  author = {Yizhi Li and Wei Fan and Chao Liu and Chenghua Lin and Jiang Qian},
  year   = {2022},
  eprint = {2204.13221},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.13221}
}

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

Discussion