NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CODA: Coordinating the Cerebrum and Cerebellum for a Dual-Brain Computer Use Agent with Decoupled Reinforcement Learning

Zeyi Sun, Yuhang Cao, Jianze Liang, Qiushi Sun, Ziyu Liu, Zhixiong Zhang, Yuhang Zang, Xiaoyi Dong, Kai Chen, Dahua Lin, Jiaqi Wang

TL;DR

CODA introduces a brain-inspired, trainable "Planner-Executor" framework that enables autonomous GUI agents to master complex, long-horizon scientific computing tasks. By decoupling high-level strategic planning (the Cerebrum) from low-level action grounding (the Cerebellum) and optimizing them via a two-stage reinforcement learning pipeline, CODA achieves new state-of-the-art performance among open-source models without requiring expensive human-labeled data.

What Problem Does This Paper Address?

Building autonomous agents capable of operating Graphical User Interfaces (GUIs) is highly challenging in specialized domains like scientific computing (e.g., molecular visualization, geographic information systems). These environments present a brutal double-whammy: their interfaces require pixel-precise, fine-grained actions, and the problems themselves demand long-horizon strategic planning.

Current Large Vision-Language Models (LVLMs) suffer from a frustrating trade-off. Generalist models excel at high-level planning but frequently miss the exact coordinates needed to click a button. Conversely, specialized UI agents are highly proficient at execution but struggle to maintain a coherent long-term strategy. While researchers have tried combining "planners" and "actors" into compositional frameworks, these systems are typically static and non-trainable. They cannot learn from experience—a critical flaw given how scarce high-quality interaction data is in scientific domains.

Methods

CODA solves this by mimicking the functional architecture of the human brain, splitting the agent into two distinct modules:

  • The Cerebrum (Planner): Instantiated using Qwen2.5-VL, this module handles the high-level cognitive load. It analyzes the task history and screenshots to formulate a structured, explicit plan ($pt$) outlining the immediate objective and target UI elements.
  • The Cerebellum (Executor): Powered by UI-Tars-1.5, this module remains frozen during training. It acts as a stable, software-agnostic motor control center, translating the Cerebrum's abstract thoughts into precise pyautogui execution commands (like clicking specific coordinates).
Figure 1: Overall architecture of the proposed learnable Planner–Executor framework. Anal- ogous to the relationship between the cerebrum and the cerebellum in the human brain, the Planner (cerebrum) generates high-level thoughts based on the history and screenshots, while the Executor (cerebellum) executes concrete GUI actions accordingly.

To train the Cerebrum without human intervention, the authors developed a two-stage curriculum:

  1. Stage 1: Specialization via Decoupled RL: An automated task generator bootstraps a small set of initial trajectories. The agent then interacts autonomously with the software environment. CODA applies a modified Group Relative Policy Optimization (GRPO) algorithm where the execution model remains fixed, and the advantage rewards are backpropagated exclusively through the planner's reasoning tokens.
  2. Stage 2: Generalization via Aggregated SFT: Successful trajectories from multiple specialized software experts are aggregated into a high-quality dataset. This consolidated data is used to perform Supervised Fine-Tuning (SFT) on a final generalist planner, giving it robust cross-domain capabilities.
Figure 2: Overall training process of the proposed Planner–Executor framework. The Planner generates high-level thoughts based on the history and screenshots, while the Executor executes concrete GUI actions accordingly. During training, the rewards are calculated from a(i) and applied to p(i) to calculate loss.

To scale this process, the authors built an automated judging system that evaluates agent trajectories using voting and multi-resolution inputs, alongside a distributed virtual machine system to run hundreds of tasks in parallel.

Datasets

  • ScienceBoard: A challenging benchmark used for training and evaluation, featuring realistic scientific workflows across four distinct GUI-centric applications: Algebra, Biochem, GIS, and Astron.
  • AgentRewardBench: A benchmark utilized specifically to evaluate the precision and reliability of CODA's automated judge system.
  • Self-Curated Trajectories: A dataset of 0.77K successful trajectories generated autonomously by the specialized teacher models to train the final generalist agent.

Key Insights and Ideas

  • Decoupled Learning is Highly Data-Efficient: Training a monolithic agent end-to-end requires massive amounts of data to retrain both perception and execution. Freezing the executor as a general-purpose "grounder" allows targeted optimization of the planner, drastically lowering training costs.
  • Isolating Reasoning Tokens for RL: By applying reinforcement learning advantages solely to the planner's reasoning tokens, the model develops robust, free-form planning and self-correction capabilities without degrading its ability to output correctly formatted actions.
  • Multi-Resolution Voting Eliminates Human Labels: To replace costly human judges, the authors discovered that combining an ensemble of open-source models with multi-resolution inputs (low-res for global dynamics, high-res for fine-grained details) and a strict consensus voting strategy dramatically reduces false positives in automated reward signals.

Key Results

Evaluated on the ScienceBoard benchmark, CODA established a new state-of-the-art among open-source models:

  • Outperforming Baselines: In the Average@8 metric, the final CODA (Stage-2) model achieved an overall success rate of 21.04%, vastly outperforming its base components, Qwen2.5-VL-32B (7.57%) and UI-Tars-1.5-7B (5.14%).
  • Beating Proprietary Giants: CODA significantly surpassed commercial models like GPT-4o (0.81% success rate) and Gemini-2.0-Flash (4.73%), demonstrating the power of domain-specific reinforcement learning over raw model scale.
  • Effective Judging: The automated ensembled judge achieved a high precision of 69.5% and a recall of 74.2% on ScienceBoard, proving that open-source models can successfully drive autonomous RL training loops.

Limitations and Future Work

While CODA marks a major step forward, the authors note a few limitations:

  • Visual Reliance: The framework currently relies almost entirely on visual screenshots. Integrating richer multi-modal feedback, such as terminal text logs or network responses, could make the agent more robust.
  • Domain Scope: The evaluation was limited to four scientific applications. Future work will focus on expanding the framework to a broader array of professional software domains.
  • Online Adaptation: The current pipeline separates specialization from generalization. The authors hope to explore true continual learning strategies so the agent can adapt online during long-term deployment without experiencing catastrophic forgetting.

Summary updated

BibTeX
@misc{sun2025coda,
  author = {Zeyi Sun and Yuhang Cao and Jianze Liang and Qiushi Sun and Ziyu Liu and Zhixiong Zhang and Yuhang Zang and Xiaoyi Dong and Kai Chen and Dahua Lin and Jiaqi Wang},
  title = {{CODA: Coordinating the Cerebrum and Cerebellum for a Dual-Brain Computer Use Agent with Decoupled Reinforcement Learning}},
  year = {2025},
  eprint = {2508.20096},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.20096},
}
Figure