mlsanityData to 14 Oct 2026

R3-RAG: Learning Step-by-Step Reasoning and Retrieval for LLMs via Reinforcement Learning

arXiv 2505.23794 ↗First posted 26 May 2025cs.CL cs.AIcited by 20

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

also in 1 more
Abstract (arXiv)

Retrieval-Augmented Generation (RAG) integrates external knowledge with Large Language Models (LLMs) to enhance factual correctness and mitigate hallucination. However, dense retrievers often become the bottleneck of RAG systems due to their limited parameters compared to LLMs and their inability to perform step-by-step reasoning. While prompt-based iterative RAG attempts to address these limitations, it is constrained by human-designed workflows. To address these limitations, we propose R3-RAG, which uses Reinforcement learning to make the LLM learn how to Reason and Retrieve step by step, thus retrieving comprehensive external knowledge and leading to correct answers. R3-RAG is divided into two stages. We first use cold start to make the model learn the manner of iteratively interleaving reasoning and retrieval. Then we use reinforcement learning to further harness its ability to better explore the external retrieval environment. Specifically, we propose two rewards for R3-RAG: 1) answer correctness for outcome reward, which judges whether the trajectory leads to a correct answer; 2) relevance-based document verification for process reward, encouraging the model to retrieve documents that are relevant to the user question, through which we can let the model learn how to iteratively reason and retrieve relevant documents to get the correct answer. Experimental results show that R3-RAG significantly outperforms baselines and can transfer well to different retrievers. We release R3-RAG at https://github.com/Yuan-Li-FNLP/R3-RAG.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 29 of its 36 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

29 of 36 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning25 Mar
  2. 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learning7 Mar
  3. 2025DeepRAG: Thinking to Retrieve Step by Step for Large Language Models3 Feb
  4. 2025Search-o1: Agentic Search-Enhanced Large Reasoning Models9 Jan
  5. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questions20 Dec

Other references · 24

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  8. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  9. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  10. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  11. 2024OpenAI o1 System Cardcited by 1,244
  12. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
12 more
  1. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
  2. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  3. 2024DeepSeek-V3 Technical Reportcited by 811
  4. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
  5. 2023Active Retrieval Augmented Generationcited by 516
  6. 2023Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergycited by 346
  7. 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 286
  8. 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Researchcited by 166
  9. 2024BM25S: Orders of magnitude faster lexical search via eager sparse scoringcited by 88
  10. 2024OpenRLHF: An Easy-to-use, Scalable and High-performance RLHF Frameworkcited by 73
  11. 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Modelscited by 43
  12. 2025S2R: Teaching LLMs to Self-verify and Self-correct via Reinforcement Learningcited by 39

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 13.

20 papers.

Sort:

By area:

  1. 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Modelscited by 21
  2. 2025Large Reasoning Embedding Models: Towards Next-Generation Dense Retrieval Paradigmcited by 9
  3. 2026Enhancing LLM-based Search Agents via Contribution Weighted Group Relative Policy Optimizationcited by 9
  4. 2025Towards Global Retrieval Augmented Generation: A Benchmark for Corpus-Level Reasoningcited by 8
  5. 2026Reward Modeling for Reinforcement Learning-Based LLM Reasoning: Design, Challenges, and Evaluationcited by 7
  6. 2025From Sufficiency to Reflection: Reinforcement-Guided Thinking Quality in Retrieval-Augmented Reasoning for LLMscited by 5
  7. 2026Knowing When to Ask: Segment-Level Credit Assignment for LLM Tool Usecited by 3
  8. 2025REX-RAG: Reasoning Exploration with Policy Correction in Retrieval-Augmented Generationcited by 2
  9. 2025Fast, Slow, and Tool-augmented Thinking for LLMs: A Reviewcited by 2
  10. 2025Multi-hop Reasoning via Early Knowledge Alignmentcited by 1
  11. 2026Mitigating Hallucination in Financial Retrieval-Augmented Generation via Fine-Grained Knowledge Verificationcited by 1
  12. 2026AdaptR1: Reinforcement Learning Based Adaptive Interleaved Thinking in Multi-hop Question Answeringcited by 1
8 more
  1. 2026Learning to Reason by Analogy via Retrieval-Augmented Reinforcement Fine-Tuningcited by 1
  2. 2026Stateful Evidence-Driven Retrieval-Augmented Generation with Iterative Reasoningcited by 0
  3. 2026Integrating Chain-of-Thought into Generative Retrieval: A Preliminary Studycited by 0
  4. 2026C-MIG: Multi-view Information Gain-based Retrieval-Augmented Generation for Clinical Diagnosis Reasoningcited by 0
  5. 2026Principled Top-k Selection for Language Models with Hybrid Gradientscited by 0
  6. 2026Beyond Outcome Rewards: Constructing and Assigning Retrieval Credit for Search Agentscited by 0
  7. 2026SignRAG: Unified Retrieval-Augmented Gloss-Free Sign Language Translationcited by 0
  8. 2026Project Greenhouse: Progress Toward Fully Open and Sovereign Agentic Searchcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Optimizing Retrieval for RAG via Reinforcement Learning
  2. 2025MARAG-R1: Beyond Single Retriever via Reinforcement-Learned Multi-Tool Agentic Retrieval
  3. 2025UR2: Unify RAG and Reasoning through Reinforcement Learning
  4. 2025RAG-R1: Incentivizing the Search and Reasoning Capabilities of LLMs through Multi-query Parallelism
  5. 2025s3: You Don't Need That Much Data to Train a Search Agent via RL
  6. 2025R1-Searcher++: Incentivizing the Dynamic Knowledge Acquisition of LLMs via Reinforcement Learning
  7. 2025Towards Agentic RAG with Deep Reasoning: A Survey of RAG-Reasoning Systems in LLMs
  8. 2026Reinforcement Fine-Tuning for History-Aware Dense Retriever in RAG