面向工具结果模糊与部分执行的AI智能体的证据引导恢复

·

研究论文 · 2026/11/13

工具超时可能导致AI代理面临模糊的工具结果和部分执行:动作可能已失败、已提交或仍在进行中,而其他工作流步骤已完成。我们将证据引导的任务恢复形式化为在已批准义务、提供者能力以及与公共证据兼容的状态上的恢复问题。共享的可接受性检查处理密钥过期、授权时机、依赖关系和残余效应;终端证书将实际目标满足与公开支持的安全完成区分开。已知模型实现结合了标准观察 contingent 规划与单独实现的效果历史裁决器。在37个任务的有限研究中,规划和三个主动控制各认证28个完成;四个节省的合成费用单位产生额外计算。预注册的分配留出比较随后用两个本地模型包评估规划建议与证据提示。在19个先前开发的任务家族中的58个配对单元中,建议认证30个完成对9个,差异36.2个百分点(精确家族符号翻转p=0.0078),使用272个提议对399个。所有116条轨迹通过独立重放。两个模型均表现出正的完成差异。该比较在共同屏蔽下测量评估的建议接口;搜索与规则建议需要单独的匹配比较。未知和移交结果保持明确,保证与声明的提供者能力相关,而非任意第三方恰好一次执行。

该研究针对AI代理在工具超时等不确定情况下的恢复问题,提出了形式化框架和实用算法,并通过预注册实验验证了规划建议的有效性,对构建可靠AI代理系统具有参考价值。

Tool timeouts can leave AI agents facing ambiguous tool outcomes and partial execution: an action may have failed, committed or remained in flight while other workflow steps have already completed. We formulate evidence-guided task recovery over approved obligations, provider capabilities and states compatible with public evidence. A shared admissibility check handles key expiry, authorization timing, dependencies and residual effects; a terminal certificate separates actual goal satisfaction from publicly supported safe completion. The known-model implementation combines standard observation-contingent planning with a separately implemented effect-history adjudicator. In a finite study of 37 assignments, planning and three active controls each certify 28 completions; four saved synthetic fee units incur additional computation. A preregistered assignment-held-out comparison then evaluates planning advice against evidence prompting with two local model bundles. Across 58 paired units in 19 previously developed task families, advice certifies 30 completions versus 9, a 36.2-percentage-point difference (exact family sign-flip p=0.0078), using 272 proposals versus 399. All 116 trajectories pass independent replay. Both models exhibit a positive completion difference. The comparison measures the evaluated advice interface under a common shield; search-versus-rule advice requires a separate matched comparison. Unknown and handoff outcomes remain explicit, with guarantees tied to the declared provider capabilities rather than arbitrary third-party exactly-once execution.

阅读原文

参与讨论