Learning Efficient and Generalizable Graph Retriever for Knowledge-Graph Question Answering

Tianjun Yao, Haoxuan Li, Zhiqiang Shen, Pan Li, Tongliang Liu +1 more
6/11/2025
cs.CLcs.IRcs.LG

Official code: tianyao-aka/RAPL (7 stars, last commit 2025-07-13).

Abstract

Large Language Models (LLMs) have shown strong inductive reasoning ability across various domains, but their reliability is hindered by the outdated knowledge and hallucinations. Retrieval-Augmented Generation mitigates these issues by grounding LLMs with external knowledge; however, most existing RAG pipelines rely on unstructured text, limiting interpretability and structured reasoning. Knowledge graphs, which represent facts as relational triples, offer a more structured and compact alternative. Recent studies have explored integrating knowledge graphs with LLMs for knowledge graph question answering (KGQA), with a significant proportion adopting the retrieve-then-reasoning paradigm. In this framework, graph-based retrievers have demonstrated strong empirical performance, yet they still face challenges in generalization ability. In this work, we propose RAPL, a novel framework for efficient and effective graph retrieval in KGQA. RAPL addresses these limitations through three aspects: (1) a two-stage labeling strategy that combines heuristic signals with parametric models to provide causally grounded supervision; (2) a model-agnostic graph transformation approach to capture both intra- and inter-triple interactions, thereby enhancing representational capacity; and (3) a path-based reasoning strategy that facilitates learning from the injected rational knowledge, and supports downstream reasoner through structured inputs. Empirically, RAPL outperforms state-of-the-art methods by $2.66\%-20.34\%$, and significantly reduces the performance gap between smaller and more powerful LLM-based reasoners, as well as the gap under cross-dataset settings, highlighting its superior retrieval capability and generalizability. Codes are available at: https://github.com/tianyao-aka/RAPL.

View on arXivView PDF

Code Implementations(1)

tianyao-aka/RAPLOfficial100%

A generalizable graph retriever for KGQA

72PythonJun 11, 20251 years ago

Similar Papers

Cite this paper

@article{yao2025learning,
  title  = {Learning Efficient and Generalizable Graph Retriever for Knowledge-Graph Question Answering},
  author = {Tianjun Yao and Haoxuan Li and Zhiqiang Shen and Pan Li and Tongliang Liu and Kun Zhang},
  year   = {2025},
  eprint = {2506.09645},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.09645v1}
}

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

Discussion