迷失于恢复:通过目标导向动作回放揭示计算机使用代理的恢复行为

·

研究论文 · 2026/11/03

大型视觉语言模型使计算机使用代理能够通过细粒度操作自动化数字工作流,但在长时任务中错误累积且动作产生意外副作用,恢复能力至关重要。现有方法不足:环境重置不可行、动作重放昂贵、API回滚限于网页环境,基于模型的恢复尚未探索。为此,我们提出ReTrace,一个可扩展的评估框架,系统研究计算机使用代理的恢复行为。我们形式化“转移一致性恢复”:从恢复状态和目标状态执行相同下游动作必须产生相同结果。通过受控错误注入后的目标导向动作重放实现该标准。利用ReTrace,我们首次系统研究自主的基于模型的恢复,发现:(i)理想恢复可释放模型潜在的任务完成能力;(ii)当前代理未能利用其潜在恢复能力;(iii)准确的基于模型的恢复带来可测量的端到端增益。这些发现确立恢复为构建可靠计算机使用代理的基本能力。代码和数据集见https://github.com/BangProx/ReTRACE。

该研究首次系统探讨计算机使用代理的恢复行为,提出可扩展的评估框架和形式化标准,揭示了恢复能力对可靠代理构建的关键作用,并为未来研究提供了开源工具和数据集。

Recent advances in large (vision) language models have enabled computer-use agents that automate digital workflows via fine-grained keyboard and mouse operations. However, such agents remain fragile in long-horizon settings, where errors accumulate and executed actions leave unintended side effects, making the ability to recover from failures critical. Yet, existing remedies remain inadequate: environment resets are infeasible in proprietary settings, action replay is prohibitively expensive over long horizons, and API-based rollback is limited to web environments, leaving model-based recovery largely unexplored. To address this gap, we present ReTrace, a scalable evaluation framework for systematically studying recovery behavior in computer-use agents. We formalize Transition-Consistent Recovery: identical downstream actions from the recovered and target states must yield identical outcomes. We operationalize this criterion through goal-oriented action replay following controlled error injection. Using ReTrace, we present the first systematic study of autonomous, model-based recovery, revealing that (i) ideal recovery can unlock model's latent task completion capabilities, (ii) current computer-use agents fail to exploit their latent recovery capabilities, and (iii) accurate model-based recovery yields measurable end-to-end gains. Together, these findings establish recovery as a fundamental capability for building reliable computer-use agents. Our code and dataset is available at https://github.com/BangProx/ReTRACE.

阅读原文

参与讨论