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

KG-Hopper:通过强化学习赋能紧凑型开放式大语言模型进行知识图谱推理

KG-Hopper: Empowering Compact Open LLMs with Knowledge Graph Reasoning via Reinforcement Learning

Department of Computer Science(计算机科学系);Engineering Chalmers University of Technology(工程学院查尔姆斯理工大学)

Shuai Wang, Yinan Yu

AI总结:

KG-Hopper通过强化学习框架,使紧凑型开放式大语言模型能够在一个推理回合内完成多跳知识图谱推理,优于更大系统并达到与专有模型相当的性能。

摘要:

大型语言模型(LLMs)在自然语言能力方面表现出色,但在知识密集型推理任务上往往遇到困难。知识库问答(KBQA)通过结构化知识图谱(KGs)体现这一挑战,因其需要准确的多跳推理。现有方法通常通过预定义流程进行顺序推理步骤,限制了灵活性并导致因每一步孤立推理而产生错误级联。为了解决这些限制,我们提出了KG-Hopper,一种新颖的强化学习(RL)框架,使紧凑型开放式LLM能够在一个推理回合内完成集成的多跳KG推理。不同于逐步推理,我们训练了一个推理LLM,将整个KG遍历和决策过程嵌入到统一的『思考』阶段,使能够对跨步骤依赖性进行全局推理并动态路径探索与回溯。在八个KG推理基准测试中,基于7B参数LLM的KG-Hopper在性能上始终优于更大多步系统(最高70B)并达到与专有模型如GPT-3.5-Turbo和GPT-4o-mini相当的性能,同时保持紧凑、开放和数据高效。代码已公开在:https://github.com/Wangshuaiia/KG-Hopper。

英文摘要:

Large Language Models (LLMs) demonstrate impressive natural language capabilities but often struggle with knowledge-intensive reasoning tasks. Knowledge Base Question Answering (KBQA), which leverages structured Knowledge Graphs (KGs) exemplifies this challenge due to the need for accurate multi-hop reasoning. Existing approaches typically perform sequential reasoning steps guided by predefined pipelines, restricting flexibility and causing error cascades due to isolated reasoning at each step. To address these limitations, we propose KG-Hopper, a novel Reinforcement Learning (RL) framework that empowers compact open LLMs with the ability to perform integrated multi-hop KG reasoning within a single inference round. Rather than reasoning step-by-step, we train a Reasoning LLM that embeds the entire KG traversal and decision process into a unified ``thinking'' stage, enabling global reasoning over cross-step dependencies and dynamic path exploration with backtracking. Experimental results on eight KG reasoning benchmarks show that KG-Hopper, based on a 7B-parameter LLM, consistently outperforms larger multi-step systems (up to 70B) and achieves competitive performance with proprietary models such as GPT-3.5-Turbo and GPT-4o-mini, while remaining compact, open, and data-efficient. The code is publicly available at: https://github.com/Wangshuaiia/KG-Hopper.

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

↑