Process vs. Outcome Reward: Which is Better for Agentic RAG Reinforcement Learning

Wen-Lin Zhang, Xiangyang Li, Kui-Cai Dong, Yi-Chao Wang, Peng-Yue Jia +7 more
5/1/2025
94 citations
rlrag

Official code: wlzhang2020/ReasonRAG (45 stars). 1 more implementation below.

Abstract

Retrieval-augmented generation (RAG) enhances the text generation capabilities of large language models (LLMs) by integrating external knowledge and up-to-date information. However, traditional RAG systems are limited by static workflows and lack the adaptability required for multistep reasoning and complex task management.

Show full abstract

To address these limitations, agentic RAG systems (e.g., DeepResearch) have been proposed, enabling dynamic retrieval strategies, iterative context refinement, and adaptive workflows for handling complex search queries beyond the capabilities of conventional RAG. Recent advances, such as Search-R1, have demonstrated promising gains using outcome-based reinforcement learning, where the correctness of the final answer serves as the reward signal. Nevertheless, such outcome-supervised agentic RAG methods face challenges including low exploration efficiency, gradient conflict, and sparse reward signals. To overcome these challenges, we propose to utilize fine-grained, process-level rewards to improve training stability, reduce computational costs, and enhance efficiency. Specifically, we introduce a novel method ReasonRAG that automatically constructs RAG-ProGuide, a high-quality dataset providing process-level rewards for (i) query generation, (ii) evidence extraction, and (iii) answer generation, thereby enhancing model inherent capabilities via process-supervised reinforcement learning. With the process-level policy optimization, the proposed framework empowers LLMs to autonomously invoke search, generate queries, extract relevant evidence, and produce final answers. Compared to existing approaches such as Search-R1 and traditional RAG systems, ReasonRAG, leveraging RAG-ProGuide, achieves superior performance on five benchmark datasets using only 5k training instances, significantly fewer than the 90k training instances required by Search-R1.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
wlzhang2020/ReasonRAGOfficial45–––
Applied-Machine-Learning-Lab/ReasonRAGCommunity18–––

Source code of paper: Process vs. Outcome Reward: Which is Better for Agentic RAG Reinforcement Learning

458

Code implementation of NeurIPS'25 paper "Process vs. Outcome Reward: Which is Better for Agentic RAG Reinforcement Learning"

181

Similar Papers

Cite this paper

@article{zhang2025process,
  title  = {Process vs. Outcome Reward: Which is Better for Agentic RAG Reinforcement Learning},
  author = {Wen-Lin Zhang and Xiangyang Li and Kui-Cai Dong and Yi-Chao Wang and Peng-Yue Jia and Xiao-Peng Li and Yingyi Zhang and De-Rong Xu and Zhaochen Du and Hui-Feng Guo and Rui-Ming Tang and Xiang-Yu Zhao},
  year   = {2025},
  eprint = {2505.14069},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.14069},
  url    = {https://doi.org/10.48550/arXiv.2505.14069},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.14069.svg)](https://codeofpaper.com/paper/2505.14069)

Discussion