TL;DR
Autonomous computer-using agents frequently fail during long-horizon graphical user interface (GUI) tasks due to uncorrected, compounding errors. This paper introduces OS-Oracle, a comprehensive framework featuring an automated data pipeline that generates 310k cross-platform GUI critic samples, paired with a novel consistency-preserving reinforcement learning recipe. The resulting model, OS-Oracle-7B, achieves state-of-the-art performance on a newly introduced cross-platform benchmark and significantly boosts the reliability of native GUI agents.
What Problem Does This Paper Address?
Vision-Language Models (VLMs) have enabled computer-using agents (CUAs) to autonomously navigate desktop, mobile, and web interfaces. However, in practice, these agents suffer from four recurring limitations:
- Operation Failure (OF): Failing to perceive subtle state changes (e.g., repeating a click or scrolling fruitlessly).
- Inefficient Error State Recovery (IESR): Failing to execute corrective actions (like hitting "back") when entering an unexpected UI state.
- Mistimed Task Termination (MTT): Stopping prematurely or continuing unnecessarily after a task is done.
- Inaccurate Element Localization (IEL): Clicking outside the active area of a UI element.
In long-horizon workflows, these errors compound rapidly, leading to task failure. A "critic model" can act as a step-level verifier to catch these mistakes before execution (see Figure 1). However, developing effective critics is severely bottlenecked by a lack of diverse, high-quality GUI feedback data—especially negative/error examples—and the absence of standardized cross-platform benchmarks.
Methods
The authors present an end-to-end framework to synthesize data, train consistent critics, and evaluate them rigorously.
1. Automated Negative Data Synthesis
Instead of relying on expensive human annotations or noisy LLM generations, the authors built a rule-based pipeline to turn positive trajectories into specific error types. For example, they synthetically insert 'type' actions before 'clicks' to simulate an agent failing to notice an inactive input field, or append redundant scrolls to simulate boundary errors. GPT-4o is then used to bootstrap concise rationales explaining why the synthetic action is wrong.
2. Two-Stage Training Paradigm
Using Qwen2.5-VL-7B as a backbone, the model is trained via:
- Stage 1: Supervised Fine-Tuning (SFT): Establishes core discrimination and rationale-generation skills.
- Stage 2: Consistency-Preserving GRPO (CP-GRPO): Standard reinforcement learning (GRPO) often introduces an internal contradiction where a model explains why an action is correct but still labels it "Wrong". CP-GRPO introduces a novel consistency reward using a hybrid rule- and model-based scheme to explicitly align the semantic polarity of the reasoning text with the final binary judgment.
Datasets
- OS-Oracle Dataset: A curated training set containing 310k critic samples (~160k positives and ~150k negatives) spanning mobile, web, and desktop platforms.
- OS-Critic Bench: A newly introduced evaluation benchmark consisting of 738 instances. Trajectories were sampled from existing benchmarks, and action proposals were generated using Qwen2.5-VL-7B. Crucially, human experts verified and assigned the final binary correctness labels, ensuring high-fidelity evaluation even when multiple valid paths to a goal existed.
Key Insights and Ideas
- Targeted Synthetics > Pure LLM Negatives: The authors found that purely GPT-4o-generated negative samples introduce substantial noise. In contrast, rule-based synthetic errors targeting specific CUA failure modes provide much cleaner, more effective supervision.
- The Reasoning-Judgment Gap: Standard RL optimization can inadvertently cause a mismatch between a model's internal logic and its final verdict. Explicitly rewarding semantic consistency fixes this gap without sacrificing overall accuracy.
- Data Flywheel Potential: A strong critic model can reliably filter out low-quality agent actions during rollout collection, acting as an automated quality control mechanism that improves downstream agent training.
Key Results
- Offline Performance: OS-Oracle-7B achieved 68.02% overall accuracy on OS-Critic Bench, outperforming all open-source models. Notably, on the Mobile domain, its accuracy (70.78%) surpassed proprietary models like GPT-4o (62.79%) and Claude-4.5-Sonnet (65.30%).
- Online Agent Improvement: When deployed as a pre-critic to guide a native agent (UI-TARS-1.5-7B), OS-Oracle-7B successfully boosted task success rates from 31.6% to 33.2% on AndroidWorld and from 29.2% to 31.0% on OSWorld. Conversely, using GPT-4o as a critic actually degraded the agent's performance due to its lack of specialized GUI grounding knowledge.
Limitations and Future Work
While OS-Oracle-7B achieves state-of-the-art results among open-source models and dominates the mobile domain, proprietary models like GPT-5 and Claude-4.5-Sonnet still hold a noticeable lead in Desktop environments. Additionally, the current framework relies on a binary (Yes/No) judgment; future iterations could explore multi-dimensional feedback or direct action correction to provide more fine-grained guidance to the underlying agent.
Summary updated