TL;DR
CODA introduces a biologically inspired, "dual-brain" computer-use agent that pairs a trainable generalist planner (the cerebrum) with a frozen specialist executor (the cerebellum). By optimizing only the planner via decoupled reinforcement learning (GRPO) and distilling specialist trajectories into a single generalist model, CODA achieves state-of-the-art open-source performance on complex scientific workflows without relying on human-annotated interaction data.
What Problem Does This Paper Address?
Operating complex software—such as GIS mapping tools or molecular visualization suites—requires two distinct skills: high-level, long-horizon planning (understanding domain concepts and multi-step procedures) and low-level motor execution (clicking precise pixels, dragging sliders, and entering parameters).
Existing vision-language agents face an awkward trade-off:
- Generalist models (e.g., Qwen2.5-VL) excel at strategic reasoning but frequently miss interface targets.
- Specialized GUI grounders (e.g., UI-Tars) reliably click tiny icons but lack domain knowledge and fail on unfamiliar workflows.
- Compositional "planner + actor" frameworks have coupled these roles before, but they are typically static prompt wrappers around proprietary models that cannot learn or adapt from experience.
Methods
CODA mimics the human brain's division of labor: mature motor skills in the cerebellum require infrequent updates, while the cerebrum continually adapts to new environments.
┌────────────────────────┐
Goal + Screen │ Cerebrum (Planner) │ Learns strategy & domain knowledge
───────────────►│ Qwen2.5-VL (Trainable)│ via Decoupled RL / GRPO
└──────────┬─────────────┘
│ High-level plan / intent
▼
┌────────────────────────┐
Action program │ Cerebellum (Executor) │ Translates plans into precise
◄───────────────│ UI-TARS / GUI-Actor │ pyautogui commands (click, drag, etc.)
│ (Frozen Grounder) │
└────────────────────────┘
-
Decoupled Reinforcement Learning (Stage 1 – Specialization): The agent keeps the executor model fixed and optimizes only the planner. The planner generates candidate plans, which the executor converts into low-level actions. A composite reward evaluates action types and parameter distances (e.g., bounding-box IoU). Using Group Relative Policy Optimization (GRPO), policy advantage updates are backpropagated solely through the planner's reasoning tokens.
-
Aggregated Supervised Fine-Tuning (Stage 2 – Generalization): Directly running multi-software RL from scratch yields suboptimal results. Instead, CODA trains four individual specialist planners, lets them explore their respective software environments, collects ~5.6K positive trajectories, and distills them into a single generalist planner via SFT.
-
Automated Judge & Parallel VM Pipeline: To eliminate human labeling, the authors fine-tune an evaluation model (
72B-GUI-Judge) that grades full execution trajectories. Applying multi-resolution screenshot filtering and an ensemble voting scheme yields high-precision reward signals to guide RL. A distributed HTTP master-client architecture scales this execution across virtual machines running in parallel.
Datasets
- ScienceBoard: The primary evaluation testbed, featuring complex, multi-step scientific software applications across four domains: Algebra, Biochemistry (ChimeraX), GIS (GRASS GIS), and Astronomy (Celestia).
- OSWorld: Used to evaluate cross-domain out-of-distribution generalizability and trajectory judge performance.
- AgentRewardBench & WebArena: Trajectory sources utilized to benchmark and train the automated visual judge system.
Key Insights and Ideas
- Decoupling Prevents Destructive Interference: Fine-tuning an entire agent end-to-end on new software often degrades its pre-trained visual grounding abilities. Freezing the grounder allows domain knowledge and strategic reasoning to localize cleanly in the planner.
- Specialist-to-Generalist Transfer Beats Monolithic Multi-Task RL: Training one unified model on all software simultaneously under an equal compute budget performed worse than training isolated specialists and distilling their positive experiences into a single generalist.
- Planner Policies Generalize to Unseen Tools (Code Agents): When the planner’s action space was augmented with a command line (
cmd) call, it learned when internal visual actions failed and delegated execution to external LLM code agents (e.g., Qwen3-32B). It improved code-agent task success without ever having been explicitly trained on code-tool trajectories.
Key Results
- ScienceBoard Benchmark: CODA (Stage-2) paired with UI-TARS-1.5 achieved 21.04% Average@8 and 39.96% Pass@8, substantially outperforming base Qwen2.5-VL-32B (7.57% Avg@8, 19.49% Pass@8) and UI-TARS-1.5-7B (5.14% Avg@8, 15.36% Pass@8).
- Competitiveness with Proprietary APIs: CODA surpassed closed-source baselines including GPT-4o (0.81% Avg@1) and Claude-3.7-Sonnet (14.15% Avg@1).
- Cross-Domain Generalization: When trained solely on ScienceBoard and tested on the out-of-domain OSWorld benchmark, CODA boosted success rates from 12.47% to 19.39%, whereas standard Behavior Cloning (SFT) overfit and dropped to 10.25%.
- Cross-Executor Augmentation: Guiding a Qwen3-32B code agent using the CODA planner lifted Biochem success from 44.83% to 58.62% and Algebra from 38.71% to 51.61%.
Limitations and Future Work
- Environment Scope: Experiments focused on desktop Linux applications within ScienceBoard and OSWorld; validation across web platforms and mobile environments remains to be explored.
- Computational Footprint: Generating thousands of rollouts across distributed virtual machine clusters requires substantial infrastructure (32+ GPUs and multiple virtualization servers).
- Future Directions: The authors suggest integrating richer multi-modal feedback (e.g., audio/terminal logs), scaling to broader enterprise domains, and investigating online continual learning so agents can adapt on the fly without dedicated offline training stages.
Summary updated