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

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

arXiv: 2508.20096 · 2025-08-28

## TL;DR

CODA is a trainable compositional framework that combines a generalist planner and a specialist executor, enabling effective long-horizon planning and precise execution in scientific GUI tasks, with improved generalization and performance.

## Contribution

Introduces CODA, a novel two-stage training pipeline for a dual-brain agent integrating a generalist planner and a specialist executor, addressing data scarcity and adaptability in scientific domains.

## Key findings

- Outperforms baselines on ScienceBoard benchmark
- Achieves state-of-the-art results among open-source models
- Demonstrates effective cross-domain generalization

## Abstract

Autonomous agents for Graphical User Interfaces (GUIs) face significant challenges in specialized domains such as scientific computing, where both long-horizon planning and precise execution are required. Existing approaches suffer from a trade-off: generalist agents excel at planning but perform poorly in execution, while specialized agents demonstrate the opposite weakness. Recent compositional frameworks attempt to bridge this gap by combining a planner and an actor, but they are typically static and non-trainable, which prevents adaptation from experience. This is a critical limitation given the scarcity of high-quality data in scientific domains. To address these limitations, we introduce CODA, a novel and trainable compositional framework that integrates a generalist planner (Cerebrum) with a specialist executor (Cerebellum), trained via a dedicated two-stage pipeline. In the first stage, Specialization, we apply a decoupled GRPO approach to train an expert planner for each scientific application individually, bootstrapping from a small set of task trajectories. In the second stage, Generalization, we aggregate all successful trajectories from the specialized experts to build a consolidated dataset, which is then used for supervised fine-tuning of the final planner. This equips CODA with both robust execution and cross-domain generalization. Evaluated on four challenging applications from the ScienceBoard benchmark, CODA significantly outperforms baselines and establishes a new state of the art among open-source models.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2508.20096/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/2508.20096/full.md

## References

66 references — full list in the complete paper: https://tomesphere.com/paper/2508.20096/full.md

---
Source: https://tomesphere.com/paper/2508.20096