TL;DR
OS-Helix is a multimodal computer-using agent that unifies visual GUI interaction and programmatic code execution into a single, end-to-end trained policy. By internalizing the "routing" between these two modalities through hybrid supervised fine-tuning and a novel Step-balanced GSPO reinforcement learning objective, it achieves a state-of-the-art 66.44% success rate on the OSWorld-Verified benchmark.
What Problem Does This Paper Address?
Automating desktop tasks is tricky because the "best" way to do something often shifts between visual and programmatic methods.
- GUI-only agents are intuitive but brittle; they struggle with small UI elements and are inefficient for bulk operations (e.g., editing 100 spreadsheet rows).
- Code-only agents are powerful and precise but "visually ungrounded"; they can't handle tasks that depend on specific UI states or visual layouts that aren't exposed via APIs.
The authors found that simply "plugging in" a code tool to a GUI agent via prompting actually hurts performance. The agent lacks the internal logic to decide when to use which modality. OS-Helix addresses this by treating GUI and code as complementary actions within a unified space, learned through high-quality hybrid data rather than just prompt-level orchestration.
Methods
The OS-Helix pipeline consists of four main stages:
- Environment Construction: The authors introduce application-artifact composition, which pairs specific software versions with real-world file artifacts (like
.docxor.pyfiles) to create reproducible, diverse desktop states. - Task Synthesis: A decoupled pipeline where an Exploration Agent probes the environment to propose realistic tasks, while an independent Evaluator Agent generates rule-based or VLM-based verification logic.
- Cold Start (SFT): The model is first trained using Supervised Fine-Tuning on trajectories generated by a "teacher" model (Claude 3.5 Sonnet) that has access to both GUI and code tools.
- Step-Balanced RL: This is the core algorithmic contribution. In standard Reinforcement Learning (like GSPO), long code actions dominate the optimization signal because they contain many more tokens than a simple "click" action. To fix this, Step-balanced GSPO aggregates importance weights by the action step rather than the raw token count, preventing the model from drifting into a "code-only" policy that ignores the GUI.
Datasets
- OSWorld-Verified: The primary benchmark, consisting of 361 real-world tasks across Ubuntu desktop environments (Office, Daily, Professional, etc.).
- WindowsAgentArena (WAA): Used to test cross-platform transferability from Ubuntu to Windows.
- Synthesized Hybrid Data: The authors generated ~9K instructions and ~31K successful filtered SFT samples to train the model's unified action space.
Key Insights and Ideas
- Routing is an Internal Skill: You can't just tell a model it has a code tool; it must be trained on hybrid trajectories to understand the trade-offs between visual grounding and programmatic efficiency.
- The Token Asymmetry Trap: In agentic RL, a 100-token Python script shouldn't be "100x more important" to the gradient than a 1-token mouse click. Step-balancing is essential for maintaining a healthy mix of modalities.
- Efficiency through Hybridization: OS-Helix doesn't just solve more tasks; it solves them faster. By using code for structured data manipulation and GUI for visual navigation, it uses fewer interaction steps than GUI-only baselines.
- Cross-Modality Verification: A unique behavior observed was the agent using one modality to verify the other—for example, creating a chart via code and then using the GUI (screenshot) to visually confirm the chart looks correct.
Key Results
OS-Helix demonstrates significant gains over both GUI-only and naive hybrid baselines:
- State-of-the-Art Performance: OS-Helix-27B-RL achieved a 66.44% success rate on OSWorld-Verified, a massive relative improvement over its backbone baselines.
- Domain Strengths: The largest gains were seen in the Office (+33.3 points) and Work (+16.0 points) categories, where tasks frequently require both visual document interaction and precise data transformations.
- Cross-Platform Transfer: Despite being trained on Ubuntu, OS-Helix-27B-RL reached 63.87% success on WindowsAgentArena, outperforming several GPT-5 based agentic frameworks.
Limitations and Future Work
- Environment Scaling: While the application-artifact approach is scalable, it still doesn't capture the full messiness of a real user's personalized machine.
- Verification Brittleness: Rule-based evaluators are precise but can be "too strict" (e.g., failing a task due to a minor file attribute mismatch), while VLM evaluators can miss fine-grained details.
- RL on Large MoE Models: The authors noted that training the 35B Mixture-of-Experts (MoE) model with RL remains computationally challenging and unstable compared to the dense 27B model.
- Infeasible Tasks: Current benchmarks contain "impossible" tasks. Future work needs to help agents learn "calibrated refusal"—knowing when a task cannot be completed in either modality.
Summary updated