[Paper Review] WebFactory: Automated Compression of Foundational Language Intelligence into Grounded Web Agents
WebFactory presents a fully automated closed-loop RL pipeline that compresses foundation-model knowledge into grounded GUI agents using a high-fidelity offline web environment, achieving strong data efficiency and cross-domain generalization while releasing an open-source toolchain.
Current paradigms for training GUI agents are fundamentally limited by a reliance on either unsafe, non-reproducible live web interactions or costly, scarce human-crafted data and environments. We argue this focus on data volume overlooks a more critical factor: the efficiency of compressing a large language model's (LLM) latent knowledge into actionable agent behavior. We introduce WebFactory, a novel, fully automated closed-loop reinforcement learning pipeline for GUI agents, systematically compressing LLM-encoded internet intelligence into efficient, grounded actions. Our pipeline features a process of scalable environment synthesis, knowledge-aware task generation, LLM-powered trajectory collection, decomposed reward RL training, and systematic agent evaluation. Remarkably, our agent demonstrates exceptional data efficiency and generalization. Trained on synthetic data from only 10 websites within WebFactory, it achieves performance comparable to GUI agents trained on the same amount of human-annotated data from a much larger set of environments. This superior performance is consistent across our internal offline and online transfer benchmarks, where our agent also significantly outperforms the base foundation model. We further provide critical insights into the "embodiment potential" of different LLM foundations, offering a new axis for model evaluation. This work presents a scalable and cost-effective paradigm for transforming passive internet knowledge into active, grounded intelligence, marking a critical step towards general-purpose interactive agents.
Motivation & Objective
- Motivate a shift from data-volume emphasis to intelligence compression efficiency for embodied GUI agents.
- Develop a fully controllable offline web environment that faithfully replicates production sites while ensuring reproducibility.
- Automate knowledge-driven task generation to produce executable, ground-truth tasks without human annotation.
- Train GUI agents via reinforcement learning with a unified action space and decomposed rewards to improve task completion and grounding.
- Evaluate generalization across internal benchmarks and public GUI benchmarks, and analyze embodiment potential across foundation models.
Proposed method
- Create a high-fidelity offline web environment that disables live-web noise and safety issues while exposing site knowledge and interaction logic.
- Use a knowledge-driven task generator that leverages navigation graphs, page semantics, and canonical interaction flows to produce executable and verifiable tasks.
- Generate large-scale trajectories by executing tasks with a strong executor inside the offline environment and filter for quality and correctness.
- Train agents with reinforcement learning in a unified action space where each action is (type, point, text) and optimize a decomposed reward combining format validation and accuracy.
- Evaluate agents via scripted replays with grounding and task-level metrics, avoiding human raters, and measure transfer to online platforms and public benchmarks.
- Open-source the full toolkit including environments, generators, training pipeline, and evaluation tools.
Experimental results
Research questions
- RQ1How effectively can LLM-encoded internet intelligence be compressed into grounded, actionable GUI policies within a controlled offline environment?
- RQ2What is the impact of integrating knowledge-driven task generation with data-driven trajectory collection on task executability and trajectory quality?
- RQ3To what extent do agents trained solely on synthetic data in WebFactory transfer to real online platforms and public GUI benchmarks?
- RQ4How does the embodiment potential of different foundation models affect final GUI agent performance?
- RQ5What are the roles of full environment observability and a decomposed reward in achieving data-efficient, generalizable GUI agents?
Key findings
- Knowledge- and data-driven task generation dramatically increases executability (31.3% → 86.3%) and validity (42.3% → 92.6%).
- Trajectory success rate rises (42.6% → 84.3%), and average task steps decrease (15.7 → 9.8) with knowledge-driven methods.
- WebFactory-3B achieves strong offline-to-online transfer (average TCR 53.4%, accuracy 77.4%), outperforming baselines on Amazon, Airbnb, and Booking.
- On public GUI benchmarks, WebFactory-3B reaches SR 84.2% on GUI-Act-Web and 66.0% Type accuracy on GUI-Odyssey, indicating solid cross-domain generalization.
- GPT-5 as a foundation model for the generation pipeline yields the strongest overall performance across diverse GUI benchmarks, with Claude Opus 4.1 competitive and Claude Sonnet 4 more variable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.