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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sui, Yuan, He, Yufei, Liu, Nian, He, Xiaoxin, Wang, Kun, Hooi, Bryan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908373684846592
author Sui, Yuan
He, Yufei
Liu, Nian
He, Xiaoxin
Wang, Kun
Hooi, Bryan
author_facet Sui, Yuan
He, Yufei
Liu, Nian
He, Xiaoxin
Wang, Kun
Hooi, Bryan
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13873
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FiDeLiS: Faithful Reasoning in Large Language Model for Knowledge Graph Question Answering
Sui, Yuan
He, Yufei
Liu, Nian
He, Xiaoxin
Wang, Kun
Hooi, Bryan
Artificial Intelligence
Computation and Language
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. 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.
title FiDeLiS: Faithful Reasoning in Large Language Model for Knowledge Graph Question Answering
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.13873