arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.07670cs.AI
收藏

自主LLM代理的记忆:机制、评估与新兴前沿

Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers

Hong Kong Research Institute of Technology(香港理工大学)

Pengfei Du

AI总结:

本文探讨了自主LLM代理中记忆的机制、评估及未来发展方向,分析了五种核心机制及评估挑战,强调记忆对代理适应性和应用的重要性。

摘要:

大型语言模型(LLM)代理越来越多地在需要单一上下文窗口远不足以捕捉已发生的事情、已学习的内容以及不应重复的内容的环境中运行。记忆——在交互中持续、组织并选择性回忆信息的能力——是将无状态文本生成器转变为真正适应性代理的关键。本文提供了对现代基于LLM的代理中记忆设计、实现和评估的结构化概述,涵盖了2022年至2026年初的研究成果。我们正式将代理记忆定义为一个紧密耦合于感知和行动的“写-管理-读”循环,然后引入了一个三维分类法,涵盖时间范围、表示子基质和控制策略。深入探讨了五种机制家族:上下文驻留压缩、检索增强存储、反思性自我改进、层次虚拟上下文和策略学习管理。在评估方面,我们追踪了从静态回忆基准到多会话代理测试的转变,这些测试将记忆与决策制定交织在一起,分析了四个最近的基准测试,揭示了当前系统中固有的差距。我们还调查了记忆是区分因素的应用场景——个人助理、编码代理、开放世界游戏、科学推理和多代理团队合作——并讨论了写入路径过滤、矛盾处理、延迟预算和隐私治理等工程现实。本文最后提出了开放挑战:持续巩固、因果基础检索、可信反思、学习遗忘和多模态具身记忆。

英文摘要:

Large language model (LLM) agents increasingly operate in settings where a single context window is far too small to capture what has happened, what was learned, and what should not be repeated. Memory -- the ability to persist, organize, and selectively recall information across interactions -- is what turns a stateless text generator into a genuinely adaptive agent. This survey offers a structured account of how memory is designed, implemented, and evaluated in modern LLM-based agents, covering work from 2022 through early 2026. We formalize agent memory as a \emph{write--manage--read} loop tightly coupled with perception and action, then introduce a three-dimensional taxonomy spanning temporal scope, representational substrate, and control policy. Five mechanism families are examined in depth: context-resident compression, retrieval-augmented stores, reflective self-improvement, hierarchical virtual context, and policy-learned management. On the evaluation side, we trace the shift from static recall benchmarks to multi-session agentic tests that interleave memory with decision-making, analyzing four recent benchmarks that expose stubborn gaps in current systems. We also survey applications where memory is the differentiating factor -- personal assistants, coding agents, open-world games, scientific reasoning, and multi-agent teamwork -- and address the engineering realities of write-path filtering, contradiction handling, latency budgets, and privacy governance. The paper closes with open challenges: continual consolidation, causally grounded retrieval, trustworthy reflection, learned forgetting, and multimodal embodied memory.

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

↑