SmartRAG: Jointly Learn RAG-Related Tasks From the Environment Feedback
Jingsheng Gao, Linxu Li, Ke Ji, Weiyuan Li, Yixin Lian, Yuzhuo Fu, Bin Dai
摘要
RAG systems consist of multiple modules to work together. However, these modules are usually separately trained. We argue that a system like RAG that incorporates multiple modules should be jointly optimized to achieve optimal performance. To demonstrate this, we design a specific pipeline called SmartRAG that includes a policy network and a retriever. The policy network can serve as 1) a decision maker that decides when to retrieve, 2) a query rewriter to generate a query most suited to the retriever, and 3) an answer generator that produces the final response with/without the observations. We then propose to jointly optimize the whole system using a reinforcement learning algorithm, with the reward designed to encourage the system to achieve the best performance with minimal retrieval cost. When jointly optimized, all the modules can be aware of how other modules are working and thus find the best way to work together as a complete system. Empirical results demonstrate that the jointly optimized SmartRAG can achieve better performance than separately optimized counterparts.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Learning What Helps: Task-Aligned Context Selection for Vision Tasks 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Learning What Helps: Task-Aligned Context Selection for Vision Tasks 引用了 Retrieval Augmented Language Model Pre-Training
- DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation 引用了 Training language models to follow instructions with human feedback
- DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- DeepRAG: Thinking to Retrieve Step by Step for Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Training language models to follow instructions with human feedback
- Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning 引用了 Training language models to follow instructions with human feedback
- Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning 引用了 Retrieval Augmented Language Model Pre-Training
引用它的顶会 Paper5
- A Survey of Large Language Model-Based Search AgentsYunjia Xi, Jianghao Lin, Yongzhao Xiao, Zheli Zhou 等ACL 2026 · 1,216 次引用
- Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement LearningYiqun Chen, Lingyong Yan, Weiwei Sun, Xinyu Ma 等NeurIPS 2025 · 47 次引用
- DeepRAG: Thinking to Retrieve Step by Step for Large Language ModelsXinyan Guan, Jiali Zeng, Fandong Meng, Chunlei Xin 等ICLR 2026 · 30 次引用
- DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented GenerationJiashuo Sun, Xianrui Zhong, Sizhe Zhou, Jiawei HanNeurIPS 2025 · 19 次引用
- Learning What Helps: Task-Aligned Context Selection for Vision TasksJingyu Guo, Emir Konuk, Fredrik Strand, Christos Matsoukas 等CVPR 2026
它引用的 Paper19
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat 等ICML 2020 · 2,937 次引用
相关 Paper
- A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented GenerationNeal Lawton, Alfy Samuel, Anoop Kumar, Daben LiuEMNLP Findings 2025
- Single LLM, Multiple Roles: A Unified Retrieval-Augmented Generation Framework Using Role-Specific Token OptimizationYutao Zhu, Jiajie Jin, Hongjin Qian, Zheng Liu 等EMNLP 2025
- CORE: Cooperative Training of Retriever-Reranker for Effective Dialogue Response SelectionChongyang Tao, Jiazhan Feng, Tao Shen, Chang Liu 等ACL 2023 · 2 次引用
- AutoGraph-R1: End-to-End Reinforcement Learning for Knowledge Graph ConstructionHong Ting Tsang, Jiaxin Bai, Haoyu Huang, Qiao Xiao 等ACL 2026 · 4 次引用
- Query Optimization for Parametric Knowledge Refinement in Retrieval-Augmented Large Language ModelsYouan Cong, Pritom Saha Akash, Cheng Wang, Kevin Chen-Chuan ChangEMNLP Findings 2025
