Reproduce “R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learning” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, Ji-Rong Wen
R1-Searcher trains reasoning models to pause, retrieve external evidence, and continue answering using outcome-based reinforcement learning in two stages, without supervised fine-tuning as a cold start. On HotpotQA, its Llama-3.1-8B-Instruct backbone scores 74.6% judged correct by GPT-4o-mini, versus 43.4% for ReARTeR with the same backbone; this in-domain result does not establish an efficiency gain.
Key insights
- Reinforcement Learning (RL) consistently outperforms Supervised Fine-Tuning (SFT) in teaching LLMs genuine search capabilities, leading to more accurate query timing and relevance.
- A two-stage reward design, using F1-score for answer quality and strict format rewards, is crucial for stable RL training and preventing 'reward hacking'.
- Training with a curriculum that includes 'difficult' questions and diverse datasets significantly enhances the model's overall performance and generalization abilities for retrieval and reasoning.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.