Konstruktor: A Strong Baseline for Simple Knowledge Graph Question Answering

Maria Lysyuk, Mikhail Salnikov, Pavel Braslavski, Alexander Panchenko
9/24/2024
cs.CL

No official code found. Best implementation: s-nlp/konstruktor (3 stars, MIT, last commit 2024-06-03).

Abstract

While being one of the most popular question types, simple questions such as "Who is the author of Cinderella?", are still not completely solved. Surprisingly, even the most powerful modern Large Language Models are prone to errors when dealing with such questions, especially when dealing with rare entities. At the same time, as an answer may be one hop away from the question entity, one can try to develop a method that uses structured knowledge graphs (KGs) to answer such questions. In this paper, we introduce Konstruktor - an efficient and robust approach that breaks down the problem into three steps: (i) entity extraction and entity linking, (ii) relation prediction, and (iii) querying the knowledge graph. Our approach integrates language models and knowledge graphs, exploiting the power of the former and the interpretability of the latter. We experiment with two named entity recognition and entity linking methods and several relation detection techniques. We show that for relation detection, the most challenging step of the workflow, a combination of relation classification/generation and ranking outperforms other methods. We report Konstruktor's strong results on four datasets.

View on arXivView PDF

Code Implementations(1)

s-nlp/konstruktorCommunity100%
MIT

Konstruktor: A Strong Baseline for Simple Knowledge Graph Question Answering

32Python, DockerfileMay 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{lysyuk2024konstruktor,
  title  = {Konstruktor: A Strong Baseline for Simple Knowledge Graph Question Answering},
  author = {Maria Lysyuk and Mikhail Salnikov and Pavel Braslavski and Alexander Panchenko},
  year   = {2024},
  eprint = {2409.15902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.15902v1}
}

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

Discussion