arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.12396cs.IRcs.AI
收藏

测试时策略用于更高效和准确的代理RAG

Test-Time Strategies for More Efficient and Accurate Agentic RAG

Brian Zhang, Deepti Guntur, Zhiyang Zuo, Abhinav Sharma, Shreyas Chaudhari, Wenlong Zhao, Franck Dernoncourt, Puneet Mathur, Ryan Rossi, Nedim Lipka

AI总结:

本文提出测试时改进Search-R1流程,通过上下文模块和去重模块提升RAG系统在复杂多跳问题中的效率和准确性,实验表明在HotpotQA和Natural Questions数据集上EM得分提高5.6%,检索次数减少10.5%。

摘要:

检索增强生成(RAG)系统在处理复杂、多跳问题时面临挑战,而像Search-R1(Jin等人,2025)这样的代理框架通过迭代方式解决这些复杂性。然而,此类方法可能会引入效率问题,包括重复检索已处理信息以及在当前生成提示中有效上下文化检索结果的挑战。这些问题可能导致不必要的检索轮次、次优推理、不准确答案和增加的token消耗。在本文中,我们研究了Search-R1流程的测试时修改以缓解这些识别出的不足。具体而言,我们探索了两个组件及其组合:一个上下文模块以更好地整合检索文档中的相关信息到推理中,以及一个去重模块,该模块用下一个最相关文档替换之前检索的文档。我们使用HotpotQA(Yang等人,2018)和Natural Questions(Kwiatkowski等人,2019)数据集评估我们的方法,报告精确匹配(EM)分数、LLM作为判断者的答案正确性评估以及平均轮次数。我们的最佳变体,使用GPT-4.1-mini进行上下文化,相比Search-R1基线,EM分数提高了5.6%,检索次数减少了10.5%,表明答案准确性和检索效率得到改善。

英文摘要:

Retrieval-Augmented Generation (RAG) systems face challenges with complex, multihop questions, and agentic frameworks such as Search-R1 (Jin et al., 2025), which operates iteratively, have been proposed to address these complexities. However, such approaches can introduce inefficiencies, including repetitive retrieval of previously processed information and challenges in contextualizing retrieved results effectively within the current generation prompt. Such issues can lead to unnecessary retrieval turns, suboptimal reasoning, inaccurate answers, and increased token consumption. In this paper, we investigate test-time modifications to the Search-R1 pipeline to mitigate these identified shortcomings. Specifically, we explore the integration of two components and their combination: a contextualization module to better integrate relevant information from retrieved documents into reasoning, and a de-duplication module that replaces previously retrieved documents with the next most relevant ones. We evaluate our approaches using the HotpotQA (Yang et al., 2018) and the Natural Questions (Kwiatkowski et al., 2019) datasets, reporting the exact match (EM) score, an LLM-as-a-Judge assessment of answer correctness, and the average number of turns. Our best-performing variant, utilizing GPT-4.1-mini for contextualization, achieves a 5.6% increase in EM score and reduces the number of turns by 10.5% compared to the Search-R1 baseline, demonstrating improved answer accuracy and retrieval efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑