DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Retrieval-augmented generation (RAG) systems combine large language models (LLMs) with external knowledge retrieval, making them highly effective for knowledge-intensive tasks. A crucial but often under-explored component of these systems is the reranker. Since irrelevant documents in RAG systems can mislead the generator, the reranker plays a vital role in refining retrieved documents to enhance generation quality and explainability. However, it is challenging to determine the appropriate number of documents (k) that the reranker should select: too few may result in missing critical information, while too many introduce noise and inefficiencies. Although recent studies have explored LLM-based rerankers, they primarily leverage internal model knowledge and overlook the rich supervisory signals that LLMs can provide, such as using response quality as feedback for optimizing reranking decisions. In this paper, we propose DynamicRAG, a novel RAG framework where the reranker dynamically adjusts both the order and number of retrieved documents based on the query. We model the reranker as an agent optimized through reinforcement learning (RL), using rewards derived from LLM output quality. Across seven knowledge-intensive datasets, DynamicRAG demonstrates superior performance, achieving state-of-the-art results among models of same parameter sizes. The model, data and code are available at https://github.com/GasolSun36/DynamicRAG.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 56 of its 64 references that are in the map. First posted on arXiv 12 May 2025.
Builds on
56 of 64 references.
Closest ancestors · 8
Same direction, newest first
- 2024Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers3 Oct
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs2 Jul
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuning2 Oct
- 2023Active Retrieval Augmented Generation11 May
- 2023In-Context Retrieval-Augmented Language Models31 Jan
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb
Other references · 48
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
36 more
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2019ELI5: Long Form Question Answeringcited by 575
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
- 2020Autoregressive Entity Retrievalcited by 334
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 312
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 307
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
- 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
- 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 234
- 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 165
- 2024AgentGym: Evolving Large Language Model-based Agents across Diverse Environmentscited by 120
- 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 113
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
- 2023Zero-Shot Listwise Document Reranking with a Large Language Modelcited by 82
- 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 70
- 2024Bridging the Preference Gap between Retrievers and LLMscited by 69
- 2024FIRST: Faster Improved Listwise Reranking with Single Token Decodingcited by 54
- 2018FIRST: A Framework for Optimizing Information Quality in Mobile Crowdsensing Systemscited by 50
- 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Modelscited by 43
- 2024Reinforcement Learning for Optimizing RAG for Domain Chatbotscited by 26
- 2024Leveraging LLMs for Unsupervised Dense Retriever Rankingcited by 19
- 2024SmartRAG: Jointly Learn RAG-Related Tasks From the Environment Feedbackcited by 19
- 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Taskcited by 17
- 2024Make Large Language Model a Better Rankercited by 11
- 2023PaRaDe: Passage Ranking using Demonstrations with Large Language Modelscited by 10
- 2024Re3val: Reinforced and Reranked Generative Retrievalcited by 9
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervisioncited by 7
Built on by
Citing papers per year: 2025: 6; 2026: 9.
15 papers.
Sort:
By area:
- 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 22
- 2026Coding Agents are Effective Long-Context Processorscited by 12
- 2026Rethinking the Reranker: Boundary-Aware Evidence Selection for Robust Retrieval-Augmented Generationcited by 5
- 2025RECON: Reasoning with Condensation for Efficient Retrieval-Augmented Generationcited by 3
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Biascited by 3
- 2025CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similaritycited by 2
- 2025MedAI: Evaluating TxAgent's Therapeutic Agentic Reasoning in the NeurIPS CURE-Bench Competitioncited by 2
- 2026TaSR-RAG: Taxonomy-guided Structured Reasoning for Retrieval-Augmented Generationcited by 2
- 2026Scaling Participation in Modular AI Systemscited by 2
- 2025Context-Picker: Dynamic context selection using multi-stage reinforcement learningcited by 0
- 2026Mitigating LLM Hallucinations through Domain-Grounded Tiered Retrievalcited by 0
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelinescited by 0
- 2026SEEDS: Preview-Guided Evidence Admission for Search Agents9 Oct 2026
- 2026BRIDGE: Bilevel Retrieval-Credit-Aware Agentic Reinforcement Learning29 Sep 2026
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelines9 Jun 2026
- 2026Scaling Participation in Modular AI Systems5 Jun 2026
- 2026A Systems-Level Analysis of Sensitivity, Robustness, and Stability in Retrieval-Augmented Generation29 May 2026
- 2026Coding Agents are Effective Long-Context Processors20 Mar 2026
- 2026Mitigating LLM Hallucinations through Domain-Grounded Tiered Retrieval18 Mar 2026
- 2026TaSR-RAG: Taxonomy-guided Structured Reasoning for Retrieval-Augmented Generation10 Mar 2026
- 2026Rethinking the Reranker: Boundary-Aware Evidence Selection for Robust Retrieval-Augmented Generation3 Feb 2026
- 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skills18 Dec 2025
- 2025Context-Picker: Dynamic context selection using multi-stage reinforcement learning16 Dec 2025
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Bias16 Dec 2025
3 more
- 2025MedAI: Evaluating TxAgent's Therapeutic Agentic Reasoning in the NeurIPS CURE-Bench Competition12 Dec 2025
- 2025RECON: Reasoning with Condensation for Efficient Retrieval-Augmented Generation12 Oct 2025
- 2025CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similarity15 Aug 2025
- 2026Rethinking the Reranker: Boundary-Aware Evidence Selection for Robust Retrieval-Augmented Generationcited by 5
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Biascited by 3
- 2025MedAI: Evaluating TxAgent's Therapeutic Agentic Reasoning in the NeurIPS CURE-Bench Competitioncited by 2
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelinescited by 0
- 2026A Systems-Level Analysis of Sensitivity, Robustness, and Stability in Retrieval-Augmented Generationcited by 0
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelines9 Jun 2026
- 2026A Systems-Level Analysis of Sensitivity, Robustness, and Stability in Retrieval-Augmented Generation29 May 2026
- 2026Rethinking the Reranker: Boundary-Aware Evidence Selection for Robust Retrieval-Augmented Generation3 Feb 2026
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Bias16 Dec 2025
- 2025MedAI: Evaluating TxAgent's Therapeutic Agentic Reasoning in the NeurIPS CURE-Bench Competition12 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026Tool-Adaptive LLM Reranker
- 2026Optimizing RAG Rerankers with LLM Feedback via Reinforcement Learning
- 2025MARAG-R1: Beyond Single Retriever via Reinforcement-Learned Multi-Tool Agentic Retrieval
- 2024JudgeRank: Leveraging Large Language Models for Reasoning-Intensive Reranking
- 2026Rethinking Retrieval-Augmented Generation as a Cooperative Decision-Making Problem
- 2025ProRank: Prompt Warmup via Reinforcement Learning for Small Language Models Reranking
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
- 2024The Power of Noise: Redefining Retrieval for RAG Systems