CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents
Summary
CUA-Gym introduces a scalable pipeline for generating verifiable training environments and tasks for computer-use agents, addressing data scarcity. The resulting dataset and models achieve strong performance on benchmarks like OSWorld-Verified and WebArena.
View Cached Full Text
Cached at: 05/26/26, 02:44 PM
Paper page - CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents
Source: https://huggingface.co/papers/2605.25624 Authors:
,
,
,
,
,
,
,
,
,
,
,
,
Abstract
RLVR framework for computer-use agents addresses data scarcity through scalable generation pipeline and synthetic environments, achieving superior performance on verification and transfer benchmarks.
Reinforcement learning with verifiable rewards(RLVR) has driven breakthroughs in domains such as math, tool-use, and software engineering, yet its extension tocomputer-use agents(CUAs) has been bottlenecked by the scarcity of scalable training data with deterministic rewards. Constructing such data for CUAs requires consistenttask instruction,executable environment, andverifiable 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-generatestask instructions, environment states, and reward functions. Concretely, aGenerator agentconstructs the initial and golden environment states, and a separateDiscriminator agentwrites the reward function from the task specification. Anorchestrator agentdrives the two through iterative rounds upon execution. Generated tuples then pass a final filter combiningLLM majority votingandagent rollouts, ensuring quality beyond the per-task adversarial loop. To address the scarcity of training environments, we further synthesizeCUA-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 withGSPOon CUA-Gym, our CUA-Gym-A3B and CUA-Gym-A17B achieve 62.1% and 72.6% onOSWorld-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-outWebArenabenchmark, indicating transfer beyond the training environments. We will open-source the full synthesis pipeline, dataset,CUA-Gym-Hubenvironments, and models.
View arXiv pageView PDFProject pageGitHub8Add to collection
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.25624 in a model README.md to link it from this page.
Datasets citing this paper1
#### xlangai/CUA-Gym Viewer• Updatedabout 7 hours ago • 7.9k • 145
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.25624 in a Space README.md to link it from this page.
Collections including this paper1
Similar Articles
SkillGym: Training Skill-Use Agents with Automatic Verifiable Environment Generation
SkillGym proposes an automatic pipeline that crawls reproducible skills from the internet, builds verifiable difficulty-controlled environments, and collects 19k verified trajectories to train skill-use agents. Fine-tuning Qwen3.5 models (2B to 122B) on these trajectories improves performance across four skill-use benchmarks, with the 9B SFT model outperforming a 397B untrained model on two of them.
SoftwareGym: Scaling Computer-Use Agent Training with Diverse Synthesized Software Environments
SoftwareGym提出了一个自动化流水线,用于合成多样化的GUI软件环境以训练计算机使用代理(CUAs),合成182个应用并构建了SoftwareGym-Bench评测套件,在OSWorld基准上将Pass@3从41.39%提升至56.97%。
ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agents
ProgramGym introduces a framework with Program-Env and Program-Agent for building scalable, verifiable training environments for long-horizon program reproduction agents, achieving notable performance gains when fine-tuning Qwen3.8-27B on the generated environments.
AutoGym: Blueprint-First Generation of Verifiable Agent Gyms
AutoGym presents a framework for automatically generating complete agent gyms—tasks, executable environments, and verifiers—from minimal seeds using blueprint-first generation to ensure solvability and active curriculum synthesis for adaptive difficulty steering.
Training Needs Trustworthy Worlds: Verified Synthetic Web Environments for Agent Learning
This paper introduces a framework for constructing verified synthetic web environments to improve the training of web agents, demonstrating enhanced performance and transferability across benchmarks.