Enhancing Large Language Models with Reward-guided Tree Search for Knowledge Graph Question and Answering
Xiao Long, Liansheng Zhuang, Chen Shen, Shaotian Yan, Yifei Li, Shafei Wang
TL;DR
This work addresses KGQA with large language models by identifying limitations in GraphRAG approaches, notably the underutilization of historical reasoning paths and unreliable path retrieval. It introduces RTSoG, a training-free framework that decomposes complex questions, uses a Self-Critic Monte Carlo Tree Search to iteratively retrieve weighted reasoning paths from a knowledge graph, and stacks these paths to generate faithful answers. Across four benchmark datasets, RTSoG achieves state-of-the-art results, demonstrating substantial gains over prior methods and compatibility with both open-source and proprietary LLMs. The approach offers a principled balance between exploration and exploitation of KG reasoning while maintaining practical efficiency, making it well-suited for real-world KGQA tasks.
Abstract
Recently, large language models (LLMs) have demonstrated impressive performance in Knowledge Graph Question Answering (KGQA) tasks, which aim to find answers based on knowledge graphs (KGs) for natural language questions. Existing LLMs-based KGQA methods typically follow the Graph Retrieval-Augmented Generation (GraphRAG) paradigm, which first retrieves reasoning paths from the large KGs, and then generates the answers based on them. However, these methods emphasize the exploration of new optimal reasoning paths in KGs while ignoring the exploitation of historical reasoning paths, which may lead to sub-optimal reasoning paths. Additionally, the complex semantics contained in questions may lead to the retrieval of inaccurate reasoning paths. To address these issues, this paper proposes a novel and training-free framework for KGQA tasks called Reward-guided Tree Search on Graph (RTSoG). RTSoG decomposes an original question into a series of simpler and well-defined sub-questions to handle the complex semantics. Then, a Self-Critic Monte Carlo Tree Search (SC-MCTS) guided by a reward model is introduced to iteratively retrieve weighted reasoning paths as contextual knowledge. Finally, it stacks the weighted reasoning paths according to their weights to generate the final answers. Extensive experiments on four datasets demonstrate the effectiveness of RTSoG. Notably, it achieves 8.7\% and 7.0\% performance improvement over the state-of-the-art method on the GrailQA and the WebQSP respectively.
