EvolveSearch: An Iterative Self-Evolving Search Agent

Dingchu Zhang, Yida Zhao, Jialong Wu, Baixuan Li, Wenbiao Yin, Liwen Zhang, Yong Jiang, Yufeng Li, Kewei Tu, Pengjun Xie, Fei HuangarXiv 2025 · DOI

Introduction

Equipping Large Language Models (LLMs) with agentic web search capabilities allows them to answer complex, multi-step questions by actively browsing the internet. However, training these agents effectively remains a significant challenge. Current methodologies typically rely on two approaches: Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL). SFT is bottlenecked by the scarcity and high cost of human-annotated reasoning trajectories, while standard RL approaches often suffer from early convergence, where the model stops improving after a few hundred steps, limiting its ultimate performance.

To address these limitations, we introduce EvolveSearch, a novel framework that trains LLMs to become autonomous web search agents through an iterative cycle of reinforcement learning and supervised fine-tuning. By generating its own high-quality reasoning data and bootstrapping performance without human intervention, EvolveSearch overcomes data scarcity and the "early convergence wall."

The EvolveSearch Framework

EvolveSearch utilizes an iterative self-evolution process. Starting with a base model (Qwen2.5-7B-Instruct), the framework alternates between two distinct phases over $N$ iterations:

1. RL Exploration Phase

In this stage, the model interacts with a web search environment. We employ Group Relative Policy Optimization (GRPO) to guide the model's learning. The agent is incentivized through a hybrid reward system:

  • Format Reward: Ensures the model correctly utilizes structural tags such as <think>, <tool_call>, and <answer>.
  • Answer Reward: Evaluates the correctness of the final response, using a larger model (Qwen2.5-72B-Instruct) as a judge.

2. SFT Optimization Phase

Rather than continuing RL indefinitely, EvolveSearch stops to perform Rejection Sampling Fine-Tuning. The best trajectories (rollouts) from the RL phase are collected and used to fine-tune a new "cold-start" model for the subsequent iteration. This reset allows the model to bypass the plateaus typical of pure RL setups.

Filtering for Quality

The success of the SFT phase relies on three critical filtering rules applied to the collected trajectories:

  • High-Reward Selection (HRS): Only successful rollouts that correctly answer the query are retained.
  • Same Query Deduplication (SQD): To ensure behavioral diversity, if multiple rollouts solve the same query, the framework prioritizes the one that utilized the search tool most extensively.
  • Multi-Calls Selection (MCS): This rule prioritizes trajectories involving multiple search steps, explicitly encouraging the model to develop deep, multi-hop reasoning capabilities.

Experimental Setup

The framework was trained on a mix of 80,000 samples from Natural Questions (NQ), TriviaQA (TQ), HotpotQA, and 2Wiki. To emphasize complex research capabilities, 75% of the training mix consisted of multi-hop queries. Evaluation was conducted across two categories:

  • In-Domain: 2,048 examples from the training source datasets.
  • Out-of-Domain: 1,129 examples from Musique, Bamboogle, and PopQA to test the agent's ability to generalize to unseen reasoning patterns.

Results and Key Insights

EvolveSearch demonstrates a significant performance leap over existing state-of-the-art (SOTA) baselines, including DeepResearcher and R1-Searcher.

  • Performance Gains: The framework achieved a 4.7% average accuracy improvement across all seven benchmarks. By the third iteration, in-domain accuracy reached 76.2%, compared to 73.2% for DeepResearcher.
  • Generalization: On out-of-domain datasets, EvolveSearch reached 53.7% accuracy (vs. 50.3% for the baseline), suggesting that the iterative process teaches generalizable reasoning skills rather than simple pattern memorization.
  • Tool Reliance: As the model progresses through iterations, it naturally learns to rely more on the search tool and less on its internal, potentially outdated knowledge, reducing hallucinations.
  • Ablation Analysis: Removing the Multi-Calls Selection (MCS) filter resulted in the most significant performance drop. This confirms that forcing the model to learn from complex, multi-step trajectories is the primary driver of its reasoning depth.

Conclusion

EvolveSearch proves that high-quality reasoning paths do not require human annotation; instead, they can be bootstrapped through iterative RL exploration and selective SFT. While the process introduces higher computational overhead, the resulting agent is more robust and capable of handling complex research tasks. Future work will focus on improving sample efficiency through streaming rollout filtering and expanding the agent's capabilities to include additional tools like code execution and calculators.

Summary updated

BibTeX
@misc{zhang2025evolvesearch,
  author = {Dingchu Zhang and Yida Zhao and Jialong Wu and Baixuan Li and Wenbiao Yin and Liwen Zhang and Yong Jiang and Yufeng Li and Kewei Tu and Pengjun Xie and Fei Huang},
  title = {{EvolveSearch: An Iterative Self-Evolving Search Agent}},
  year = {2025},
  eprint = {2505.22501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.22501},
}
Figure