arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.03283cs.AIcs.CLcs.LG
收藏

SymAgent:一种用于知识图谱上复杂推理的神经符号自学习智能体框架

SymAgent: A Neural-Symbolic Self-Learning Agent Framework for Complex Reasoning over Knowledge Graphs

School of Computer Science, Wuhan University(武汉大学计算机学院);DAMO Academy, Alibaba Group(阿里巴巴达摩院)

Ben Liu, Jihai Zhang, Fangquan Lin, Cheng Yang, Min Peng, Wotao Yin

AI总结:

本文提出神经符号自学习框架 SymAgent,通过规划、执行与在线/离线自学习协同知识图谱和 LLM,在 7B 骨干上达到优于或可比强基线的复杂推理性能。

摘要:

近期进展凸显出,大语言模型(LLM)在解决复杂推理问题时容易产生幻觉,从而导致错误结果。为应对这一问题,研究人员引入知识图谱(KG)以提升 LLM 的推理能力。然而,现有方法面临两点局限:1)它们通常假设问题的所有答案都包含在 KG 中,忽视了 KG 的不完整性问题;2)它们将 KG 视为静态知识库,忽略了 KG 内在的隐式逻辑推理结构。本文提出 SymAgent,这是一种创新的神经符号智能体框架,可实现 KG 与 LLM 之间的协同增强。我们将 KG 概念化为动态环境,并把复杂推理任务转化为多步交互过程,使 KG 能够深度参与推理过程。SymAgent 由两个模块组成:Agent-Planner 与 Agent-Executor。Agent-Planner 利用 LLM 的归纳推理能力从 KG 中提取符号规则,以指导高效的问题分解。Agent-Executor 自主调用预定义的动作工具,整合来自 KG 和外部文档的信息,从而解决 KG 不完整的问题。此外,我们设计了包含在线探索和离线迭代策略更新阶段的自学习框架,使智能体能够自动合成推理轨迹并提升性能。实验结果表明,采用较弱 LLM 骨干(即 7B 系列)的 SymAgent,与多种强基线相比取得了更优或相当的性能。进一步分析显示,我们的智能体能够识别缺失的三元组,从而促进 KG 的自动更新。

英文摘要:

Recent advancements have highlighted that Large Language Models (LLMs) are prone to hallucinations when solving complex reasoning problems, leading to erroneous results. To tackle this issue, researchers incorporate Knowledge Graphs (KGs) to improve the reasoning ability of LLMs. However, existing methods face two limitations: 1) they typically assume that all answers to the questions are contained in KGs, neglecting the incompleteness issue of KGs, and 2) they treat the KG as a static repository and overlook the implicit logical reasoning structures inherent in KGs. In this paper, we introduce SymAgent, an innovative neural-symbolic agent framework that achieves collaborative augmentation between KGs and LLMs. We conceptualize KGs as dynamic environments and transform complex reasoning tasks into a multi-step interactive process, enabling KGs to participate deeply in the reasoning process. SymAgent consists of two modules: Agent-Planner and Agent-Executor. The Agent-Planner leverages LLM's inductive reasoning capability to extract symbolic rules from KGs, guiding efficient question decomposition. The Agent-Executor autonomously invokes predefined action tools to integrate information from KGs and external documents, addressing the issues of KG incompleteness. Furthermore, we design a self-learning framework comprising online exploration and offline iterative policy updating phases, enabling the agent to automatically synthesize reasoning trajectories and improve performance. Experimental results demonstrate that SymAgent with weak LLM backbones (i.e., 7B series) yields better or comparable performance compared to various strong baselines. Further analysis reveals that our agent can identify missing triples, facilitating automatic KG updates.

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

↑