arXiv cs.AI· Miao Su, Yucan Guo, Zixuan Li, Long Bai, Zhongni Hou, Xiaolong Jin, Jiafeng Guo·· 2 天前AI 评分39
MemScope:通过局部代码修复演化智能体记忆架构
MemScope: Evolving Agent Memory Architectures through Localized Code Repair
AI 导读
MemScope 是一个基于执行证据对现有智能体记忆架构进行局部演化的框架,其 Patch Agent 联合检查原始执行轨迹、运行时记忆状态与当前架构代码,在 provider 身份和记忆兼容性约束下定位修复目标并做有界原地修改。
正文 · 原文
Abstract:Agent memory architectures define how LLM agents store and reuse experience across tasks, but they are typically fixed after deployment, limiting their adaptability across task types. Recent self-evolving approaches instead adapt these memory architectures using execution feedback, typically represented as evaluation scores or compressed summaries. However, such coarse-grained feedback is insufficient for precise failure localization in current agent systems, where long-horizon task execution involves multiple interacting components. Without a precise failure location, existing approaches lack a clear code-level target for modification, leaving the update scope weakly constrained and often leading to large-scale rewrites of an otherwise capable memory architecture. We propose MemScope, a framework for evidence-grounded, localized evolution of an existing memory architecture. Its tool-using Patch Agent jointly inspects raw execution traces, runtime memory state, and current architecture code to identify repair targets and apply bounded, in-place edits under provider-identity and memory-compatibility constraints. On GAIA, the trace-and-memory inspection variant achieves 86.67% accuracy, compared with 70.00% for trace-only and 63.33% for summary-only feedback. Under xBench tasks, the evolved memory architecture improves over its original version from 49 to 55 correct answers with DeepSeek V3.2 and from 50 to 53 with Kimi K2.7 Code. On disjoint ALFWorld unseen tasks, success rises from 50.75% to 71.64%. Across archived architecture-snapshot transitions, the median code-change ratio is 4.4%. These results support fine-grained execution evidence as a basis for localized, in-place memory-architecture evolution.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.21170 [cs.AI] |
| (or arXiv:2610.21170v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.21170 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Miao Su [view email]
[v1]
Thu, 15 Oct 2026 03:27:34 UTC (1,123 KB)
来源:arXiv cs.AI · arxiv.org