arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.14256cs.AIcs.IR
收藏

PathMind: 一种基于大语言模型的知识图谱推理检索-优先-推理框架

PathMind: A Retrieve-Prioritize-Reason Framework for Knowledge Graph Reasoning with Large Language Models

Yu Liu, Xixun Lin, Yanmin Shang, Yangxi Li, Shi Wang, Yanan Cao

AI总结:

PathMind通过检索-优先-推理框架,提升大语言模型在知识图谱推理中的准确性和可解释性,尤其在复杂推理任务中表现优异。

摘要:

知识图谱推理(KGR)是通过在知识图谱上进行逻辑推演来推断新知识的任务。最近,大语言模型(LLMs)在复杂推理任务中展现了显著的性能。尽管取得了令人鼓舞的成功,但当前基于LLM的知识图谱推理方法仍面临两个关键限制。首先,现有方法往往随意提取推理路径,而不评估其不同的重要性,这可能会引入无关的噪声,导致LLM误判。其次,虽然许多方法利用LLM动态探索潜在的推理路径,但它们需要高检索需求和频繁的LLM调用。为了解决这些限制,我们提出了PathMind,一种新的框架,旨在通过选择性地引导LLM使用重要的推理路径来增强忠实和可解释的推理。具体而言,PathMind遵循“检索-优先-推理”范式。首先,它通过检索模块从KG中检索查询子图。接下来,它引入了一种路径优先机制,利用一个语义感知的路径优先函数来识别重要的推理路径,该函数同时考虑累积成本和到达目标的估计未来成本。最后,PathMind通过双阶段训练策略生成准确且逻辑一致的响应,包括任务特定的指令微调和路径优先对齐。在基准数据集上的大量实验表明,PathMind在复杂推理任务中,尤其是在输入token较少时, consistently 超过了竞争性的基线方法,通过识别关键的推理路径。

英文摘要:

Knowledge graph reasoning (KGR) is the task of inferring new knowledge by performing logical deductions on knowledge graphs. Recently, large language models (LLMs) have demonstrated remarkable performance in complex reasoning tasks. Despite promising success, current LLM-based KGR methods still face two critical limitations. First, existing methods often extract reasoning paths indiscriminately, without assessing their different importance, which may introduce irrelevant noise that misleads LLMs. Second, while many methods leverage LLMs to dynamically explore potential reasoning paths, they require high retrieval demands and frequent LLM calls. To address these limitations, we propose PathMind, a novel framework designed to enhance faithful and interpretable reasoning by selectively guiding LLMs with important reasoning paths. Specifically, PathMind follows a "Retrieve-Prioritize-Reason" paradigm. First, it retrieves a query subgraph from KG through the retrieval module. Next, it introduces a path prioritization mechanism that identifies important reasoning paths using a semantic-aware path priority function, which simultaneously considers the accumulative cost and the estimated future cost for reaching the target. Finally, PathMind generates accurate and logically consistent responses via a dual-phase training strategy, including task-specific instruction tuning and path-wise preference alignment. Extensive experiments on benchmark datasets demonstrate that PathMind consistently outperforms competitive baselines, particularly on complex reasoning tasks with fewer input tokens, by identifying essential reasoning paths.

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

↑