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

AriGraph:为大语言模型智能体学习具有情景记忆的知识图谱世界模型

AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agents

AIRI;Skoltech(斯科尔科沃科学技术学院);London Institute for Mathematical Sciences(伦敦数学科学研究所);University of Oxford(牛津大学)

Petr Anokhin, Nikita Semenov, Artyom Sorokin, Dmitry Evseev, Andrey Kravchenko, Mikhail Burtsev, Evgeny Burnaev

AI总结:

针对LLM智能体非结构化记忆难以支持推理规划的问题,本文提出AriGraph记忆图谱,融合语义与情景记忆,使Ariadne智能体在文字游戏和多跳问答中取得优越表现。

摘要:

大语言模型(LLM)能力的进步为开发自主智能体奠定了富有前景的基础。借助合适的工具,这些智能体可以通过积累和更新知识,学会在新环境中解决任务。当前基于LLM的智能体使用完整观测历史、摘要和检索增强来处理过往经验。然而,这些非结构化记忆表示并不支持复杂决策所必需的推理和规划。在我们的研究中,我们提出了AriGraph,这是一种新颖方法,其中智能体在探索环境的同时构建并更新一个整合语义记忆与情景记忆的记忆图谱。我们证明,由所提出的记忆架构以及规划和决策增强组成的Ariadne LLM智能体,能够在即使对人类玩家而言也很困难的交互式文字游戏环境中有效处理复杂任务。结果表明,在一系列复杂度不同的问题上,我们的方法显著优于其他成熟的记忆方法和强大的RL基线。此外,在静态多跳问答中,AriGraph相比专门基于知识图谱的方法也表现出具有竞争力的性能。

英文摘要:

Advancements in the capabilities of Large Language Models (LLMs) have created a promising foundation for developing autonomous agents. With the right tools, these agents could learn to solve tasks in new environments by accumulating and updating their knowledge. Current LLM-based agents process past experiences using a full history of observations, summarization, retrieval augmentation. However, these unstructured memory representations do not facilitate the reasoning and planning essential for complex decision-making. In our study, we introduce AriGraph, a novel method wherein the agent constructs and updates a memory graph that integrates semantic and episodic memories while exploring the environment. We demonstrate that our Ariadne LLM agent, consisting of the proposed memory architecture augmented with planning and decision-making, effectively handles complex tasks within interactive text game environments difficult even for human players. Results show that our approach markedly outperforms other established memory methods and strong RL baselines in a range of problems of varying complexity. Additionally, AriGraph demonstrates competitive performance compared to dedicated knowledge graph-based methods in static multi-hop question-answering.

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

↑