StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization
About
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. 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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multi-hop Question Answering | 2WikiMultihopQA | EM36.6 | 278 | |
| Multi-hop Question Answering | HotpotQA | -- | 221 | |
| Multi-hop Question Answering | HotpotQA (test) | F124.5 | 198 | |
| Multi-hop Question Answering | 2WikiMultiHopQA (test) | EM13.5 | 143 | |
| Multi-hop Question Answering | MuSiQue (test) | F19.7 | 111 | |
| Multi-hop Question Answering | MuSiQue | EM22.6 | 106 | |
| Multi-hop Question Answering | Bamboogle | Exact Match40 | 97 | |
| Question Answering | MuSiQue | EM22.6 | 84 | |
| Question Answering | 2WikiMultihopQA | EM36.6 | 73 | |
| Question Answering | Bamboogle | EM40 | 62 |