让大模型代理记住每句话的来源和时间,防止胡编乱造。
Agent Zero Memory: Provenance-Aware Long-Term Memory for LLM Agents
- 三重并行记忆:事件时间线、关联知识图谱、带引用锁定的文档库
- 在两个基准上分别达95.60%和93.60%,超越现有系统
- 强调出处与可验证性,避免幻觉,适合需要高可信度的场景
大型语言模型(LLM)代理需要持久且忠实的记忆来保存用户或组织的所有对话与资料,但多数记忆系统仅采用单一结构(如事实库、向量索引或知识图谱),继承其盲区。我们提出 Agent Zero Memory,一种溯源感知的长期记忆系统,将用户的对话、文件及关联源数据提炼为三个并行记忆系统:一个将时间与变更内容作为首要元素的事件时间线,一个连接人物与项目跨会话的关联实体-事件知识图谱,以及一个语义化、人工维护、引用锁定的层级文档记忆(HDM)。检索时,通过意图门控(无额外延迟)、源路由和三个并发的智能搜索(每系统各一),每个搜索均采用混合(嵌入+关键词)检索与代理控制的过滤器;其基于证据的答案经整合后生成单一置信度结果。我们形式化阅读规范:每个学习条目均为带来源、时间戳和证据指针的溯源项,每次回答均需在引用锁定下进行,仅能引用实际打开的证据;虚构被结构性排除,系统拒绝猜测。在两个公开基准上,系统达到新最佳表现:LongMemEval 95.60%,LoCoMo 93.60%,优于最强先期系统 +0.73 和 +1.10 分。八种骨干模型的对照研究揭示了准确率-成本-延迟边界:准确率仅波动3.4分,单次查询成本相差约30倍,最高可实现20倍成本降低而保持近最佳质量,凸显记忆驱动而非模型驱动的质量优势。
原文摘要 · Abstract (English)
Large language model (LLM) agents need durable, faithful memory of everything a user or organization has said and stored, yet most memory systems commit to a single organizing structure (a fact store, a vector index, or a knowledge graph) and inherit its blind spots. We present Agent Zero Memory, a provenance-aware long-term memory system that distils a user's conversations, files, and connected sources into three parallel memory systems, each capturing a different facet of the same history: an episodic Memory Events timeline that makes when and what changed first-class, an associative entity-event knowledge graph that links people and projects across sessions, and a semantic, curated, citation-locked Hierarchical Documentary Memory (HDM) of durable facts. A retrieval turn runs an intent gate (so self-contained turns add no latency), a source router, and three concurrent agentic searches, one per system, each a tool-using loop over hybrid (embedding + lexical) search under agent-controlled filters; their grounded, cited answers are integrated into one answer with a single confidence. We formalize the reading discipline: every learned item is a provenanced item carrying its origin, timestamp, and evidence pointer, and every answer is read under a citation lock, so it may cite only evidence its reader actually opened; fabrication is structurally excluded and the system abstains rather than guesses. On two public benchmarks the system sets a new state of the art: 95.60% on LongMemEval and 93.60% on LoCoMo, improving over the strongest prior systems by +0.73 and +1.10 points. A controlled study across eight backbone LLMs characterizes the accuracy-cost-latency frontier: accuracy varies by only 3.4 points while per-query cost varies by ~30x, with near-state-of-the-art quality at up to 20x lower cost per query, the signature of memory-driven, rather than model-driven, quality.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。