arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12487cs.CLcs.AI
收藏

KG-Reasoner: 一种用于端到端多跳知识图谱推理的强化模型

KG-Reasoner: A Reinforced Model for End-to-End Multi-Hop Knowledge Graph Reasoning

Department of Computer Science and Engineering(计算机科学与工程系)

Shuai Wang, Yinan Yu

AI总结:

本文提出KG-Reasoner,通过强化学习整合多步推理至LLM的'思考'阶段,实现动态探索推理路径,实验表明其在多跳和知识密集型推理任务中表现优异。

摘要:

大型语言模型(LLMs)在自然语言理解和生成方面表现出色,但在知识密集型推理方面存在困难。结构化知识图谱(KGs)提供了有效的外部知识表示形式,并广泛用于增强经典知识库问答(KBQA)任务的性能。然而,对复杂查询进行精确的多跳KG推理仍极具挑战性。现有方法通常将推理过程分解为一系列孤立步骤,通过固定管道执行。虽然在一定程度上有效,但此类设计限制了推理的灵活性,并将整体决策过程碎片化,常导致不一致性和早期步骤中关键中间信息的丢失。本文引入KG-Reasoner,一种端到端框架,将多步推理整合到Reasoning LLM的统一'思考'阶段。通过强化学习(RL),LLM被训练以内部化KG遍历过程,使其能够动态探索推理路径,并在必要时进行回溯。在八个多跳和知识密集型推理基准测试中,KG-Reasoner在与现有最先进方法相比时表现出竞争力或优越性。代码可在仓库中获得:https://github.com/Wangshuaiia/KG-Reasoner。

英文摘要:

Large Language Models (LLMs) exhibit strong abilities in natural language understanding and generation, yet they struggle with knowledge-intensive reasoning. Structured Knowledge Graphs (KGs) provide an effective form of external knowledge representation and have been widely used to enhance performance in classical Knowledge Base Question Answering (KBQA) tasks. However, performing precise multi-hop reasoning over KGs for complex queries remains highly challenging. Most existing approaches decompose the reasoning process into a sequence of isolated steps executed through a fixed pipeline. While effective to some extent, such designs constrain reasoning flexibility and fragment the overall decision process, often leading to incoherence and the loss of critical intermediate information from earlier steps. In this paper, we introduce KG-Reasoner, an end-to-end framework that integrates multi-step reasoning into a unified "thinking" phase of a Reasoning LLM. Through Reinforcement Learning (RL), the LLM is trained to internalize the KG traversal process, enabling it to dynamically explore reasoning paths, and perform backtracking when necessary. Experiments on eight multi-hop and knowledge-intensive reasoning benchmarks demonstrate that KG-Reasoner achieves competitive or superior performance compared to the state-of-the-art methods. Codes are available at the repository: https://github.com/Wangshuaiia/KG-Reasoner.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑