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

上下文增强检索:一种基于大语言模型快速信息检索响应生成的新框架

Context-augmented Retrieval: A Novel Framework for Fast Information Retrieval based Response Generation using Large Language Model

Sai Ganesh, Anupam Purwar, Gautam B

AI总结:

针对RAG问答系统因语料库增大导致回答质量下降的问题,提出结合经典文本分类与LLM的上下文增强检索(CAR)框架,通过实时分类分区向量数据库实现快速检索并提升生成质量。

摘要:

通过在传递给大语言模型(LLM)的提示词中嵌入上下文信息来持续生成高质量回答,其依赖于信息检索的质量。随着上下文信息语料库的增长,基于检索增强生成(RAG)的问答(QA)系统的回答/推理质量出现下降。本研究通过将经典文本分类与大语言模型(LLM)相结合来解决这一问题,从而实现对向量存储的快速信息检索,并确保检索信息的相关性。为此,本研究提出了一种新方法上下文增强检索(CAR),通过对流入语料库的信息进行实时分类来实现向量数据库的分区。CAR展现了良好的回答生成质量,同时显著减少了信息检索和回答生成的时间。

英文摘要:

Generating high-quality answers consistently by providing contextual information embedded in the prompt passed to the Large Language Model (LLM) is dependent on the quality of information retrieval. As the corpus of contextual information grows, the answer/inference quality of Retrieval Augmented Generation (RAG) based Question Answering (QA) systems declines. This work solves this problem by combining classical text classification with the Large Language Model (LLM) to enable quick information retrieval from the vector store and ensure the relevancy of retrieved information. For the same, this work proposes a new approach Context Augmented retrieval (CAR), where partitioning of vector database by real-time classification of information flowing into the corpus is done. CAR demonstrates good quality answer generation along with significant reduction in information retrieval and answer generation time.

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

↑