Zero-Indexing Internet Search Augmented Generation for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: He, Guangxin, Dai, Zonghong, Zhu, Jiangcheng, Zhao, Binqiang, Hu, Qicheng, Li, Chenyue, Peng, You, Wang, Chen, Yuan, Binhang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909443301572608
author He, Guangxin
Dai, Zonghong
Zhu, Jiangcheng
Zhao, Binqiang
Hu, Qicheng
Li, Chenyue
Peng, You
Wang, Chen
Yuan, Binhang
author_facet He, Guangxin
Dai, Zonghong
Zhu, Jiangcheng
Zhao, Binqiang
Hu, Qicheng
Li, Chenyue
Peng, You
Wang, Chen
Yuan, Binhang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_19478
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Zero-Indexing Internet Search Augmented Generation for Large Language Models
He, Guangxin
Dai, Zonghong
Zhu, Jiangcheng
Zhao, Binqiang
Hu, Qicheng
Li, Chenyue
Peng, You
Wang, Chen
Yuan, Binhang
Information Retrieval
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.
title Zero-Indexing Internet Search Augmented Generation for Large Language Models
topic Information Retrieval
url https://arxiv.org/abs/2411.19478