WEBSERV: 一个全栈且适合强化学习的网页环境,用于大规模训练网页代理
WEBSERV: A Full-Stack and RL-Ready Web Environment for Training Web Agents at Scale
AI总结:
本文提出WebServ,一个全栈且适合强化学习的网页环境,用于大规模训练网页代理。该环境在服务器端使用Incus容器减少启动延迟和存储需求,浏览器端提供自动化的观察和动作接口,以及可靠的执行后端。实验表明,WebServ在WebArena-Lite上实现了最先进的单提示结果,并在强化学习训练中超越了现有方法。
摘要:
针对网页代理强化学习需求,本文提出WebServ,一个全栈且适合强化学习的网页环境,用于大规模训练网页代理。当前网页环境存在不足:服务器端Docker设置过于资源密集,无法支持大规模并行展开;浏览器端接口产生噪声观察,执行动作在现代单页应用中不可靠,并遗漏视觉交互提示。我们引入WebServ,一个全栈、适合强化学习的网页环境,解决这些限制。在服务器端,WebServ使用Incus容器,通过块级拷贝-写入减少启动延迟约5倍,持久化存储减少约240倍,使单台主机支持200+个隔离环境。在浏览器端,WebServ提供一个紧凑的、站点无关的观察和动作接口,自动从DOM派生,并提供人类对齐的交互提示,以及使用网络感知等待的稳健动作执行后端。在WebArena-Lite上,WebServ实现了最先进的单提示结果,受控比较确认在GPT-4o、OpenAI-o3和Llama-3.1-8B上均优于普通WebArena。我们进一步在WebServ中完全训练Qwen3-4B和Qwen3-30B-A3B;RL训练的4B模型在均值准确率上达到55.5%,超过了Claude 4.5 Sonnet(50.0%)和WebAgent-R1中的RL训练8B模型(51.8%)
英文摘要:
Reinforcement learning (RL) for web agents demands environments that are both effective for evaluation and efficient enough for large-scale on-policy training. Current web environments fall short: server-side Docker setups are too resource-intensive for massive parallel rollouts, while browser-side interfaces produce noisy observations, execute actions unreliably under modern single-page applications, and omit visual interactivity cues. We introduce WebServ, a full-stack, RL-ready web environment that addresses these limitations end-to-end. On the server side, WebServ uses Incus containers with block-level copy-on-write, reducing launch latency by ~5x and persistent storage by ~240x, enabling 200+ concurrent isolated environments on a single host. On the browser side, WebServ provides a compact, site-agnostic observation and action interface derived automatically from the DOM with human-aligned interactivity cues, and a robust action execution backend using network-aware waiting for reliable SPA support. On WebArena-Lite, WebServ achieves state-of-the-art single-prompt results, with controlled comparisons confirming consistent gains across GPT-4o, OpenAI-o3, and Llama-3.1-8B over vanilla WebArena. We further train Qwen3-4B and Qwen3-30B-A3B with RL entirely within WebServ; the RL-trained 4B model achieves 55.5% mean accuracy, surpassing both Claude 4.5 Sonnet (50.0%) and the RL-trained 8B model from WebAgent-R1 (51.8%).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。