跳到正文
arXiv cs.AI· Xinheng Ding, Seyyed Saeid Cheshmi, Ziyang Zhang, Tairan Chen, Wenya Xie, Yu Hou, Rui Zhang, Zirui Liu·· 3 小时前AI 评分55

MAPE 框架用程序进化发现智能体记忆设计

Discovering Effective Agent Memory Designs through Program Evolution

AI 导读

研究团队提出 MAPE 框架,通过程序进化从最小种子演化出完整的智能体记忆程序。在 LoCoMo 和 LongMemEval 上,相比人工设计的基线,绝对准确率最高提升 12%,服务成本仅为基线的 35%,并支持跨服务骨干和基准的迁移。分析验证了两种设计模式:保留原始对话作为可检索证据、按查询意图组合检索到的证据;将组合模块移植到五个现有记忆系统中均提升了准确率。代码已开源。

正文 · 原文

View PDF HTML (experimental)

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