Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay
Byeonghun Bang, Sangwoo Park, Jinheon Baek, Kangsan Kim, Youngwan Lee, Sung Ju Hwang
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.LG
Related papers
CUA-Recovery: Benchmarking Error Recovery in Long-Horizon Computer-Use Agents
Shared title terminologycs.AIXu Hu, Haoming Li, Yuxiang Wang et al.
Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents
Shared title terminologycs.AIKelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng et al.
Certified Execution Harness for Agentic AI: Safe and Least-Intrusive Petri-Net Supervisory Control Between Reasoning and Action
Shared title terminologycs.AIChao Gu, Quanyan Zhu
RIPPLE: Recovery Internalization through Process-Level Policy Learning and Effect-Aware Credit for Long-Horizon Agentic Coding
Shared title terminologycs.AIJingxuan Xu, Zihang Xu, Yuechen Luo et al.
AgentTriage: Replayable Security Diagnosis Across Heterogeneous Agent Runtimes
Shared title terminologycs.AIJie Ying, Xutao Zhang, Ningyuan Chen et al.
What the Trace Shows and What the Label Says: Auditing Behavioral Detectors in Agent Evaluation
Shared title terminologycs.AIIdunnuoluwa A. Adeniji, Shilpika, Michael E. Papka