KGE-CL: Contrastive Learning of Tensor Decomposition Based Knowledge Graph Embeddings

Zhiping Luo, Wentao Xu, Weiqing Liu, Jiang Bian, Jian Yin +1 more
12/9/2021
12 citations
cs.AIcs.CLcs.LG
contrastive-ssl

Official code: Wentao-Xu/KGE-CL (24 stars, Python, last commit 2022-10-29). 1 more implementation below.

Abstract

Learning the embeddings of knowledge graphs (KG) is vital in artificial intelligence, and can benefit various downstream applications, such as recommendation and question answering. In recent years, many research efforts have been proposed for knowledge graph embedding (KGE).

Show full abstract

However, most previous KGE methods ignore the semantic similarity between the related entities and entity-relation couples in different triples since they separately optimize each triple with the scoring function. To address this problem, we propose a simple yet efficient contrastive learning framework for tensor decomposition based (TDB) KGE, which can shorten the semantic distance of the related entities and entity-relation couples in different triples and thus improve the performance of KGE. We evaluate our proposed method on three standard KGE datasets: WN18RR, FB15k-237 and YAGO3-10. Our method can yield some new state-of-the-art results, achieving 51.2% MRR, 46.8% Hits@1 on the WN18RR dataset, 37.8% MRR, 28.6% Hits@1 on FB15k-237 dataset, and 59.1% MRR, 51.8% Hits@1 on the YAGO3-10 dataset.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Wentao-Xu/KGE-CLOfficial24Python–2022-10-29
HELL-TO-HEAVEN/KGE-CLOfficial2Python–2021-05-20
Wentao-Xu/KGE-CLOfficial100%

Source code for the COLING 2022 paper "KGE-CL: Contrastive Learning of Tensor Decomposition Based Knowledge Graph Embeddings".

242PythonSep 4, 20224 years ago
20PythonMay 21, 20215 years ago

Similar Papers

Cite this paper

@article{luo2021kgecl,
  title  = {KGE-CL: Contrastive Learning of Tensor Decomposition Based Knowledge Graph Embeddings},
  author = {Zhiping Luo and Wentao Xu and Weiqing Liu and Jiang Bian and Jian Yin and Tie-Yan Liu},
  year   = {2021},
  eprint = {2112.04871},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.04871}
}

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

Discussion