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

FunnelRAG:一种用于 RAG 的由粗到细渐进式检索范式

FunnelRAG: A Coarse-to-Fine Progressive Retrieval Paradigm for RAG

Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Peking University(北京大学)

Xinping Zhao, Yan Zhong, Zetian Sun, Xinshuo Hu, Zhenyu Liu, Dongfang Li, Baotian Hu, Min Zhang

AI总结:

针对扁平 RAG 检索给单检索器带来负担且粒度恒定限制性能上限的问题,本文提出 FunnelRAG 由粗到细渐进检索范式,在保持相当检索性能的同时将时间开销降低近 40%。

摘要:

检索增强生成(Retrieval-Augmented Generation,RAG)在大语言模型中十分盛行。它主要由检索和生成两部分组成。检索模块(也称为检索器)旨在寻找用于促进生成模块(也称为生成器)的有用信息。因此,生成器的性能在很大程度上取决于检索器的有效性和效率。然而,广泛使用的检索范式仍然是扁平的。它将检索过程视为具有恒定粒度的一次性事务。尽管有效,但我们认为它们存在两个局限:(1)扁平检索给单个检索器带来了显著负担;(2)恒定粒度限制了检索性能的上限。在本工作中,我们提出了一种用于 RAG 的、具有由粗到细粒度的渐进式检索范式,称为 FunnelRAG,以平衡有效性和效率。具体而言,FunnelRAG 通过协同由粗到细的粒度、由多到少的数量以及由低到高的能力,建立了一个渐进式检索流水线,这既可以减轻单个检索器的负担,也可以提升检索性能的上限。大量实验表明,FunnelRAG 取得了相当的检索性能,同时时间开销降低了近 40%。

英文摘要:

Retrieval-Augmented Generation (RAG) prevails in Large Language Models. It mainly consists of retrieval and generation. The retrieval modules (a.k.a. retrievers) aim to find useful information used to facilitate the generation modules (a.k.a. generators). As such, generators' performance largely depends on the effectiveness and efficiency of retrievers. However, the widely used retrieval paradigm remains flat. It treats retrieval procedures as a one-off deal with constant granularity. Despite effectiveness, we argue that they suffer from two limitations: (1) flat retrieval exerts a significant burden on one retriever; (2) constant granularity limits the ceiling of retrieval performance. In this work, we propose a progressive retrieval paradigm with coarse-to-fine granularity for RAG, termed FunnelRAG, so as to balance effectiveness and efficiency. Specifically, FunnelRAG establishes a progressive retrieval pipeline by collaborating coarse-to-fine granularity, large-to-small quantity, and low-to-high capacity, which can relieve the burden on one retriever and also promote the ceiling of retrieval performance. Extensive experiments manifest that FunnelRAG achieves comparable retrieval performance while the time overhead is reduced by nearly 40 percent.

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

↑