Sequence-to-Sequence Knowledge Graph Completion and Question Answering

Apoorv Saxena, Adrian Kochsiek, Rainer Gemulla
3/19/2022
cs.CLcs.LG

Official code: apoorvumang/kgt5 (105 stars, Python, Apache-2.0, last commit 2023-11-27).

Abstract

Knowledge graph embedding (KGE) models represent each entity and relation of a knowledge graph (KG) with low-dimensional embedding vectors. These methods have recently been applied to KG link prediction and question answering over incomplete KGs (KGQA).

Show full abstract

KGEs typically create an embedding for each entity in the graph, which results in large model sizes on real-world graphs with millions of entities. For downstream tasks these atomic entity representations often need to be integrated into a multi stage pipeline, limiting their utility. We show that an off-the-shelf encoder-decoder Transformer model can serve as a scalable and versatile KGE model obtaining state-of-the-art results for KG link prediction and incomplete KG question answering. We achieve this by posing KG link prediction as a sequence-to-sequence task and exchange the triple scoring approach taken by prior KGE methods with autoregressive decoding. Such a simple but powerful method reduces the model size up to 98% compared to conventional KGE models while keeping inference time tractable. After finetuning this model on the task of KGQA over incomplete KGs, our approach outperforms baselines on multiple large-scale datasets without extensive hyperparameter tuning.

View on arXivView PDF

Code Implementations(1)

apoorvumang/kgt5Official100%
Apache-2.0

ACL 2022: Sequence-to-Sequence Knowledge Graph Completion and Question Answering (KGT5)

10517PythonApr 16, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{saxena2022sequencetosequence,
  title  = {Sequence-to-Sequence Knowledge Graph Completion and Question Answering},
  author = {Apoorv Saxena and Adrian Kochsiek and Rainer Gemulla},
  year   = {2022},
  eprint = {2203.10321},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10321}
}

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

Discussion