[论文解读] Is Agentic RAG worth it? An experimental comparison of RAG approaches
论文在多个领域比较 Enhanced RAG 与 Agentic RAG 的实证结果,分析用户意图处理、查询–文档对齐、文档列表精炼,以及LLM质量的影响,以及成本/时间,以指导现实世界场景的设计选择。
Retrieval-Augmented Generation (RAG) systems are usually defined by the combination of a generator and a retrieval component that extracts textual context from a knowledge base to answer user queries. However, such basic implementations exhibit several limitations, including noisy or suboptimal retrieval, misuse of retrieval for out-of-scope queries, weak query-document matching, and variability or cost associated with the generator. These shortcomings have motivated the development of "Enhanced" RAG, where dedicated modules are introduced to address specific weaknesses in the workflow. More recently, the growing self-reflective capabilities of Large Language Models (LLMs) have enabled a new paradigm, which we refer to as "Agentic" RAG. In this approach, the LLM orchestrates the entire process-deciding which actions to perform, when to perform them, and whether to iterate-thereby reducing reliance on fixed, manually engineered modules. Despite the rapid adoption of both paradigms, it remains unclear which approach is preferable under which conditions. In this work, we conduct an extensive, empirically driven evaluation of Enhanced and Agentic RAG across multiple scenarios and dimensions. Our results provide practical insights into the trade-offs between the two paradigms, offering guidance on selecting the most effective RAG design for real-world applications, considering both costs and performance.
研究动机与目标
- 需要比较 Enhanced 与 Agentic RAG 的动机,因为 naïve RAG 设置存在不同的弱点。
- 评估四个维度的性能:用户意图处理、查询-文档对齐、检索文档的调整,以及 LLM 质量影响。
- 分析计算成本和货币成本,以为实际部署决策提供信息。
- 就现实世界应用中何时应偏好 Enhanced 与 Agentic RAG 提供指导。
提出的方法
- 定义 RAG、Naïve RAG、Enhanced RAG 和 Agentic RAG 方案。
- 在四个维度上设计一个实证评估,解决已知的 Naïve RAG 缺点。
- 使用代表 QA 和 IR/E 任务的四个数据集(FIQA、NQ、FEVER、CQADupStack-English),并标注相关/不相关文档。
- 实现 Enhanced RAG,具备语义路由、基于 Hyde 的查询改写,以及基于 ELECTRA 的再排序器;实现 Agentic RAG,使用 LLM 驱动的编排器(GPT-4o)和自适应决策。
- 改变底层 LLM(Qwen-0.6B、4B、8B、32B)以研究对模型质量的鲁棒性;以 F1、召回、NDCG@10,以及人工/LLM 评审作为评测。

实验结果
研究问题
- RQ1Enhanced 与 Agentic RAG 在用户意图处理、查询-文档对齐、文档列表精炼以及对 LLM 质量敏感性方面的比较如何?
- RQ2在不同工作负载和模型下,Enhanced 与 Agentic RAG 的成本(-token、延迟、金钱)有何差异?
- RQ3在哪些领域或任务中 Agentic RAG 或 Enhanced RAG 提供更强的鲁棒性和可靠性?
- RQ4在 Agentic RAG 中的自适应查询改写与迭代检索是否相对于固定的 Enhanced RAG 流水线带来有意义的提升?
主要发现
- Agentic RAG 在 FIQA 和 CQADupStack-English 的用户意图处理方面略优于 Enhanced,但在 FEVER 的召回较低时,Enhanced 可能表现更好。
- 查询改写总体更有利于 Agentic RAG,平均在 NDCG@10 上相较于 Enhanced 提升 2.8 点。
- 文档列表精炼通过再排序给 Enhanced RAG 带来显著收益,而在某些设置下,Agentic RAG 通过重复检索获得的收益有限。
- 在不同规模的 LLM 下,两种范式的性能趋势相似,较大模型提供了接近的相对提升。
- Agentic RAG 的成本较高,约高出最多 3.6 倍,原因在于额外的推理和重复工具调用,而 Enhanced RAG 在成本更低的情况下可以达到或超过 Agentic 的性能。
- 研究也指出局限性包括未发布 PocketFlow 代理,并且结果可能随更复杂的代理设计和额外的精炼步骤而变化。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。