arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19280cs.LGcs.DCcs.IR
收藏

高效联邦搜索用于检索增强生成:使用轻量级路由

Efficient Federated Search for Retrieval-Augmented Generation using Lightweight Routing

EPFL(瑞士联邦理工学院洛桑分校)

Akash Dhasade, Rachid Guerraoui, Anne-Marie Kermarrec, Diana Petrescu, Rafael Pires, Mathis Randl, Martijn de Vos

AI总结:

本文提出RAGRoute,一种轻量级路由机制,通过神经分类器动态选择相关数据源,减少通信开销和端到端延迟,同时保持检索质量,在三个基准测试中实现通信量减少80.65%和延迟减少52.50%。

摘要:

大型语言模型(LLMs)在各领域表现出色,但容易产生幻觉和不一致。检索增强生成(RAG)通过从外部来源检索相关文档来缓解这些问题。在许多现实场景中,相关知识分散在不同组织或机构中,需要联邦搜索机制来聚合异构数据源的结果而不集中数据。我们引入RAGRoute,一种用于RAG系统的联邦搜索轻量级路由机制,通过神经分类器在查询时动态选择相关数据源,避免盲目查询。这种选择性路由减少了通信开销和端到端延迟,同时保持检索质量,在三个基准测试中实现了通信量减少80.65%和延迟减少52.50%,同时保持查询所有源的准确性。

英文摘要:

Large language models (LLMs) achieve remarkable performance across domains but remain prone to hallucinations and inconsistencies. Retrieval-augmented generation (RAG) mitigates these issues by augmenting model inputs with relevant documents retrieved from external sources. In many real-world scenarios, relevant knowledge is fragmented across organizations or institutions, motivating the need for federated search mechanisms that can aggregate results from heterogeneous data sources without centralizing the data. We introduce RAGRoute, a lightweight routing mechanism for federated search in RAG systems that dynamically selects relevant data sources at query time using a neural classifier, avoiding indiscriminate querying. This selective routing reduces communication overhead and end-to-end latency while preserving retrieval quality, achieving up to 80.65% reductions in communication volume and 52.50% reductions in latency across three benchmarks, while matching the accuracy of querying all sources.

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

↑