atlas

Research map / Reinforcement learning / Visual and representation RL

SmartRAG: Jointly Learn RAG-Related Tasks From the Environment Feedback

ICLR 2025 · Reinforcement learning › Visual and representation RL · approach: RL with tree search for discovery · 0 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 SmartRAG, a policy-network-plus-retriever RAG pipeline that decides when to retrieve, rewrites queries, and answers, jointly optimized with PPO using environment feedback and a retrieval penalty.

Problem

RAG systems have multiple modules (retriever, generator, decision maker, query rewriter) that are trained separately, and intermediate "golden" labels for these modules are unavailable or model-dependent, making separate optimization suboptimal.

Approach

A single LLM policy acts as decision maker (retrieve or answer), query rewriter, and answer generator, interacting with a Bing retriever over multiple steps; all roles are jointly optimized with PPO using only exact-match plus F1 answer rewards and a fixed penalty per retrieval, after an SFT warm-up.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
jointly optimize the policy and retriever-related tasks with PPO rather than separately optimizing modulesSmartRAG · PopQA, AmbigNQ, and HotpotQAEMHelped
jointly optimize the policy and retriever-related tasks with PPO rather than separately optimizing modulesSmartRAG · PopQA, AmbigNQ, and HotpotQAF1Helped
add a learned query rewriter instead of searching with the original question (ablation)SmartRAG · PopQAEM: 39.13 -> 42.50Helped
add a learned query rewriter instead of searching with the original question (ablation)SmartRAG · AmbigNQEM: 33.41 -> 33.71Helped
add a learned query rewriter instead of searching with the original question (ablation)SmartRAG · HotpotQAF1: 34.04 -> 35.23Helped
use the jointly optimized PPO answer generator instead of the pre-PPO warm-up generator (ablation)SmartRAG · PopQAEM: 40.95 -> 42.50Helped
use the jointly optimized PPO answer generator instead of the pre-PPO warm-up generator (ablation)SmartRAG · AmbigNQEM: 33.23 -> 33.71Helped
use the jointly optimized PPO answer generator instead of the pre-PPO warm-up generator (ablation)SmartRAG · HotpotQAF1: 35.04 -> 35.23Helped
initialize PPO from the better warm-up policy using data selected by the base model's answer ability (ablation)SmartRAG · PopQA, AmbigNQ, and HotpotQAEMHelped
replace GPT-3.5 with LLaMA-7B to generate the SFT query dataset (ablation)SmartRAG · PopQA, AmbigNQ, and HotpotQAF1No clear effect
increase retrieved document count from K=1 to K=4 (ablation)SmartRAG · Flan-T5-large evaluationperformanceHelped
make retrieval adaptive rather than always retrieveSmartRAG · OpenBookQA, MedQA-cn, and ARC-caccuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: PopQA AmbigNQ HotpotQA TriviaQA OpenBookQA MedQA-cn ARC-c 2WikiMultiHopQA MuSiQue

Benchmarks: PopQA AmbigNQ HotpotQA TriviaQA 2WikiMultiHopQA MuSiQue OpenBookQA MedQA-cn ARC-c

Metrics: exact match F1 hit rate retrieval percentage accuracy

Baselines: Vanilla RAG SFT RAG GPT4 Rewriter + SFT RAG Self-RAG SKR GPT4 Rewriter + SKR ReAct IRCoT ICL SFT

Builds on: PPO Self-RAG SKR ReAct IRCoT

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