EvoUndo:面向LLM智能体工具的可恢复性约束自进化

·

研究论文 · 2026/09/01

LLM代理在运行时越来越多地修改自身的提示、工具、中间件、资源和执行框架。这种自我进化可以提高能力,但成功的变异可能留下持久影响,在不同于创建时的状态下无法安全逆转。我们引入EvoUndo,一个用于表示、合成、诊断和独立验证模型生成的自我修改在反事实状态下的可恢复性的框架。在600个未见过的单次自我进化任务中,我们识别出197个通过能力改进但未能通过可恢复性验证的变异。在原始恢复表示下,传统修复策略无法恢复这些自然失败中的任何一个。确定性oracle分析在原始恢复语言L0下恢复了48/197,而扩展恢复演算将经验oracle恢复提高到191/197。协议锁定的2x2接地性-表达性干预分离了两个瓶颈:精确状态地址接地在原始语言足够时将成功恢复从0/48提高到38/48(79.2%),而扩展恢复语言在oracle定义的S1层中使142/143(99.3%)的失败得以恢复。在主要的gpt-oss-120b骨干上,向更丰富的语言添加精确地址诊断将恢复率降至133/143(93.0%);Qwen3.8-27B复制保留了接地性和表达性效应,但没有这种负面交互,表明后者依赖于模型。这些结果表明,可靠的代理自我进化需要共同设计验证、状态接地、见证语义和恢复语言表达性,而不是仅仅依赖迭代提示。

该论文针对LLM代理自我进化中的可恢复性问题,提出了系统性的框架和实验分析,揭示了现有方法的不足,并指出了关键瓶颈和解决方案,对构建可靠的自主代理具有重要指导意义。

LLM agents increasingly modify their own prompts, tools, middleware, resources, and execution harnesses at runtime. Such self-evolution can improve capability, but a successful mutation may leave persistent effects that cannot be safely reversed in states different from the one in which it was created. We introduce EvoUndo, a framework for representing, synthesizing, diagnosing, and independently verifying recoverability of model-generated self-modifications across counterfactual states. Across 600 unseen one-shot self-evolution tasks, we identify 197 capability-improving mutations that fail recoverability verification. Under the original recovery representation, conventional repair strategies recover 0/197 of these natural failures. Deterministic oracle analysis recovers 48/197 under the original recovery language L0, while the extended recovery calculus increases empirical oracle recovery to 191/197. A protocol-locked 2x2 grounding-by-expressivity intervention then separates two bottlenecks: exact state-address grounding increases successful recovery from 0/48 to 38/48 (79.2%) when the original language is sufficient, while extending the recovery language enables recovery on 142/143 (99.3%) failures in the oracle-defined S1 stratum. On the primary gpt-oss-120b backbone, adding exact-address diagnostics to the richer language reduces recovery to 133/143 (93.0%); a Qwen3.8-27B replication preserves the grounding and expressivity effects but not this negative interaction, indicating that the latter is model-dependent. These results indicate that reliable agent self-evolution requires co-designing verification, state grounding, witness semantics, and recovery-language expressivity rather than relying on iterative prompting alone.

阅读原文

参与讨论