AI Insight
This study introduces ReTrace, a framework for evaluating how AI agents that control computers through keyboard and mouse operations recover from errors. The researchers found that while current computer-use agents possess latent recovery capabilities, they fail to effectively utilize them in practice. Through systematic testing with controlled error injection and goal-oriented action replay, they demonstrated that improving model-based recovery can significantly enhance task completion rates in automated digital workflows.
Why it matters
As AI agents increasingly automate complex computer tasks, their ability to recover from errors becomes critical for real-world deployment. This work provides the first systematic approach to measuring and improving recovery behavior, which could lead to more reliable automation systems for proprietary environments where simple resets are not possible.
Understand the Science
⚠️ Preprint – Noch nicht peer-reviewed
Dieser Artikel wurde noch nicht von unabhängigen Experten begutachtet. Die Ergebnisse sind vorläufig und sollten mit Vorsicht interpretiert werden.
Abstract: 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.