CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Bowen, Lu, Dunjie, Wang, Junli, Bai, Tianyi, Liu, Shixuan, Zhang, Zhipeng, Wang, Haiquan, Hu, Hao, Xie, Tianbao, Bai, Shuai, Liu, Dayiheng, Shen, Que, Lin, Junyang, Yu, Tao
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913161362276352
author Wang, Bowen
Lu, Dunjie
Wang, Junli
Bai, Tianyi
Liu, Shixuan
Zhang, Zhipeng
Wang, Haiquan
Hu, Hao
Xie, Tianbao
Bai, Shuai
Liu, Dayiheng
Shen, Que
Lin, Junyang
Yu, Tao
author_facet Wang, Bowen
Lu, Dunjie
Wang, Junli
Bai, Tianyi
Liu, Shixuan
Zhang, Zhipeng
Wang, Haiquan
Hu, Hao
Xie, Tianbao
Bai, Shuai
Liu, Dayiheng
Shen, Que
Lin, Junyang
Yu, Tao
contents Reinforcement learning with verifiable rewards (RLVR) has driven breakthroughs in domains such as math, tool-use, and software engineering, yet its extension to computer-use agents (CUAs) has been bottlenecked by the scarcity of scalable training data with deterministic rewards. Constructing such data for CUAs requires consistent task instruction, executable environment, and verifiable reward. However, hand-curated benchmarks achieve high reward fidelity but cover few applications and LLM-as-judge-based datasets scale broadly but lack reliable verification. We present CUA-Gym, a scalable pipeline that co-generates task instructions, environment states, and reward functions. Concretely, a Generator agent constructs the initial and golden environment states, and a separate Discriminator agent writes the reward function from the task specification. An orchestrator agent drives the two through iterative rounds upon execution. Generated tuples then pass a final filter combining LLM majority voting and agent rollouts, ensuring quality beyond the per-task adversarial loop. To address the scarcity of training environments, we further synthesize CUA-Gym-Hub, a broad suite of high-fidelity mock web applications grounded in real-world software-use distributions, expanding the scale of CUA RLVR data by magnitude. Using this pipeline, we construct CUA-Gym, a dataset of 32,112 verified RLVR training tuples grounded in 110 environments. Trained with GSPO on CUA-Gym, our CUA-Gym-A3B and CUA-Gym-A17B achieve 62.1% and 72.6% on OSWorld-Verified, outperforming prior open-source CUAs at comparable scales, with performance scaling smoothly in both data volume and environment diversity. The same checkpoints also improve on the held-out WebArena benchmark, indicating transfer beyond the training environments. We will open-source the full synthesis pipeline, dataset, CUA-Gym-Hub environments, and models.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25624
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents
Wang, Bowen
Lu, Dunjie
Wang, Junli
Bai, Tianyi
Liu, Shixuan
Zhang, Zhipeng
Wang, Haiquan
Hu, Hao
Xie, Tianbao
Bai, Shuai
Liu, Dayiheng
Shen, Que
Lin, Junyang
Yu, Tao
Artificial Intelligence
Machine Learning
Reinforcement learning with verifiable rewards (RLVR) has driven breakthroughs in domains such as math, tool-use, and software engineering, yet its extension to computer-use agents (CUAs) has been bottlenecked by the scarcity of scalable training data with deterministic rewards. Constructing such data for CUAs requires consistent task instruction, executable environment, and verifiable reward. However, hand-curated benchmarks achieve high reward fidelity but cover few applications and LLM-as-judge-based datasets scale broadly but lack reliable verification. We present CUA-Gym, a scalable pipeline that co-generates task instructions, environment states, and reward functions. Concretely, a Generator agent constructs the initial and golden environment states, and a separate Discriminator agent writes the reward function from the task specification. An orchestrator agent drives the two through iterative rounds upon execution. Generated tuples then pass a final filter combining LLM majority voting and agent rollouts, ensuring quality beyond the per-task adversarial loop. To address the scarcity of training environments, we further synthesize CUA-Gym-Hub, a broad suite of high-fidelity mock web applications grounded in real-world software-use distributions, expanding the scale of CUA RLVR data by magnitude. Using this pipeline, we construct CUA-Gym, a dataset of 32,112 verified RLVR training tuples grounded in 110 environments. Trained with GSPO on CUA-Gym, our CUA-Gym-A3B and CUA-Gym-A17B achieve 62.1% and 72.6% on OSWorld-Verified, outperforming prior open-source CUAs at comparable scales, with performance scaling smoothly in both data volume and environment diversity. The same checkpoints also improve on the held-out WebArena benchmark, indicating transfer beyond the training environments. We will open-source the full synthesis pipeline, dataset, CUA-Gym-Hub environments, and models.
title CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2605.25624