通过信念更新与世界建模实现长时程智能体的故障恢复

·

研究论文 · 2026/10/19

长视野智能体常难以从数步之前的原因导致的失败中恢复,局部反思或回溯无法解决。我们提出BELIEFWEAVER框架,结合跨尝试的持久证据与修复方向的前瞻推理。它维护关于前沿、尝试、观察和检查点的关系信念状态。执行证据跨尝试和回滚更新相关前沿优先级,诊断证据门控执行。隐式世界模型(IWM)评估修复假设、预测进展并识别前沿间关系以指导探索。我们通过监督微调和在线策略蒸馏(OPD)将这些反复出现的IWM推理组件蒸馏到9B学生模型。在三个基于终端的基准上,BELIEFWEAVER相比原生Terminus-2延续将聚合最终得分提高5.1个百分点,探索效率呈积极趋势。蒸馏的9B学生模型相比报告的原始基线最终得分提高9.8个百分点,同时相比匹配的教师模型减少约54.8%的API成本。这些结果表明,持久证据和前瞻推理可以改善长视野智能体任务的恢复能力,同时大幅减少对教师模型推理的依赖。

该论文针对长视野智能体失败恢复的难题,提出结合持久证据和前瞻推理的新框架,并在多个基准上验证了有效性,同时通过蒸馏大幅降低推理成本,对实际部署有重要意义。

Long-horizon agents often struggle to recover from failures whose causes lie several steps earlier, beyond what local reflection or backtracking can resolve. We introduce BELIEFWEAVER, a framework that combines persistent evidence across attempts with prospective reasoning over repair directions. It maintains a relational belief state over frontiers, attempts, observations, and checkpoints. Execution evidence updates related frontier priorities across attempts and rollback, while diagnostic evidence gates execution. An implicit world model (IWM) evaluates repair hypotheses, predicts progress, and identifies relations among frontiers to guide exploration. We further distill these recurring IWM reasoning components into a 9B student through supervised fine-tuning and on-policy distillation (OPD). Across three terminal-based benchmarks, BELIEFWEAVER improves aggregate final score by 5.1 percentage points over native Terminus-2 continuation, with positive trends in exploration efficiency. The distilled 9B student improves final score by 9.8 percentage points over the reported native baseline while reducing estimated teacher API cost by 54.8% relative to the matched teacher. These results show that persistent evidence and prospective reasoning can improve recovery in long-horizon agent tasks while substantially reducing reliance on teacher-model inference.

阅读原文

参与讨论