KnowPath: Knowledge-enhanced Reasoning via LLM-generated Inference Paths over Knowledge Graphs
Qi Zhao, Hongyu Yang, Qi Song, Xinwei Yao, Xiangyang Li
TL;DR
KnowPath addresses LLM hallucinations in knowledge-based QA by tightly integrating the model's internal knowledge with external knowledge graphs. It introduces a three-stage framework: Inference Paths Generation, Subgraph Exploration, and Evaluation-based Answering, enabling interpretable, directed KG reasoning guided by the LLM's own reasoning. Empirical results across four KGQA datasets show state-of-the-art accuracy and notable cost-efficiency, with clear gains on multi-hop tasks and open-domain questions. The work emphasizes interpretability through explicit subgraphs and reasoning paths, offering a practical, plug-and-play approach for robust factual QA.
Abstract
Large language models (LLMs) have demonstrated remarkable capabilities in various complex tasks, yet they still suffer from hallucinations. By incorporating and exploring external knowledge, such as knowledge graphs(KGs), LLM's ability to provide factual answers has been enhanced. This approach carries significant practical implications. However, existing methods suffer from three key limitations: insufficient mining of LLMs' internal knowledge, constrained generation of interpretable reasoning paths, and unclear fusion of internal and external knowledge. Therefore, we propose KnowPath, a knowledge-enhanced large model framework driven by the collaboration of internal and external knowledge. It relies on the internal knowledge of the LLM to guide the exploration of interpretable directed subgraphs in external knowledge graphs, better integrating the two knowledge sources for more accurate reasoning. Extensive experiments on multiple real-world datasets demonstrate the effectiveness of KnowPath. Our code and data are available at https://github.com/tize-72/KnowPath.
