WEBSERV: A Browser-Server Environment for Efficient Training of Reinforcement Learning-based Web Agents at Scale

Yuxuan Lu, Jing Huang, Hui Liu, Jiri Gesi, Yan Han +3 more
10/17/2025
cs.LGcs.CL

No official code found. Best implementation: neuhai/WebServ (5 stars, MIT, last commit 2025-12-06).

Abstract

Training and evaluation of Reinforcement Learning (RL) web agents have gained increasing attention, yet a scalable and efficient environment that couples realistic and robust browser-side interaction with controllable server-side state at scale is still missing. Existing environments tend to have one or more of the following issues: they overwhelm policy models with excessive and noisy context; they perform actions non-deterministically without waiting for the UI or network to stabilize; or they cannot scale isolated client-server containers effectively for parallel RL rollouts. We propose WEBSERV, an environment that includes 1) a compact, site-agnostic browser environment that balances context and action complexity, and 2) a scalable RL environment via efficient launching and resetting web-servers to enable scalable RL training and evaluation. We evaluate WEBSERV on the shopping CMS and Gitlab tasks in WebArena, achieving state-of-the-art single-prompt success rates while cutting launch latency by ~5x and storage need by ~240x, with a comparable memory footprint, enabling 200+ concurrent containers on a single host.

View on arXivView PDF

Code Implementations(1)

neuhai/WebServCommunity66%
MIT

Source code for WEBSERV: A Browser-Server Environment for Efficient Training of Reinforcement Learning-based Web Agents at Scale

50HCL, PythonOct 20, 202510 months agoMIT

Cite this paper

@article{lu2025webserv,
  title  = {WEBSERV: A Browser-Server Environment for Efficient Training of Reinforcement Learning-based Web Agents at Scale},
  author = {Yuxuan Lu and Jing Huang and Hui Liu and Jiri Gesi and Yan Han and Shihan Fu and Tianqi Zheng and Dakuo Wang},
  year   = {2025},
  eprint = {2510.16252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.16252v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.16252.svg)](https://codeofpaper.com/paper/2510.16252)

Discussion