arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.19478cs.IR
收藏

面向大语言模型的零索引互联网搜索增强生成

Zero-Indexing Internet Search Augmented Generation for Large Language Models

Guangxin He, Zonghong Dai, Jiangcheng Zhu, Binqiang Zhao, Qicheng Hu, Chenyue Li, You Peng, Chen Wang, Binhang Yuan

AI总结:

本文提出零索引互联网搜索增强生成范式,通过解析器大语言模型、混合排序策略和提取器大语言模型动态整合最新在线信息,显著提升大语言模型生成内容质量并已部署于生产环境。

摘要:

检索增强生成已成为提升大语言模型性能的有效方法。该方法通常依赖内部检索模块,利用多种索引机制管理静态的预处理语料库。然而,当需要在生成推理阶段整合尚未更新到语料库中的最新信息时,这种范式往往力不从心。本文探索了一种替代方案,利用标准搜索引擎 API 动态整合最新在线信息(无需为任何固定语料库维护索引),从而提升生成内容的质量。我们设计了一种基于大语言模型的协作范式,其中包括:(i)一个解析器大语言模型,通过单次推理判断是否需要互联网增强生成,并在需要时提取搜索关键词;(ii)一种混合排序策略,对检索到的 HTML 文件进行重排序,以消除搜索引擎 API 引入的偏差;(iii)一个提取器大语言模型,能够准确高效地从每个 HTML 文件的新鲜内容中提取相关信息。我们进行了广泛的实证研究,以评估这种互联网搜索增强生成范式的性能。实验结果表明,我们的方法生成的内容质量显著提升。我们的系统已成功部署于生产环境,为 01.AI 的生成推理请求提供服务。

英文摘要:

Retrieval augmented generation has emerged as an effective method to enhance large language model performance. This approach typically relies on an internal retrieval module that uses various indexing mechanisms to manage a static pre-processed corpus. However, such a paradigm often falls short when it is necessary to integrate the most up-to-date information that has not been updated into the corpus during generative inference time. In this paper, we explore an alternative approach that leverages standard search engine APIs to dynamically integrate the latest online information (without maintaining any index for any fixed corpus), thereby improving the quality of generated content. We design a collaborative LLM-based paradigm, where we include: (i) a parser-LLM that determines if the Internet augmented generation is demanded and extracts the search keywords if so with a single inference; (ii) a mixed ranking strategy that re-ranks the retrieved HTML files to eliminate bias introduced from the search engine API; and (iii) an extractor-LLM that can accurately and efficiently extract relevant information from the fresh content in each HTML file. We conduct extensive empirical studies to evaluate the performance of this Internet search augmented generation paradigm. The experimental results demonstrate that our method generates content with significantly improved quality. Our system has been successfully deployed in a production environment to serve 01.AI's generative inference requests.

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

↑