Metis:为自演化智能体桥接文本与代码记忆 Metis: Bridging Text and Code Memory for Self-Evolving Agents 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-23
👁️ 预览文献
💡 AI 中文简介
该研究探讨了自演化智能体如何从过往经验中学习。作者首次系统对比了将经验存为自然语言文本或可调用代码两种方式的优劣,发现二者在构建成本、执行效率和迁移性上各有取舍。为此提出Metis系统,采用分层双表示记忆:文本经验分为执行计划、环境事实和常见陷阱,并将反复出现的计划转化为可调用工具。在AppWorld基准上,Metis比ReAct准确率提升最高20.6%,执行成本降低22.8%,在准确率、效率和构建成本间取得更好平衡。
领域人工智能/智能体与自主系统
适合谁读需要一定专业背景(了解智能体、强化学习或程序合成)
核心贡献首次通过控制实验揭示文本记忆与代码记忆在构建成本、执行效率和迁移性上的互补权衡;提出分层双表示记忆系统Metis,按需将重复计划结晶为可调用工具,兼顾文本的广泛适用性与代码的执行效率。
关键数据在AppWorld基准上,相比ReAct,任务准确率提升最高20.6%,执行成本降低最高22.8%;与代表性自演化智能体系统相比,在准确率、执行效率和记忆构建成本间实现更优平衡。
推荐理由如果你关心智能体如何越用越聪明,这篇论文用扎实的实验告诉你文本和代码记忆该怎么选、怎么结合,还给出了一个性能提升显著的系统方案。
关键词["自演化智能体", "记忆表示", "文本与代码", "工具生成", "经验复用", "交互式智能体"]

原文摘要

查看英文原文摘要

Self-evolving agents improve over time by distilling experience from past executions and reusing it in future tasks. Existing systems represent such experience either as natural-language text injected into the agent context or as code exposed as callable tools. However, the choice between these representations is typically made at design time rather than derived from the characteristics of the experience itself, leaving the trade-offs between them poorly understood. We present the first controlled study that isolates text memory and code memory over an identical set of experiences. Our results show that the two forms exhibit complementary trade-offs in construction cost, execution efficiency, and transferability, such that neither representation alone is sufficient. Guided by these findings, we propose Metis, a self-evolving agent system built on a hierarchical dual-representation memory. Metis organizes textual experience into execution plans, environment facts, and common pitfalls, and selectively crystallizes recurring plans into validated callable tools. This design combines the broad applicability of text memory with the execution efficiency of code memory while incurring tool-generation cost only when justified by repeated reuse. We evaluate Metis on AppWorld, a challenging benchmark for interactive agents. The results show that Metis improves task accuracy by up to 20.6% over ReAct while reducing execution cost by up to 22.8%. Compared with representative self-evolving agent systems, Metis consistently achieves a better balance between accuracy, execution efficiency, and memory-construction cost.