NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TextGraphs 2024 Shared Task on Text-Graph Representations for Knowledge Graph Question Answering

Andrey Sakhovskiy, Mikhail Salnikov, Irina Nikishina, Aida Usmanova, Angelie Kraft, Cedric Möller, Debayan Banerjee, Junbo Huang, Longquan Jiang, Rana Abdullah, Xi Yan, Dmitry Ustalov, Elena Tutubalina, Ricardo Usbeck, Alexander Panchenko2024

TL;DR

This paper introduces the first shared task focused on Knowledge Graph Question Answering (KGQA) that specifically bridges Large Language Models (LLMs) with Knowledge Graphs (KGs). They present a novel dataset and a shared task designed to evaluate how well systems can fuse textual questions with KG subgraphs to identify the correct answer, revealing that while LLMs currently dominate, there's room for lighter-weight, specialized approaches.

What Problem Does This Paper Address?

The paper tackles the challenge of improving the reasoning capabilities of Large Language Models (LLMs) by integrating them with Knowledge Graphs (KGs). LLMs, despite their impressive text generation abilities, often struggle with interpretability, factual accuracy, and can "hallucinate" information. KGs, on the other hand, provide structured, factual knowledge. The problem is how to effectively combine these two paradigms for question answering, specifically in a way that allows for the evaluation of reasoning over KG structures. Existing KGQA approaches often focus on end-to-end systems, making it difficult to pinpoint errors in specific sub-tasks like entity linking or subgraph retrieval. This work aims to isolate the reasoning component by providing pre-selected KG subgraphs.

Methods

The core of the paper is the introduction of a new KGQA shared task and dataset. The task formulation requires systems to classify whether a candidate answer, provided alongside a textual question and a relevant KG subgraph, is correct. The KG subgraphs are constructed by finding shortest paths between entities mentioned in the question and the candidate answer within the Wikidata KG.

For system development and evaluation, several baselines were established:

  • Text-Only Baseline: A BERT-based classifier that only uses the concatenated question and candidate text, ignoring the graph.
  • Graph-Only Baseline: A classifier that only uses the linearized graph representation, without the question text.
  • Text+Graph Baseline: A joint reasoning baseline that concatenates the question text with the linearized graph representation.
  • ChatGPT Baseline: A zero-shot LLM baseline using GPT-4, with modifications to handle ambiguous candidate entities.
  • Constant Baseline: A trivial baseline that always predicts the answer as correct.

The subgraph construction pipeline follows Salnikov et al. (2023), using shortest paths. Candidate generation is done using a T5-large model with Diverse Beam Search for increased diversity. Entity linking leverages public Wikimedia APIs and Elasticsearch. Negative candidate filtering is performed based on semantic similarity to the ground truth answer.

Datasets

The paper introduces a novel dataset for the KGQA binary classification task. This dataset is inferred from the Mintaka dataset but focuses specifically on the reasoning phase. Each instance consists of:

  • q: The question text.
  • Eq: A set of Wikidata entities mentioned in the question.
  • c: A candidate answer, which is guaranteed to be a valid Wikidata entity.
  • G(Eq, c): A node- and edge-labeled oriented graph representing the union of shortest paths from entities in Eq to candidate c.
  • y: A binary label indicating if c is a correct answer.

The dataset is split into a training set (3,535 questions) and a test set (1,000 questions), with the test set further divided into public and private subsets. The authors also leverage the Wikidata knowledge graph as the reference KG.

Key Insights and Ideas

  • LLMs Still Lead, But Not Unchallenged: Despite the task being simplified by providing pre-computed subgraphs, LLM-based systems (like ChatGPT) generally performed very well, indicating their strong capabilities even in this constrained setting.
  • The Value of KG Integration: The shared task successfully demonstrated that combining textual information with KG subgraphs is a promising direction for improving factual accuracy and interpretability in question answering.
  • Room for Lighter Models: The success of some non-LLM systems, particularly those with lighter-weight modifications, suggests that highly resource-intensive LLMs are not the only path to good performance. There's potential for specialized models that efficiently fuse text and graph information.
  • Focusing on Reasoning: By fixing the entity and subgraph retrieval steps, the task effectively isolates and evaluates the core reasoning capabilities of systems when presented with structured knowledge.

Key Results

The paper reports on the official results of the TextGraphs 2024 KGQA shared task, which attracted 30 teams. The top-performing teams, NLPeople, HW-TSC, and Skoltech, all achieved F1 scores above 82% in the private evaluation. The ChatGPT baseline achieved an F1 score of 67.99% on the private leaderboard. Notably, several teams with non-LLM based systems achieved respectable ranks, with the "tigformer" team ranking 8th with an F1 score of 53.76%. The paper highlights that while LLMs are dominant, some teams with lighter-weight modifications (like "nlp_enjoyers") managed to significantly improve upon the initial Text+Graph baseline.

Limitations and Future Work

Limitations: * The task formulation, while simplifying reasoning evaluation, relies on pre-computed subgraphs, which might not fully capture the complexity of end-to-end KGQA pipelines where entity and subgraph retrieval errors can occur. * The reliance on Wikidata, while comprehensive, might limit the generalizability to other KGs.

Future Work: * The authors hope their competition will encourage further research into effective reasoning methods over retrieved KG subgraphs. * Exploring novel subgraph representation techniques is suggested. * Improving the interpretability and explainability of question-answering models that leverage KGs is a key future direction. * The success of lighter-weight models suggests further investigation into efficient, task-specific solutions.

Summary updated

BibTeX
@misc{sakhovskiy2024textgraphs,
  author = {Andrey Sakhovskiy and Mikhail Salnikov and Irina Nikishina and Aida Usmanova and Angelie Kraft and Cedric Möller and Debayan Banerjee and Junbo Huang and Longquan Jiang and Rana Abdullah and Xi Yan and Dmitry Ustalov and Elena Tutubalina and Ricardo Usbeck and Alexander Panchenko},
  title = {{TextGraphs 2024 Shared Task on Text-Graph Representations for Knowledge Graph Question Answering}},
  year = {2024},
  doi = {10.18653/v1/2024.textgraphs-1.9},
}
Figure