Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay
Organizations: KAIST · ETRI
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.
Figures & tables
| Model | Setting | SR (%) |
| Sonnet-4.6 | Baseline | |
| w/ Recovery | ||
| Qwen3.5-9B | Baseline | |
| w/ Recovery | ||
| UI-TARS-1.5-7B | Baseline | |
| w/ Recovery |
| Error Type | Instruction | Target State | Restored State | Action | Problem |
| Spurious Perception | Align the text of the first textbox on slide 3 to the right , on slide 4 to the center, and on slide 5 to the left. | [click] on the hovering alignment button to align slide 3 the text to the right. | Fixates on to the hovering UI element in recovered state , skipping [drag] on the text before clicking the alignment button. | ||
| State Tracking Failure | Change the font to "Times New Roman" throughout the text. | [scroll down] to find Times New Roman, since font selection interface is opened. | Hallucinates the restored state due to failed state synchronization with its previous states. |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Web Tasks (%) | Non-Web Tasks (%) |
| OSWorld | 12.66 | 87.34 |
| WindowsAgentArena | 21.28 | 78.72 |
| Dataset Filtering Step | Claude-Sonnet-4.6 | GPT-5.4-CUA | QWEN-3.5-9B | UI-Tars-1.5-7B | EvoCUA-32B | |
| OsWorld | # of traj. after formatting | 2733 | 2749 | 790 | 1277 | 1259 |
| # of traj. after transition-consistent filtering | 1921 | 1912 (600) | 574 | 227 | 924 | |
| # of traj. after perturbation | 1335 | 334 | 397 | 133 | 314 | |
| # of traj. after final set construction | 120 | 120 | 120 | 60 | 120 | |
| Windows AgentArena | # of traj. after formatting | 919 | 867 | 211 | N/A | 280 |
| # of traj. after transition-consistent filtering | 779 | 407 | 153 | N/A | 201 |
| Domain Composition (%) | Original | Claude-Sonnet-4.6 | GPT-5.4-CUA | QWEN-3.5-9B | UI-Tars-1.5-7B | EvoCUA-32B | |
| OsWorld | chrome | 6.64 | 4.17 | 2.50 | 6.67 | 25.00 | 0.00 |
| gimp | 8.23 | 0.83 | 6.67 | 8.33 | 1.67 | 6.67 | |
| libreoffice_calc | 14.87 | 26.67 | 14.17 | 7.50 | 0.00 | 17.50 | |
| libreoffice_impress | 14.87 | 29.17 | 15.83 | 21.67 | 13.33 | 38.33 | |
| libreoffice_writer | 7.28 | 5.83 | 8.33 | 5.83 | 13.33 | 14.17 | |
| multi_apps | 23.73 | 16.67 | 35.00 | 27.50 | 3.33 | 9.17 |
| Model | Max 2 | Max 4 | Max 5 | Max 10 |
| Claude-Sonnet-4.6 | 26.98 | 13.34 | 8.76 | 6.37 |
| GPT-5.4-CUA | 17.85 | 6.30 | 5.81 | 5.15 |
| Qwen3.5-9B | 12.04 | 7.29 | 6.12 | 5.29 |
| EvoCUA-32B | 0.86 | 2.00 | 0.86 | 1.44 |
| UI-TARS-1.5-7B | 7.26 | 7.81 | 12.31 | 7.82 |
| Temperature | Max Tokens | Short Horizon | Long Horizon | |
| EvoCUA -32B | 1.0 | 32768 | 0.00 | 7.94 |
| 1.0 | 16384 | 1.75 | 4.76 | |
| 0.0 | 32768 | 3.51 | 20.63 | |
| 0.0 | 16384 | 4.39 | 6.35 | |
| UI-Tars- 1.5-7B | 1.0 | 1000 | 31.67 | 25.00 |
| 1.0 | 500 | 26.67 | 26.67 |
| Temperature | Max Tokens | Top_P | Success Rate (%) | |
| EvoCUA -32B | 0.7 | 32768 | 0.95 | 18.00 |
| 1.0 | 32768 | 0.95 | 14.00 | |
| 1.0 | 16384 | 0.95 | 20.00 | |
| 0.0 | 32768 | 0.95 | 20.00 | |
| 0.0 | 16384 | 0.95 | 18.00 |
| Oracle | Unaffected Rate (%) |
| ReTrace (All) | 86.0 (%) |
| Oracle | Alignment Rate (%) |
| 38.8 (%) | |
| 61.2 (%) | |
| ReTrace | 81.2 (%) |
| Threshold | Alignment Rate (%) |
| 0.99 | 56.9 (%) |
| 0.95 | 33.9 (%) |
| 0.91 | 26.6 (%) |
| Error Type | Instruction | Target State | Restored State | Action | Problem |
| Spurious Perception | Align the text of the first textbox on slide 3 to the right , on slide 4 to the center, and on slide 5 to the left. | [click] on the hovering alignment button to align slide 3 the text to the right. | Fixates on to the hovering UI element in recovered state , skipping [drag] on the text before clicking the alignment button. | ||
| Spurious Perception | Please help me change the color theme of VS Code to Visual Studio Dark. | [click] Activities element in the top left corner to launch vscode application | Fixates on to the UI element appearing in the restored state, unable to correctly click vscode application after restoration. | ||
| Spurious Perception | Could you help me remove the dock on the left side of the screen in the GIMP? | [click] on windows option in the right window to explore options for removing the dock | Fixates on to the new windows option irrelevant to removing the dock option , fails to generate correct actions due to incorrect state restoration. | ||
| State Tracking Failure | Change the font to "Times New Roman" throughout the text. | [scroll down] to find Times New Roman, since font selection interface is opened. | Hallucinates the restored state due to failed state synchronization with its previous states. | ||
| State Tracking Failure | Help me freeze the range A1:B1 on this sheet to keep the headers always visible. | [Drag] from column A1 to B1, in order to accurately select the area we want to freeze | Hallucinates that the restored state allows clicking the range A1 to B1, when in fact, cannot be dragged , failing to synchronize with the actual prior state. | ||
| State Tracking Failure | Please modify VS Code’s settings to disable error reporting for Python missing imports. | [hotkey(key=’ctrl shift p’)] I checked the results, but there’s nothing in the search box. I’m aware of a better solution. | Hallucinates that the restored state has blank results, just like the recovery target state , leading to completely novel behavior. |
Computer-Use Agents
Computer-use agents perceive and operate graphical interfaces and software tools to complete tasks across websites, apps, and desktops.
See all 160 papers