Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DeepRAG: Thinking to Retrieve Step by Step for Large Language Models

About

Large Language Models (LLMs) have shown remarkable reasoning capabilities, while their practical applications are limited by severe factual hallucinations due to limitations in the timeliness, accuracy, and comprehensiveness of their parametric knowledge. Meanwhile, enhancing retrieval-augmented generation (RAG) with reasoning remains challenging due to ineffective task decomposition and redundant retrieval, which can introduce noise and degrade response quality. In this paper, we propose DeepRAG, a framework that models retrieval-augmented reasoning as a Markov Decision Process (MDP), enabling reasonable and adaptive retrieval. By iteratively decomposing queries, DeepRAG dynamically determines whether to retrieve external knowledge or rely on parametric reasoning at each step. Experiments show that DeepRAG improves retrieval efficiency and boosts answer accuracy by 26.4%, demonstrating its effectiveness in enhancing retrieval-augmented reasoning.

Xinyan Guan, Jiali Zeng, Fandong Meng, Chunlei Xin, Yaojie Lu, Hongyu Lin, Xianpei Han, Le Sun, Jie Zhou• 2025

Related benchmarks

TaskDatasetResultRank
Question Answering2Wiki
EM43.92
241
Question AnsweringBamboogle
EM32
227
Question AnsweringPopQA
EM40.6
98
Question AnsweringMuSiQue
EM13.2
71
Long narrative understanding QANoCha--
38
Question AnsweringHotpotQA
EM (%)33.44
27
Question AnsweringNQ
EM (%)33.16
27
Question AnsweringTriviaQA
EM (%)55.48
27
Question AnsweringPopQA
EM (%)39.15
27
Generative sense-making QALongBench
Comprehensiveness0.6362
14
Showing 10 of 16 rows

Other info

Follow for update