arXiv cs.AI· Xinheng Ding, Seyyed Saeid Cheshmi, Ziyang Zhang, Tairan Chen, Wenya Xie, Yu Hou, Rui Zhang, Zirui Liu·· 1 天前AI 评分55
MAPE:用程序演化自动发现智能体记忆设计
Discovering Effective Agent Memory Designs through Program Evolution
AI 导读
研究提出 MAPE 框架,通过标准化生命周期接口和迭代的诊断-提议循环,从最小种子出发演化出完整的记忆程序。在 LoCoMo 和 LongMemEval 上,其准确率比人工设计基线最高提升 12%,服务成本仅为后者的 35%。分析归纳出两条设计模式:保留原始对话作为可检索证据,以及按查询意图组合检索到的证据;将组合模块移植到五个现有记忆系统后,准确率均有提升。
正文 · 原文
Abstract:Program evolution provides a promising approach to discover agent memory designs and study the choices underlying their effectiveness. We introduce MAPE, a framework that evolves whole memory programs from minimal seeds through a standardized lifecycle interface and an iterative diagnosis-proposal loop. Experiments on LoCoMo and LongMemEval yield an absolute accuracy gain of up to 12% over manually designed baselines at 35% of the serving cost, with further evaluations supporting transfer across serving backbones and benchmarks. Empirical analyses and ablations identify and validate two recurring design patterns: retaining raw conversations as retrievable evidence preserves details omitted from extracted memories, while composing retrieved evidence according to query intent helps the answering model use it effectively. Transplanting the composition module into five existing memory systems improves accuracy across all five. Beyond these patterns, the search objective shapes where computation goes: optimizing serving cost alongside accuracy shifts computation from LLM-based memory construction to selective processing at query time while retaining competitive accuracy. Together, these findings offer empirical lessons for agent memory design. Code is available at this https URL.
| Comments: | 24 pages, 8 figures, 10 tables |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.17068 [cs.CL] |
| (or arXiv:2611.17068v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.17068 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xinheng Ding [view email]
[v1]
Thu, 12 Nov 2026 16:42:04 UTC (2,080 KB)
来源:arXiv cs.AI · arxiv.org