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

基于大语言模型的智能体记忆机制综述

A Survey on the Memory Mechanism of Large Language Model based Agents

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Zeyu Zhang, Xiaohe Bo, Chen Ma, Rui Li, Xu Chen, Quanyu Dai, Jieming Zhu, Zhenhua Dong, Ji-Rong Wen

AI总结:

本文全面综述了基于LLM的智能体记忆机制,系统回顾了记忆的定义、设计、评估与应用,并指出了现有局限与未来方向。

摘要:

基于大语言模型(LLM)的智能体近期引起了研究与工业界的广泛关注。与原始LLM相比,基于LLM的智能体以其自我进化能力为特征,这是解决需要长期且复杂的智能体-环境交互的现实问题的基础。支持智能体-环境交互的关键组件是智能体的记忆。尽管先前的研究提出了许多有前景的记忆机制,但它们分散在不同的论文中,缺乏从整体视角总结和比较这些工作的系统性综述,未能提炼出通用且有效的设计模式以启发未来研究。为了弥补这一空白,本文对基于LLM的智能体的记忆机制进行了全面综述。具体而言,我们首先讨论了基于LLM的智能体中记忆“是什么”以及“为什么需要”记忆。然后,我们系统地回顾了先前关于如何设计和评估记忆模块的研究。此外,我们还展示了多个智能体应用,其中记忆模块发挥了重要作用。最后,我们分析了现有工作的局限性,并指出了重要的未来方向。为跟进该领域的最新进展,我们创建了一个代码库:https://github.com/nuster1128/LLM_Agent_Memory_Survey。

英文摘要:

Large language model (LLM) based agents have recently attracted much attention from the research and industry communities. Compared with original LLMs, LLM-based agents are featured in their self-evolving capability, which is the basis for solving real-world problems that need long-term and complex agent-environment interactions. The key component to support agent-environment interactions is the memory of the agents. While previous studies have proposed many promising memory mechanisms, they are scattered in different papers, and there lacks a systematical review to summarize and compare these works from a holistic perspective, failing to abstract common and effective designing patterns for inspiring future studies. To bridge this gap, in this paper, we propose a comprehensive survey on the memory mechanism of LLM-based agents. In specific, we first discuss ''what is'' and ''why do we need'' the memory in LLM-based agents. Then, we systematically review previous studies on how to design and evaluate the memory module. In addition, we also present many agent applications, where the memory module plays an important role. At last, we analyze the limitations of existing work and show important future directions. To keep up with the latest advances in this field, we create a repository at \url{https://github.com/nuster1128/LLM_Agent_Memory_Survey}.

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

↑