arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07297cs.IRcs.AI
收藏

RAG中检索的渐进搜索

Progressive Searching for Retrieval in RAG

San Jose State University(圣何塞州立大学)

Taehee Jeong, Xingzhe Zhao, Peizu Li, Markus Valvur, Weihua Zhao

AI总结:

RAG中提出渐进搜索算法,通过分层搜索逐步优化候选集,实现高效准确的检索,平衡维度、速度和精度,提升大规模数据库的检索性能。

摘要:

检索增强生成(RAG)是一种有前景的技术,用于缓解大型语言模型(LLMs)的两个关键限制:信息过时和幻觉。RAG系统将文档存储为嵌入向量在数据库中。给定一个查询,执行搜索以找到最相关的文档。然后,最匹配的文档被插入到LLM的提示中以生成响应。高效且准确的搜索对于RAG获取相关信息至关重要。我们提出了一种成本效益高的搜索算法用于检索过程。我们的渐进搜索算法通过一系列搜索层次逐步细化候选集,从低维嵌入开始,逐步进入更高、目标维度。这种多阶段方法在减少检索时间的同时保持了所需的准确性。我们的发现表明,RAG系统中的渐进搜索在维度、速度和准确性之间取得平衡,即使对于大规模数据库也能实现可扩展的高性能检索。

英文摘要:

Retrieval Augmented Generation (RAG) is a promising technique for mitigating two key limitations of large language models (LLMs): outdated information and hallucinations. RAG system stores documents as embedding vectors in a database. Given a query, search is executed to find the most related documents. Then, the topmost matching documents are inserted into LLMs' prompt to generate a response. Efficient and accurate searching is critical for RAG to get relevant information. We propose a cost-effective searching algorithm for retrieval process. Our progressive searching algorithm incrementally refines the candidate set through a hierarchy of searches, starting from low-dimensional embeddings and progressing into a higher, target-dimensionality. This multi-stage approach reduces retrieval time while preserving the desired accuracy. Our findings demonstrate that progressive search in RAG systems achieves a balance between dimensionality, speed, and accuracy, enabling scalable and high-performance retrieval even for large databases.

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

↑