StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization

Ziliang Wang, Xuhui Zheng, Kang An, Cijun Ouyang, Jialu Cai +2 more
5/21/2025
97 citations
cs.CLcs.AIcs.IR
rl

Official code: Zillwang/StepSearch (82 stars, Python, Apache-2.0, last commit 2025-09-13).

Abstract

Efficient multi-hop reasoning requires Large Language Models (LLMs) based agents to acquire high-value external knowledge iteratively. Previous work has explored reinforcement learning (RL) to train LLMs to perform search-based document retrieval, achieving notable improvements in QA performance, but underperform on complex, multi-hop QA resulting from the sparse rewards from global signal only.

Show full abstract

To address this gap in existing research, we introduce StepSearch, a framework for search LLMs that trained with step-wise proximal policy optimization method. It consists of richer and more detailed intermediate search rewards and token-level process supervision based on information gain and redundancy penalties to better guide each search step. We constructed a fine-grained question-answering dataset containing sub-question-level search trajectories based on open source datasets through a set of data pipeline method. On standard multi-hop QA benchmarks, it significantly outperforms global-reward baselines, achieving 11.2% and 4.2% absolute improvements for 3B and 7B models over various search with RL baselines using only 19k training data, demonstrating the effectiveness of fine-grained, stepwise supervision in optimizing deep search LLMs. Our code will be released on https://github.com/Zillwang/StepSearch.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

EMNLP MAIN 2025 StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization

8212Python, ShellMay 23, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2025stepsearch,
  title  = {StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization},
  author = {Ziliang Wang and Xuhui Zheng and Kang An and Cijun Ouyang and Jialu Cai and Yuhang Wang and Yichao Wu},
  year   = {2025},
  eprint = {2505.15107},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15107v2}
}

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/2505.15107.svg)](https://codeofpaper.com/paper/2505.15107)

Discussion