迷失于恢复:通过面向目标的动作回放揭秘计算机使用智能体的恢复行为
Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay
AI总结:
本研究提出ReTrace框架,通过面向目标的动作回放研究计算机使用智能体的恢复行为,发现理想恢复可释放模型能力,当前智能体未利用潜在恢复能力,准确恢复可提升端到端性能。
摘要:
近期大型(视觉)语言模型的进展催生了计算机使用智能体,这类智能体可通过细粒度的键盘和鼠标操作实现数字工作流程的自动化。然而,此类智能体在长时序场景中仍较为脆弱,错误会不断累积,执行的动作还会产生意外的副作用,因此从故障中恢复的能力至关重要。但现有的补救措施仍不完善:在专有环境中无法进行环境重置,长时序场景下的动作回放成本过高,基于API的回滚仅适用于Web环境,而基于模型的恢复在很大程度上未被探索。为解决这一缺口,我们提出ReTrace,这是一个可扩展的评估框架,用于系统研究计算机使用智能体的恢复行为。我们将转换一致恢复形式化:从恢复后的状态和目标状态执行相同的下游动作必须产生相同的结果。我们通过在受控错误注入后进行面向目标的动作回放来实现这一标准。利用ReTrace,我们首次对自主的基于模型的恢复进行了系统研究,揭示出:(i)理想的恢复可释放模型潜在的任务完成能力;(ii)当前的计算机使用智能体未能利用其潜在的恢复能力;(iii)准确的基于模型的恢复可带来可衡量的端到端收益。这些发现共同确立了恢复是构建可靠计算机使用智能体的一项基本能力。我们的代码和数据集可在该https URL获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。