arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.07220cs.IRcs.AIcs.CL
收藏

混合RAG:利用语义搜索与基于混合查询的检索器提升RAG(检索增强生成)准确性

Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrievers

IBM(国际商业机器公司)

Kunal Sawarkar, Abhilasha Mangal, Shivam Raj Solanki

AI总结:

本文提出Blended RAG方法,通过融合稠密向量索引、稀疏编码器索引与混合查询策略提升检索准确性,在NQ、TREC-COVID及SQUAD等数据集上取得优于微调的效果。

摘要:

检索增强生成(RAG)是一种将私有文档知识库与大型语言模型(LLM)相结合以构建生成式问答(Q&A)系统的流行方法。然而,随着文档语料库规模扩大,RAG准确性面临越来越大的挑战,检索器通过从语料库中提取最相关的文档为LLM提供上下文,在整体RAG准确性中发挥着重要作用。本文提出了“Blended RAG”方法,利用语义搜索技术,如Dense Vector索引和Sparse Encoder索引,并与混合查询策略相结合。我们的研究取得了更好的检索结果,并在NQ和TREC-COVID等信息检索(IR)数据集上设立了新的基准。我们进一步将这种“Blended Retriever”扩展到RAG系统中,在SQUAD等生成式问答数据集上展示了显著优越的结果,甚至超越了微调性能。

英文摘要:

Retrieval-Augmented Generation (RAG) is a prevalent approach to infuse a private knowledge base of documents with Large Language Models (LLM) to build Generative Q\&A (Question-Answering) systems. However, RAG accuracy becomes increasingly challenging as the corpus of documents scales up, with Retrievers playing an outsized role in the overall RAG accuracy by extracting the most relevant document from the corpus to provide context to the LLM. In this paper, we propose the 'Blended RAG' method of leveraging semantic search techniques, such as Dense Vector indexes and Sparse Encoder indexes, blended with hybrid query strategies. Our study achieves better retrieval results and sets new benchmarks for IR (Information Retrieval) datasets like NQ and TREC-COVID datasets. We further extend such a 'Blended Retriever' to the RAG system to demonstrate far superior results on Generative Q\&A datasets like SQUAD, even surpassing fine-tuning performance.

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

↑