WebExplorer: Explore and Evolve for Training Long-Horizon Web Agents

Junteng Liu, Yunji Li, Chi Zhang, Jingyang Li, Aili Chen, Ke Ji, Weiyu Cheng, Zijia Wu, Chengyu Du, Qidi Xu, Jiayuan Song, Zhengmao Zhu, Wenhu Chen, Pengyu Zhao, Junxian He · DOI

Introduction

Large Language Models (LLMs) are increasingly deployed as autonomous agents for web navigation. However, they frequently struggle with "long-horizon" tasks—complex information-seeking missions requiring dozens of sequential steps involving searching, browsing, and multi-hop reasoning. The primary bottleneck for these agents is not just model scale, but the scarcity of high-quality training data. Existing datasets are often too simplistic, while human annotation is prohibitively expensive and slow. WebExplorer addresses this by introducing a framework for generating high-difficulty synthetic data through model-based exploration and a novel "long-to-short" query evolution strategy.

Methodology: Data Synthesis and Evolution

WebExplorer utilizes a two-stage pipeline to create the WebExplorer-QA dataset, which consists of approximately 40,000 challenging query-answer pairs.

Model-Based Exploration

Instead of relying on static knowledge graphs or rigid scripts, WebExplorer uses a powerful LLM to autonomously explore the web starting from a Wikipedia seed entity. The model builds a rich information space by iteratively searching and browsing for interconnected facts. This process culminates in a detailed initial Query-Answer pair ($Q_0$).

Iterative Query Evolution (Long-to-Short)

The core innovation of WebExplorer is its "long-to-short" evolution strategy. Unlike traditional methods that increase complexity by adding constraints, WebExplorer makes queries harder by removing explicit clues and obfuscating specific details. For instance, a specific entity name might be replaced with a vague description (e.g., "a mid-90s tech giant"), or a precise date might be generalized. This forces the agent to learn exploratory search strategies to identify necessary entry points, rather than simply following a clear trail of breadcrumbs.

Overview of the WebExplorer framework, featuring Model-Based Exploration and Iterative Query Evolution.

Training and Implementation

The resulting dataset was used to train WebExplorer-8B, based on the Qwen3-8B architecture. The training process involved two distinct phases:

  1. Supervised Fine-Tuning (SFT): Establishing baseline tool-calling capabilities and the ReAct (Reason + Act) framework.
  2. Reinforcement Learning (RL): Utilizing the Group Relative Policy Optimization (GRPO) algorithm. The model was rewarded for accuracy and formatting adherence. To support long-horizon tasks, the training was scaled to accommodate a 128K context length and up to 100 tool-calling turns.

Experimental Results

WebExplorer-8B was evaluated against several state-of-the-art models on high-difficulty benchmarks including BrowseComp (English and Chinese) and Humanity's Last Exam (HLE).

Performance of WebExplorer-8B compared to larger models on BrowseComp-en, BrowseComp-zh, and HLE benchmarks.

Key Performance Metrics

  • State-of-the-Art Efficiency: WebExplorer-8B achieved 15.7% accuracy on BrowseComp-en and 32.0% on BrowseComp-zh, outperforming models nearly ten times its size, such as WebSailor-72B.
  • Generalization: On the HLE benchmark, the model scored 17.3%, surpassing several 32B-parameter models. This suggests that the reasoning skills developed for web searching translate effectively to general academic problem-solving.
  • Long-Horizon Robustness: The model demonstrated the ability to handle trajectories of up to 100 tool calls, a significant improvement over typical open-source agents that often fail after 10-15 steps.

Discussion and Insights

The success of WebExplorer highlights several key principles in agent training:

  • Obfuscation as a Catalyst: Making queries vague is a more effective training signal for "super-human" search capabilities than simply making them complex. It teaches the model to navigate the "information wilderness."
  • Chain-of-Browsing: RL significantly increased the model's "patience." Post-RL, the average number of tool-use turns increased from 11 to 16, indicating the agent learned to persist through longer trajectories to find correct answers.
  • Data Quality Over Parameter Count: A specialized 8B model trained on high-difficulty, evolved data can outperform much larger general-purpose models on complex tasks.

Conclusion

WebExplorer demonstrates that the data scarcity for long-horizon web agents can be overcome through intelligent, model-driven synthesis. By focusing on query obfuscation and reinforcement learning, the framework produces highly efficient agents capable of sophisticated web reasoning. Future work will focus on expanding tool diversity beyond search and browse and adapting the agent to the dynamic, real-time nature of the live web.

Summary updated

BibTeX
@misc{liu2025webexplorer,
  author = {Junteng Liu and Yunji Li and Chi Zhang and Jingyang Li and Aili Chen and Ke Ji and Weiyu Cheng and Zijia Wu and Chengyu Du and Qidi Xu and Jiayuan Song and Zhengmao Zhu and Wenhu Chen and Pengyu Zhao and Junxian He},
  title = {{WebExplorer: Explore and Evolve for Training Long-Horizon Web Agents}},
  year = {2025},
  eprint = {2509.06501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.06501},
}
Figure