arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.07396cs.CL
收藏

面向 RAG 的最优搜索与检索

Toward Optimal Search and Retrieval for RAG

University of Colorado Boulder(科罗拉多大学博尔德分校);Intel Labs(英特尔实验室)

Alexandria Leto, Cecilia Aguerrebere, Ishwar Bhati, Ted Willke, Mariano Tepper, Vy Ai Vo

AI总结:

本文研究如何优化RAG流水线中的检索器,通过问答和归因问答实验揭示了检索与RAG性能的关系,发现降低搜索精度对性能影响小但能提升检索速度和内存效率。

摘要:

检索增强生成(RAG)是解决大型语言模型(LLMs)相关记忆挑战的一种有前景的方法。RAG 流水线由检索器和阅读器两个独立系统组成,各自对下游任务性能的影响尚不清楚。在此,我们致力于理解如何针对问答(QA)等常见任务优化 RAG 流水线的检索器。我们进行了实验,重点研究 QA 和归因 QA 中检索与 RAG 性能之间的关系,并揭示了一些对开发高性能 RAG 流水线的从业者有用的见解。例如,降低搜索精度对 RAG 性能的影响较小,同时可能提高检索速度和内存效率。

英文摘要:

Retrieval-augmented generation (RAG) is a promising method for addressing some of the memory-related challenges associated with Large Language Models (LLMs). Two separate systems form the RAG pipeline, the retriever and the reader, and the impact of each on downstream task performance is not well-understood. Here, we work towards the goal of understanding how retrievers can be optimized for RAG pipelines for common tasks such as Question Answering (QA). We conduct experiments focused on the relationship between retrieval and RAG performance on QA and attributed QA and unveil a number of insights useful to practitioners developing high-performance RAG pipelines. For example, lowering search accuracy has minor implications for RAG performance while potentially increasing retrieval speed and memory efficiency.

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

↑