用奖励引导树搜索提升大模型在知识图谱问答中的推理能力
Enhancing Large Language Models with Reward-guided Tree Search for Knowledge Graph Question and Answering
- 将复杂问题拆解为子问题,分步优化推理路径
- 通过奖励模型指导树搜索,提升路径准确性,最高提升7.0%
- 无需训练,适合追求高精度的KGQA研究与应用
近年来,大语言模型在知识图谱问答(KGQA)任务中表现优异,旨在根据知识图谱回答自然语言问题。现有方法多采用图检索增强生成(GraphRAG)范式,先从大规模知识图谱中检索推理路径,再基于路径生成答案。然而,这些方法侧重探索新路径而忽视历史路径的利用,可能导致次优推理;同时复杂语义易导致错误路径检索。为此,本文提出一种无需训练的新框架RTSoG(Reward-guided Tree Search on Graph)。该框架将原始问题分解为一系列更简单的子问题以处理复杂语义,引入由奖励模型指导的自评蒙特卡洛树搜索(SC-MCTS),迭代检索加权推理路径作为上下文知识,并按权重堆叠生成最终答案。在四个数据集上的实验表明,RTSoG表现优异,在GrailQA和WebQSP上分别相比最先进方法提升8.7%和7.0%。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。