arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.07820cs.CLcs.IR
收藏

检索增强大语言模型中面向参数化知识精炼的查询优化

Query Optimization for Parametric Knowledge Refinement in Retrieval-Augmented Large Language Models

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Youan Cong, Pritom Saha Akash, Cheng Wang, Kevin Chen-Chuan Chang

AI总结:

本文提出ERRR框架,通过从LLM提取参数化知识并利用可训练的小型查询优化器精炼查询,以低成本提升RAG系统检索准确性与问答性能。

摘要:

我们提出Extract-Refine-Retrieve-Read(ERRR)框架,这是一种新颖的方法,旨在通过针对大语言模型(LLMs)特定知识需求定制的查询优化,弥合检索增强生成(RAG)系统中检索前的信息差距。与RAG中使用的传统查询优化技术不同,ERRR框架首先从LLMs中提取参数化知识,然后使用专门的查询优化器对这些查询进行精炼。这一过程确保只检索对生成准确响应最为关键的信息。此外,为了增强灵活性并降低计算成本,我们为流水线提出了一种可训练方案,该方案使用一个更小的、可调优的模型作为查询优化器,并通过从更大的教师模型进行知识蒸馏来精炼该优化器。我们在多个问答(QA)数据集上并使用不同检索系统进行的评估表明,ERRR始终优于现有基线,证明它是一个通用且成本效益高的模块,能够提升RAG系统的实用性和准确性。

英文摘要:

We introduce the \textit{Extract-Refine-Retrieve-Read} (ERRR) framework, a novel approach designed to bridge the pre-retrieval information gap in Retrieval-Augmented Generation (RAG) systems through query optimization tailored to meet the specific knowledge requirements of Large Language Models (LLMs). Unlike conventional query optimization techniques used in RAG, the ERRR framework begins by extracting parametric knowledge from LLMs, followed by using a specialized query optimizer for refining these queries. This process ensures the retrieval of only the most pertinent information essential for generating accurate responses. Moreover, to enhance flexibility and reduce computational costs, we propose a trainable scheme for our pipeline that utilizes a smaller, tunable model as the query optimizer, which is refined through knowledge distillation from a larger teacher model. Our evaluations on various question-answering (QA) datasets and with different retrieval systems show that ERRR consistently outperforms existing baselines, proving to be a versatile and cost-effective module for improving the utility and accuracy of RAG systems.

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

↑