cs.AIMar 5, 2026

WebFactory: Automated Compression of Foundational Language Intelligence into Grounded Web Agents

Authors: Sicheng Fan, Qingyun Shi, Shengze Xu, Shengbo Cai, Tieyong Zeng, Li Ling, Yanyi Shang, Dehan Kong

Organizations: Fudan University · IMean AI · The Chinese University of Hong Kong · Tsinghua University

Abstract

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.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. InfiniteWeb: Scalable Web Environment Synthesis for GUI Agent Training

    Jan 7, 2026Ziyun Zhang, Zezhou Wang, Xiaoyi Zhang +4Web Application GenerationGUI Agents

  2. Structured Distillation of Web Agent Capabilities Enables Generalization

    Apr 9, 2026Xing Han Lù, Siva ReddyLLM Agent TrainingWeb Agents

  3. Safe and Scalable Web Agent Learning via Recreated Websites

    Mar 11, 2026Hyungjoo Chae, Jungsoo Park, Alan RitterWeb AgentsLLM Agent Training