构建超大规模真实网页任务环境,显著提升视觉网页代理的泛化能力。
WebGym: Scaling Training Environments for Visual Web Agents with Realistic Tasks
- 基于真实网页构建近30万任务集,支持高并发异步轨迹采样。
- 在分布外测试集上成功率从26.2%提升至42.9%,超越主流闭源模型。
- 适合研究可扩展视觉网页智能体、强化学习训练系统的设计者。
我们提出WebGym,目前最大的开源视觉网页代理训练环境。真实网页具有非平稳性和多样性,使得人工或小规模任务集难以支撑鲁棒策略学习。WebGym包含近30万项任务,覆盖多样化真实网站及不同难度等级,并采用评分标准进行评估。我们采用简单的强化学习(RL)方法,利用代理自身交互轨迹(回溯)作为训练数据,以任务奖励为反馈信号指导学习。为实现规模化训练,我们设计了专为网页代理优化的高吞吐异步回溯系统,相比基础实现提速4-5倍。同时,我们扩展了任务集的广度、深度和规模,持续提升性能。将强基线视觉语言模型Qwen-3-VL-8B-Instruct在WebGym上微调后,在分布外测试集上的成功率达42.9%,显著优于使用专有模型(如GPT-4o和GPT-5-Thinking)的代理(分别为27.1%和29.8%)。该测试集仅包含训练中未见过的网站任务,体现了更强的泛化能力。
原文摘要 · Abstract (English)
We present WebGym, the largest-to-date open-source environment for training realistic visual web agents. Real websites are non-stationary and diverse, making artificial or small-scale task sets insufficient for robust policy learning. WebGym contains nearly 300,000 tasks with rubric-based evaluations across diverse, real-world websites and difficulty levels. We train agents with a simple reinforcement learning (RL) recipe, which trains on the agent's own interaction traces (rollouts), using task rewards as feedback to guide learning. To enable scaling RL, we speed up sampling of trajectories in WebGym by developing a high-throughput asynchronous rollout system, designed specifically for web agents. Our system achieves a 4-5x rollout speedup compared to naive implementations. Second, we scale the task set breadth, depth, and size, which results in continued performance improvement. Fine-tuning a strong base vision-language model, Qwen-3-VL-8B-Instruct, on WebGym results in an improvement in success rate on an out-of-distribution test set from 26.2% to 42.9%, significantly outperforming agents based on proprietary models such as GPT-4o and GPT-5-Thinking that achieve 27.1% and 29.8%, respectively. This improvement is substantial because our test set consists only of tasks on websites never seen during training, unlike many other prior works on training visual web agents.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。