An Empirical Study on Reinforcement Learning for Reasoning-Search Interleaved LLM Agents
Bowen Jin, Jinsung Yoon, Priyanka Kargupta, Sercan O. Arik, Jiawei Han
TL;DR
This paper empirically investigates design choices for reinforcement learning of LLM-based reasoning–search agents. It systematically evaluates reward designs (format vs. intermediate retrieval rewards), backbone LLM characteristics (general-purpose vs. reasoning-specialized) and model scale, and the impact of search engine quality during training and inference. Key findings show format rewards significantly boost performance and convergence, while intermediate retrieval rewards provide limited or negative gains; general-purpose LLMs and larger models generally perform better, with diminishing returns at scale; and stronger search engines during training and inference lead to more stable learning and better downstream results. These insights offer practical guidelines for building robust, real-world LLM-based search agents and point to promising directions like learned reward functions and broader tool-use RL.
Abstract
Reinforcement learning (RL) has demonstrated strong potential in training large language models (LLMs) capable of complex reasoning for real-world problem solving. More recently, RL has been leveraged to create sophisticated LLM-based search agents that adeptly combine reasoning with search engine use. While the use of RL for training search agents is promising, the optimal design of such agents remains not fully understood. In particular, key factors -- such as (1) reward formulation, (2) the choice and characteristics of the underlying LLM, and (3) the role of the search engine in the RL process -- require further investigation. In this work, we conduct comprehensive empirical studies to systematically investigate these and offer actionable insights. We highlight several key findings: format rewards are effective in improving final performance, whereas intermediate retrieval rewards have limited impact; the scale and initialization of the LLM (general-purpose vs. reasoning-specialized) significantly influence RL outcomes; and the choice of search engine plays a critical role in shaping RL training dynamics and the robustness of the trained agent during inference. These establish important guidelines for successfully building and deploying LLM-based search agents in real-world applications. Code is available at https://github.com/PeterGriffinJin/Search-R1.
