mlsanityData to 14 Oct 2026

DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation

arXiv 2505.07233 ↗First posted 12 May 2025cs.CL cs.AIcited by 15

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

  1. 2024Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers3 Oct
  2. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs2 Jul
  3. 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuning2 Oct
  4. 2023Active Retrieval Augmented Generation11 May
  5. 2023In-Context Retrieval-Augmented Language Models31 Jan
  6. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
  7. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
  8. 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb

Other references · 48

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  8. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  9. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
36 more
  1. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  2. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
  3. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  4. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  5. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  6. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  7. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  8. 2019ELI5: Long Form Question Answeringcited by 575
  9. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
  10. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
  11. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
  12. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
  13. 2020Autoregressive Entity Retrievalcited by 334
  14. 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 312
  15. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 307
  16. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
  17. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
  18. 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 234
  19. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 165
  20. 2024AgentGym: Evolving Large Language Model-based Agents across Diverse Environmentscited by 120
  21. 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 113
  22. 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
  23. 2023Zero-Shot Listwise Document Reranking with a Large Language Modelcited by 82
  24. 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 70
  25. 2024Bridging the Preference Gap between Retrievers and LLMscited by 69
  26. 2024FIRST: Faster Improved Listwise Reranking with Single Token Decodingcited by 54
  27. 2018FIRST: A Framework for Optimizing Information Quality in Mobile Crowdsensing Systemscited by 50
  28. 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Modelscited by 43
  29. 2024Reinforcement Learning for Optimizing RAG for Domain Chatbotscited by 26
  30. 2024Leveraging LLMs for Unsupervised Dense Retriever Rankingcited by 19
  31. 2024SmartRAG: Jointly Learn RAG-Related Tasks From the Environment Feedbackcited by 19
  32. 2024DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Taskcited by 17
  33. 2024Make Large Language Model a Better Rankercited by 11
  34. 2023PaRaDe: Passage Ranking using Demonstrations with Large Language Modelscited by 10
  35. 2024Re3val: Reinforced and Reranked Generative Retrievalcited by 9
  36. 2024Reward-RAG: Enhancing RAG with Reward Driven Supervisioncited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 9.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Tool-Adaptive LLM Reranker
  2. 2026Optimizing RAG Rerankers with LLM Feedback via Reinforcement Learning
  3. 2025MARAG-R1: Beyond Single Retriever via Reinforcement-Learned Multi-Tool Agentic Retrieval
  4. 2024JudgeRank: Leveraging Large Language Models for Reasoning-Intensive Reranking
  5. 2026Rethinking Retrieval-Augmented Generation as a Cooperative Decision-Making Problem
  6. 2025ProRank: Prompt Warmup via Reinforcement Learning for Small Language Models Reranking
  7. 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
  8. 2024The Power of Noise: Redefining Retrieval for RAG Systems