DeepRAG: Thinking to Retrieve Step by Step for Large Language Models
Abstract
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 25.41%, demonstrating its effectiveness in enhancing retrieval-augmented reasoning.
Cite
Text
Guan et al. "DeepRAG: Thinking to Retrieve Step by Step for Large Language Models." International Conference on Learning Representations, 2026.Markdown
[Guan et al. "DeepRAG: Thinking to Retrieve Step by Step for Large Language Models." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/guan2026iclr-deeprag/)BibTeX
@inproceedings{guan2026iclr-deeprag,
title = {{DeepRAG: Thinking to Retrieve Step by Step for Large Language Models}},
author = {Guan, Xinyan and Zeng, Jiali and Meng, Fandong and Xin, Chunlei and Lu, Yaojie and Lin, Hongyu and Han, Xianpei and Sun, Le and Zhou, Jie},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://mlanthology.org/iclr/2026/guan2026iclr-deeprag/}
}