Joint Language Semantic and Structure Embedding for Knowledge Graph Completion

Jianhao Shen, Chenguang Wang, Linyuan Gong, Dawn Song
9/19/2022
cs.CLcs.AIcs.LG

Official code: jhshen95/LASS (53 stars, Python, last commit 2022-10-27).

Abstract

The task of completing knowledge triplets has broad downstream applications. Both structural and semantic information plays an important role in knowledge graph completion.

Show full abstract

Unlike previous approaches that rely on either the structures or semantics of the knowledge graphs, we propose to jointly embed the semantics in the natural language description of the knowledge triplets with their structure information. Our method embeds knowledge graphs for the completion task via fine-tuning pre-trained language models with respect to a probabilistic structured loss, where the forward pass of the language models captures semantics and the loss reconstructs structures. Our extensive experiments on a variety of knowledge graph benchmarks have demonstrated the state-of-the-art performance of our method. We also show that our method can significantly improve the performance in a low-resource regime, thanks to the better use of semantics. The code and datasets are available at https://github.com/pkusjh/LASS.

View on arXivView PDF

Code Implementations(1)

jhshen95/LASSOfficial100%

Code repo for COLING 2022 paper "Joint Language Semantic and Structure Embedding for Knowledge Graph Completion"

532Python, ShellJan 6, 20224 years ago

Similar Papers

Cite this paper

@article{shen2022joint,
  title  = {Joint Language Semantic and Structure Embedding for Knowledge Graph Completion},
  author = {Jianhao Shen and Chenguang Wang and Linyuan Gong and Dawn Song},
  year   = {2022},
  eprint = {2209.08721},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.08721}
}

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

Discussion