系统梳理大模型智能体记忆机制与评估方法,揭示其从感知到决策的闭环设计。
Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
- 提出写-管理-读三阶段记忆循环框架,覆盖时间跨度、表征方式与控制策略
- 分析五类记忆机制在多轮任务中的表现差异,识别当前系统仍存在记忆断层
- 适合研究智能体长期行为、记忆架构或应用落地的开发者与研究人员
大型语言模型(LLM)代理在实际场景中面临单次上下文窗口过小的问题,难以保留历史信息、学习经验或避免重复错误。记忆——即跨交互持久化、组织并选择性回忆信息的能力——是将无状态文本生成器转变为真正自适应代理的关键。本文系统综述2022年至2026年初主流LLM代理中记忆的设计、实现与评估方法。将代理记忆形式化为与感知和行动紧密耦合的‘写-管理-读’循环,并构建涵盖时间范围、表征基底与控制策略的三维分类体系。深入分析五类机制:上下文内压缩、检索增强存储、反思式自我改进、分层虚拟上下文及策略学习管理。评估方面,从静态召回测试转向融合决策的多会话任务,剖析四个近期基准,揭示现有系统仍存在显著记忆缺陷。还探讨记忆作为核心竞争力的应用场景:个人助手、编程代理、开放世界游戏、科学推理与多智能体协作,并讨论写入过滤、矛盾处理、延迟预算与隐私治理等工程现实问题。最后提出若干开放挑战:持续整合、因果驱动检索、可信反思、学习遗忘与多模态具身记忆。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。