arXiv:2605.07242cs.AIcs.CL2026-05被引 1

解决智能体记忆中因源数据变更导致的连锁失效问题。

MEMOREPAIR: Barrier-First Cascade Repair in Agentic Memory

论文配图:MEMOREPAIR: Barrier-First Cascade Repair in Agentic Memory
图 1 · 摘自论文原文
  • 先隔离失效记忆,再重建有效继承链。
  • 实验显示可将无效记忆暴露率降至0%。
  • 适合构建高可靠智能体系统的开发者使用。

智能体记忆在任务演化中形成持久衍生产物:摘要、缓存输出、嵌入向量、学习技能和可执行工具流程。当源产物被删除、修改或因工具/API迁移而失效时,其衍生产物可能仍可见,并以过时信息引导后续行为。我们将其定义为级联更新问题,修复目标是内存存储中可见的衍生状态。提出MemoRepair,一种基于屏障的级联修复协议。修复事件触发从无效衍生状态到有效继承状态的受控转换:受影响的衍生品先被撤回,继承者基于保留的支持与经修复的前驱在当前接口下构建,且仅允许验证过的前驱闭包继承者重新发布。该协议将修复选择问题转化为固定修复成本权衡下的标量优化问题。我们证明发布的优化问题可简化为最大权重前驱闭包,并可通过单次s-t最小割精确求解。在ToolBench和MemoryArena上的实验表明,在完整影响溯源条件下,MemoRepair将无效记忆暴露率从无级联修复系统中的69.8%-94.3%降至0%;相比全面修复,恢复了91.1%-94.3%的有效继承者,同时将归一化修复操作成本从1.00降至0.57-0.76。

原文摘要 · Abstract (English)

Agentic memory evolves across tasks into durable derived artifacts: summaries, cached outputs, embeddings, learned skills, and executable tool procedures. When a source artifact is deleted, corrected, or invalidated by tool or API migration, descendants derived from that source can remain visible and steer future actions with stale support. We formalize this failure mode as the cascade update problem, where repair targets the visible derived state of the memory store. We present MemoRepair, a barrier-first cascade-repair contract for agentic memory. A repair event induces a controlled transition from invalidated descendant state to validated successor state: affected descendants are withdrawn before repair, successors are constructed from retained support and staged repaired predecessors under the current interface, and republication is restricted to validated predecessor-closed successors. This contract induces a scalarized repair-selection problem for a fixed repair-cost tradeoff. We show that the induced publication problem reduces to maximum-weight predecessor closure and can be solved exactly by a single s-t min-cut. Experiments on ToolBench and MemoryArena show that, with complete influence provenance, MemoRepair reduces invalidated-memory exposure from 69.8-94.3% under systems without cascade repair to 0%. Compared with exhaustive Repair all, it recovers 91.1-94.3% of validated successors while reducing normalized repair-operator cost from 1.00 to 0.57-0.76.

智能体记忆级联修复可靠性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。