A Survey on the Memory Mechanism of Large Language Model based Agents
Zeyu Zhang1{}^{1}, Xiaohe Bo1{}^{1}, Chen Ma1{}^{1}, Rui Li1{}^{1}, Xu Chen1{}^{1}, Quanyu Dai2{}^{2}, Jieming Zhu2{}^{2}, Zhenhua Dong2{}^{2}, Ji-Rong Wen1{}^{1} 1{}^{1}Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China 2{}^{2}Huawei Noah’s Ark Lab, China
Abstract
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 impor
原文 arXiv:2404.13501;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2404.13501v1