Papers
Topics
Authors
Recent
Search
2000 character limit reached

ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning

Published 25 Mar 2025 in cs.AI and cs.CL | (2503.19470v2)

Abstract: LLMs have shown remarkable capabilities in reasoning, exemplified by the success of OpenAI-o1 and DeepSeek-R1. However, integrating reasoning with external search processes remains challenging, especially for complex multi-hop questions requiring multiple retrieval steps. We propose ReSearch, a novel framework that trains LLMs to Reason with Search via reinforcement learning without using any supervised data on reasoning steps. Our approach treats search operations as integral components of the reasoning chain, where when and how to perform searches is guided by text-based thinking, and search results subsequently influence further reasoning. We train ReSearch on Qwen2.5-7B(-Instruct) and Qwen2.5-32B(-Instruct) models and conduct extensive experiments. Despite being trained on only one dataset, our models demonstrate strong generalizability across various benchmarks. Analysis reveals that ReSearch naturally elicits advanced reasoning capabilities such as reflection and self-correction during the reinforcement learning process.

Summary

  • The paper presents ReSearch, a novel framework using reinforcement learning (specifically GRPO) to train LLMs to integrate external search into their reasoning processes without supervised reasoning data.
  • ReSearch embeds search operations within the LLM's thinking chain, allowing the model to learn when and how to search and synthesize information based on reward signals from final answer outcomes.
  • Experiments show ReSearch-trained models achieve significant absolute accuracy improvements (8.9% to 22.4%) over baseline methods on multi-hop question answering datasets like HotpotQA and MuSiQue.

Overview of "ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning"

The paper "ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning" presents a novel framework designed to enhance the reasoning capabilities of LLMs when integrated with external search processes. Traditionally, LLMs have demonstrated notable proficiency in tasks demanding internal knowledge synthesis derived from pre-training data. However, challenges arise when these models are required to incorporate external information through search mechanisms to address complex multi-hop questions necessitating numerous retrieval steps. ReSearch seeks to address these challenges by employing reinforcement learning (RL) to train LLMs without recourse to supervised data related to reasoning steps.

Methodology

The authors propose treating search operations as integral components of the reasoning process, augmenting the LLM's capabilities in both retrieval and synthesis of data. This method relies on RL, specifically using Group Relative Policy Optimization (GRPO), enabling LLMs to refine their reasoning abilities without needing explicit supervision. By defining a reasoning framework wherein search operations are informed by text-based thinking, ReSearch orchestrates the interaction between the LLM's reasoning and external search results. This interaction is critical as it dictates not only when searches are conducted but how these searches impact subsequent reasoning processes.

Framework Details

In ReSearch, the search operations are embedded within a reasoning chain, marked by specific tags indicating thinking, searching, and retrieving results. These tags delineate each stage and guide the learning model to comprehend and construct reasoning processes autonomously. The training commences without any labeled reasoning chains, allowing models to naturally acquire reasoning capabilities through reward signal optimization derived from final answer outcomes.

Experimental Setup

The framework was tested on multiple benchmarks including HotpotQA, 2WikiMultiHopQA, MuSiQue, and Bamboogle. Upon evaluation, the ReSearch-trained models demonstrated significant improvements over baseline methods, namely naive generation and retrieval-augmented generation strategies. For instance, models trained using ReSearch showed an absolute improvement ranging from 8.9% to 22.4% in terms of accuracy across these datasets, highlighting the efficacy of the framework.

Implications and Future Directions

ReSearch introduces substantial advancements in integrating reasoning and retrieval processes within LLMs, setting a precedent for further intellectual exploration in refining multi-step reasoning methodologies. Its ability to generalize across diverse question formats and datasets indicates a robust and versatile model that could revolutionize the way researchers approach and tackle complex problem-solving in AI. Future research could expand upon this framework to incorporate additional external tools and explore diverse domains, further enhancing the reasoning capabilities of LLMs.

In conclusion, the ReSearch framework exemplifies a promising leap towards harmonizing LLMs with external search processes, allowing them to transcend beyond conventional knowledge synthesis and into territories requiring dynamic, multi-hop reasoning and data retrieval operations, facilitated by reinforcement learning principles.

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 6 tweets with 44 likes about this paper.