arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.12818cs.CLcs.AIcs.IRcs.LG
收藏

事后诸葛亮:构建具有保留、回忆和反思能力的智能体记忆

Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects

The Washington Post(华盛顿邮报);Virginia Tech(弗吉尼亚理工大学)

Chris Latimer, Nicoló Boschi, Andrew Neeser, Chris Bartholomew, Gaurav Srivastava, Xuan Wang, Naren Ramakrishnan

AI总结:

Hindsight通过结构化内存架构提升智能体在长对话中的记忆与推理能力,显著提高多会话和开放领域问题的准确率。

摘要:

智能体记忆被宣传为LLM应用增长的一个维度,使智能体能够积累经验、在不同会话中适应,并超越单次问答。当前一代的智能体记忆系统将记忆视为一个外部层,从对话中提取显著片段,存储在向量或图结构存储中,并将top-k项检索到无状态模型的提示中。尽管这些系统提高了个性化和上下文延续性,但它们仍然模糊了证据与推理之间的界限,难以在长时间范围内组织信息,并且对必须解释推理的智能体提供有限的支持。我们提出了Hindsight,一种将智能体记忆视为结构化、第一类推理基础的内存架构,通过将其分为四个逻辑网络来区分世界事实、智能体经验、合成实体摘要和演变信念。该框架支持三个核心操作——保留、回忆和反思——这些操作决定了信息如何被添加、访问和更新。在此抽象下,一个时间感知、实体感知的内存层逐步将对话流转化为结构化的、可查询的内存库,同时一个反思层对这个库进行推理,以生成答案并更新信息以可追溯的方式。在关键的长时间对话记忆基准测试上,如LongMemEval和LoCoMo,Hindsight使用开源的20B模型,将整体准确率从39%提升到83.6%,超过了具有相同基础架构的全上下文基线,并在LoCoMo上优于全上下文GPT-4o。进一步扩展基础架构,Hindsight在LongMemEval上达到91.4%,在LoCoMo上达到89.61%(相比最强的开源系统75.78%),在多会话和开放领域问题上持续优于现有内存架构。

英文摘要:

Agent memory has been touted as a dimension of growth for LLM-based applications, enabling agents that can accumulate experience, adapt across sessions, and move beyond single-shot question answering. The current generation of agent memory systems treats memory as an external layer that extracts salient snippets from conversations, stores them in vector or graph-based stores, and retrieves top-k items into the prompt of an otherwise stateless model. While these systems improve personalization and context carry-over, they still blur the line between evidence and inference, struggle to organize information over long horizons, and offer limited support for agents that must explain their reasoning. We present Hindsight, a memory architecture that treats agent memory as a structured, first-class substrate for reasoning by organizing it into four logical networks that distinguish world facts, agent experiences, synthesized entity summaries, and evolving beliefs. This framework supports three core operations -- retain, recall, and reflect -- that govern how information is added, accessed, and updated. Under this abstraction, a temporal, entity aware memory layer incrementally turns conversational streams into a structured, queryable memory bank, while a reflection layer reasons over this bank to produce answers and to update information in a traceable way. On key long-horizon conversational memory benchmarks like LongMemEval and LoCoMo, Hindsight with an open-source 20B model lifts overall accuracy from 39% to 83.6% over a full-context baseline with the same backbone and outperforms full context GPT-4o. Scaling the backbone further pushes Hindsight to 91.4% on LongMemEval and up to 89.61% on LoCoMo (vs. 75.78% for the strongest prior open system), consistently outperforming existing memory architectures on multi-session and open-domain questions.

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

↑