FiDeLiS: Faithful Reasoning in Large Language Model for Knowledge Graph Question Answering

Yuan Sui, Yufei He, Nian Liu, Xiaoxin He, Kun Wang +1 more
5/22/2024
79 citations
cs.AIcs.CL

Official code: Y-Sui/FiDeLiS (24 stars, Python, last commit 2025-05-08).

Abstract

Large Language Models (LLMs) are often challenged by generating erroneous or hallucinated responses, especially in complex reasoning tasks. Leveraging Knowledge Graphs (KGs) as external knowledge sources has emerged as a viable solution.

Show full abstract

However, existing KG-enhanced methods, either retrieval-based or agent-based, encounter difficulties in accurately retrieving knowledge and efficiently traversing KGs at scale. In this paper, we propose a unified framework, FiDeLiS, designed to improve the factuality of LLM responses by anchoring answers to verifiable reasoning steps retrieved from KGs. To achieve this, we leverage step-wise beam search with a deductive scoring function, allowing the LLM to validate reasoning process step by step, and halt the search once the question is deducible. In addition, we propose a Path-RAG module to pre-select a smaller candidate set for each beam search step, reducing computational costs by narrowing the search space. Extensive experiments show that our method, as a training-free framework, not only improve the performance but also enhance the factuality and interpretability across different benchmarks. Code is released at https://github.com/Y-Sui/FiDeLiS.

View on arXivView PDF

Code Implementations(1)

Y-Sui/FiDeLiSOfficial100%

Code for Paper ACL'25: FiDELIS: Faithful Reasoning of Large Language Model on Knowledge Graph Question Answering

245Python, ShellApr 22, 20241 years ago

Similar Papers

Cite this paper

@article{sui2024fidelis,
  title  = {FiDeLiS: Faithful Reasoning in Large Language Model for Knowledge Graph Question Answering},
  author = {Yuan Sui and Yufei He and Nian Liu and Xiaoxin He and Kun Wang and Bryan Hooi},
  year   = {2024},
  eprint = {2405.13873},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13873v4}
}

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

Discussion