MemPro:作为可进化程序的智能体记忆系统
MemPro: Agentic Memory Systems as Evolvable Programs
AI总结:
提出MemPro框架,将整个记忆构建-检索管道视为可进化程序,通过故障模式引导的编辑-调试迭代优化,在多个长时任务数据集上超越静态和提示级进化基线。
摘要:
长时程自主智能体需要记忆系统来保留历史信息、跟踪演化状态并在有限上下文窗口之外重用相关知识。现有的智能体记忆系统通常遵循记忆构建-检索(MCR)管道,但往往主要适应记忆库,而在部署后保持周围管道固定。这种固定管道设计难以处理异构的任务特定故障模式,并且可能随着时间推移与规模和结构演化的记忆库产生错位。为解决这些限制,我们提出MemPro,一种系统级进化框架,将整个MCR管道视为可进化程序,而不仅仅是适应记忆库或提示文本。MemPro维护一个可运行记忆系统实现的版本树,其中进化智能体迭代选择有前途的版本,诊断重复出现的故障,并通过故障模式引导的编辑-调试改进创建改进的子版本。在LongMemEval、LoCoMo、HotpotQA和NarrativeQA上的实验表明,MemPro在几次迭代内持续优于强静态和提示级进化基线,随着进化持续改进,并实现了良好的性能-成本权衡。代码可在https://github.com/wanghai673/MemPro获取。
英文摘要:
Long-horizon autonomous agents require memory systems to retain historical information, track evolving states, and reuse relevant knowledge beyond finite context windows. Existing agentic memory systems typically follow a memory construction-retrieval (MCR) pipeline, but often adapt mainly the memory bank while keeping the surrounding pipeline fixed after deployment. This fixed-pipeline design struggles to handle heterogeneous task-specific failure modes and can become misaligned with memory banks that evolve in scale and structure over time. To address these limitations, we propose MemPro, a system-level evolution framework that treats the entire MCR pipeline as an evolvable program rather than adapting only the memory bank or prompt text. MemPro maintains a version tree of runnable memory-system implementations, where an Evolving Agent iteratively selects promising versions, diagnoses recurring failures, and creates improved child versions through failure-mode-guided edit-debug refinement. Experiments on LongMemEval, LoCoMo, HotpotQA, and NarrativeQA show that MemPro consistently outperforms strong static and prompt-level evolving baselines within a few iterations, continues to improve with evolution, and achieves a favorable performance-cost trade-off. Code is available at https://github.com/wanghai673/MemPro.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。