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

自路由RAG:通过知识语言化绑定选择性检索

Self-Routing RAG: Binding Selective Retrieval with Knowledge Verbalization

University of California, Los Angeles(加州大学洛杉矶分校)

Di Wu, Jia-Chen Gu, Kai-Wei Chang, Nanyun Peng

AI总结:

SR-RAG通过将LLM本身作为知识源,实现多源选择性检索,提升效率和准确性。

摘要:

选择性检索旨在通过在LLM参数知识足够时跳过检索,使检索增强生成(RAG)更加高效和可靠。尽管有令人鼓舞的结果,现有方法受到二元设计选择的限制:要么从单一外部来源检索,要么跳过检索让LLM直接生成最终答案。我们认为这种后备机制低估了模型的知识,并掩盖了在实际系统中出现的更一般的多源决策问题。我们提出了自路由RAG(SR-RAG),将选择性检索视为知识源选择,并将LLM本身作为第一类知识源。SR-RAG学习选择适当的知识源,可选地语言化参数知识,并使用选定的源进行回答,所有这些都在单次从左到右的生成过程中完成。SR-RAG进一步通过结合基于LLM的不确定性与灵活的外部策略数据存储来增强源选择,以提高决策校准。在四个基准和三个7B类LLM上,SR-RAG在8.5%/2.1%/4.7%的情况下优于强大的选择性检索基线,同时执行26%/40%/21%更少的检索,并且在无需数据集特定阈值调整的情况下实现了有利的准确率-延迟权衡。

英文摘要:

Selective retrieval aims to make retrieval-augmented generation (RAG) more efficient and reliable by skipping retrieval when an LLM's parametric knowledge suffices. Despite promising results, existing methods are constrained by a binary design choice: either retrieve from a single external source or skip retrieval and let the LLM directly produce the final answer. We argue that this fallback underestimates the model's knowledge and obscures the more general multi-source decision problem that arises in practical systems. We propose Self-Routing RAG (SR-RAG), which casts selective retrieval as knowledge source selection and treats the LLM itself as a first-class knowledge source. SR-RAG learns to select an appropriate knowledge source, optionally verbalize parametric knowledge, and answer using the selected source, all within a single left-to-right generation pass. SR-RAG further augments source selection by combining LLM-based uncertainty with a flexible external policy datastore to improve decision calibration. Across four benchmarks and three 7B-class LLMs, SR-RAG outperforms a strong selective retrieval baseline by 8.5%/2.1%/4.7% while performing 26%/40%/21% fewer retrievals, and it achieves favorable accuracy-latency trade-offs without dataset-specific threshold tuning.

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

↑