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

DR-RAG:将动态文档相关性应用于问答的检索增强生成

DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answering

Li Auto Inc.(理想汽车);Sun Yat-sen University(中山大学);Northeastern University(东北大学);Sichuan University(四川大学)

Zijian Hei, Weiling Liu, Wenjie Ou, Juyi Qiao, Junming Jiao, Guowen Song, Ting Tian, Yi Lin

AI总结:

针对RAG单次检索不可靠且多次调用LLM效率低的问题,提出两阶段DR-RAG框架,利用文档与查询的动态相关性及紧凑分类器提升多跳问答检索召回与答案准确率。

摘要:

检索增强生成(Retrieval-Augmented Generation,RAG)近期展示了大型语言模型(Large Language Models,LLMs)在问答(Question-Answering,QA)等知识密集型任务中的性能。RAG通过纳入外部知识库来扩展查询上下文,以提高回答准确性。然而,针对每个查询多次访问LLMs效率较低,而仅凭单次查询检索所有相关文档也不可靠。我们发现,尽管某些关键文档与查询之间的相关性较低,但通过将部分文档与查询相结合,仍有可能检索到其余文档。为挖掘这种相关性,本文提出一种名为动态相关检索增强生成(Dynamic-Relevant Retrieval-Augmented Generation,DR-RAG)的两阶段检索框架,以在保持效率的同时提高文档检索召回率和答案准确性。此外,本文将一个紧凑分类器应用于两种不同的选择策略,以确定检索到的文档对回答查询的贡献,并检索相对相关的文档。同时,DR-RAG仅调用LLMs一次,显著提高了实验效率。在多跳QA数据集上的实验结果表明,DR-RAG能够显著提高答案准确性,并在QA系统中取得新的进展。

英文摘要:

Retrieval-Augmented Generation (RAG) has recently demonstrated the performance of Large Language Models (LLMs) in the knowledge-intensive tasks such as Question-Answering (QA). RAG expands the query context by incorporating external knowledge bases to enhance the response accuracy. However, it would be inefficient to access LLMs multiple times for each query and unreliable to retrieve all the relevant documents by a single query. We have found that even though there is low relevance between some critical documents and query, it is possible to retrieve the remaining documents by combining parts of the documents with the query. To mine the relevance, a two-stage retrieval framework called Dynamic-Relevant Retrieval-Augmented Generation (DR-RAG) is proposed to improve document retrieval recall and the accuracy of answers while maintaining efficiency. Additionally, a compact classifier is applied to two different selection strategies to determine the contribution of the retrieved documents to answering the query and retrieve the relatively relevant documents. Meanwhile, DR-RAG call the LLMs only once, which significantly improves the efficiency of the experiment. The experimental results on multi-hop QA datasets show that DR-RAG can significantly improve the accuracy of the answers and achieve new progress in QA systems.

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

↑