atlas

Research map / Large language models / Retrieval and knowledge

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

NeurIPS 2025 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DynamicRAG, where an LLM reranker dynamically selects both the order and number of retrieved documents, trained by behavior cloning then DPO using LLM-output-quality rewards.

Problem

In RAG, choosing the number of retrieved documents k for the generator is hard: too few miss information, too many add noise; static rerankers use a fixed k.

Approach

Model the reranker as an RL agent that outputs a reordered, variable-size document subset, with rewards computed from the downstream generator's response quality (EM, BERTScore, ROUGE, length penalty, LLM-based score), optimized via DPO over sampled trajectories after an SFT cold start.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add retrieval (ablation)DynamicRAG · NQEM: 25.0 -> 48.4Helped
add retrieval (ablation)DynamicRAG · HotpotQAEM: 25.6 -> 36.7Helped
add retrieval (ablation)DynamicRAG · ASQAEM: 15.7 -> 56.3Helped
add reranking (ablation)DynamicRAG · NQEM: 36.4 -> 48.4Helped
add reranking (ablation)DynamicRAG · HotpotQAEM: 27.2 -> 36.7Helped
add reranking (ablation)DynamicRAG · ASQAEM: 39.8 -> 56.3Helped
add RL (ablation)DynamicRAG · NQEM: 44.6 -> 48.4Helped
add RL (ablation)DynamicRAG · HotpotQAEM: 29.6 -> 36.7Helped
add RL (ablation)DynamicRAG · ASQAEM: 45.5 -> 56.3Helped
add EM to the reward function (ablation)DynamicRAG · NQEM: 39.6 -> 48.4Helped
add SS to the reward function (ablation)DynamicRAG · ELI5Rg: 22.6 -> 24.6Helped
add TF to the reward function (ablation)DynamicRAG · ELI5Rg: 22.0 -> 24.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca KILT NQ FEVER HotpotQA ELI5 TriviaQA ASQA OpenBookQA MS MARCO

Benchmarks: NQ TriviaQA HotpotQA 2WikiMultihopQA ASQA FEVER ELI5

Metrics: exact match accuracy ROUGE-L Recall@5 Recall@10 Recall@20

Baselines: GPT-3.5-Turbo GPT-4 GPT-4o IRCoT ReAct FLARE RA-DIT Reward-RAG Self-RAG DRAGIN Smart-RAG RankRAG

Builds on: DPO RankRAG Self-RAG monoT5

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy