利用记忆:记忆代理中记忆基质的整体评估

·

研究论文 · 2026/08/19

记忆正成为长周期LLM智能体的核心基础设施,但现有评估对在不同操作机制下应使用哪种记忆基底(即记忆表示和存储的底层介质)提供的指导有限。我们提出了一种对记忆增强智能体的记忆基底进行受控基准评估的方法,涵盖密集和稀疏索引、文本记录、结构存储、层次存储、基于精炼的记忆、参数更新和激活兼容的上下文机制。在三个骨干模型和四个基准套件(涵盖用户为中心的问答和智能体为中心的决策)中,我们在统一基准下测量了26项性能和效率指标。结果表明,没有单一基底始终占优:广泛检索有利于长上下文事实问答,但过度检索可能通过将注意力从行动关键上下文转移而损害顺序决策。可扩展性引入了另一个路由轴,因为在中等历史长度下表现良好的基底在更长范围内可能变得昂贵或脆弱。这些发现促使基底路由成为自适应智能体记忆系统的必要组成部分,并为设计高效、可靠且机制感知的LLM智能体长期记忆提供了经验指导。代码将在接受后提供。

该论文填补了记忆基底评估的空白,提供了实证指导,对设计高效可靠的LLM智能体长期记忆系统具有重要价值。

Memory is becoming core infrastructure for long-horizon LLM agents, yet existing evaluations offer limited guidance on which memory substrate, namely the underlying medium in which memory is represented and stored, should be used under different operating regimes. We present a controlled harness evaluation of memory substrates for memory-augmented agents, covering dense and sparse indices, text records, structural stores, hierarchical stores, refinement-based memories, parametric updates, and activation-compatible context mechanisms. Across three backbone models and four benchmark suites spanning user-centric question answering and agent-centric decision-making, we instrument 26 performance and efficiency metrics under a unified harness. Our results show that no single substrate consistently dominates: broad retrieval benefits long-context factual QA, while excessive retrieval can harm sequential decision-making by shifting attention away from action-critical context. Scalability introduces a further routing axis, as substrates that perform well at moderate history lengths can become costly or brittle at longer horizons. These findings motivate substrate routing as a necessary component of adaptive agent memory systems and provide empirical guidance for designing efficient, reliable, and regime-aware long-term memory for LLM agents. Code will be made available upon acceptance.

阅读原文

参与讨论