给记忆加保鲜期,让智能体更懂什么该忘、什么该留。
Caching for the Future: Scrub Jay Episodic Memory Principles for Agent Memory Systems

- 按记忆类型动态设置过期时间,用系数πᵢ标记每条记忆的易腐性。
- 在测试中显著提升长期记忆准确性,通用性得分比基准高0.108。
- 适合需要处理随时间变化信息的长期对话或任务型智能体。
LLM智能体跨会话积累的记忆有效性差异极大,但现有架构将所有记忆视为永久有效,导致检索时混入过时信息。本文受西蓝松鸦情景记忆特性启发,提出可自动分类的衰减系数πᵢ,构建外置记忆系统ScrubJay-MEM:每条记忆以“何事—何地—何时”联合编码,并附带估计的易腐性πᵢ与效用期限τᵢ,通过查询自适应评分检索,每次更新仅需O(1)次LLM调用进行回溯修正。引入时间泛化测试(TGT)基准,包含未见保留间隔和通用性差距(GenGap)指标。在TGT上,ScrubJay-MEM是唯一实现显著正向GenGap(+0.108)的检索系统;在MemoryAgentBench EventQA-64k上,相比Mem0提升F1 +2.66,较Qwen3-Embedding-4B提升+3.09。衰减机制消融实验使GenGap下降5.7倍,证明类型条件衰减对结果至关重要。更强模型下增益缩小,事实固化任务中甚至反转,说明其贡献主要在于对易腐事实的时间推理能力。
原文摘要 · Abstract (English)
LLM agents that persist across sessions accumulate stored memories whose validity varies enormously by content type, yet existing memory architectures treat all memories as equally persistent and systematically contaminate retrieved context with outdated facts. We show that per-memory, type-conditioned temporal decay, a property of western scrub jay episodic memory, can be operationalized as an auto-classified coefficient $π_i$ in an external LLM-agent memory store, yielding ScrubJay-MEM: each memory is encoded as a jointly-bound What--Where--When tuple with an estimated perishability $π_i$ and utility horizon $τ_i$, retrieved by query-adaptive scoring, and revised retroactively at $O(1)$ LLM calls per update. We introduce the Temporal Generalization Test (TGT), a benchmark with held-out retention intervals and a Generalization Gap (GenGap) metric. On TGT, ScrubJay-MEM is the only retrieval-based system with substantially positive GenGap ($+0.108$); on MemoryAgentBench EventQA-64k it improves F1 by $+2.66$ over Mem0 and $+3.09$ over Qwen3-Embedding-4B under a llm backbone. A decay ablation collapses GenGap by $5.7\times$, establishing type-conditioned decay as necessary for the result. Gains narrow under stronger backbones and reverse on fact-consolidation tasks, scoping the contribution to temporal reasoning over perishable facts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。