The Web Can Be Your Oyster for Improving Large Language Models

Junyi Li, Tianyi Tang, Wayne Xin Zhao, Jingyuan Wang, Jian-Yun Nie +1 more
5/18/2023
cs.CL

No official code found. Best implementation: RUCAIBox/UniWeb (11 stars, last commit 2023-05-24).

Abstract

Large language models (LLMs) encode a large amount of world knowledge. However, as such knowledge is frozen at the time of model training, the models become static and limited by the training data at that time. In order to further improve the capacity of LLMs for knowledge-intensive tasks, we consider augmenting LLMs with the large-scale web using search engine. Unlike previous augmentation sources (e.g., Wikipedia data dump), the web provides broader, more comprehensive and constantly updated information. In this paper, we present a web-augmented LLM UNIWEB, which is trained over 16 knowledge-intensive tasks in a unified text-to-text format. Instead of simply using the retrieved contents from web, our approach has made two major improvements. Firstly, we propose an adaptive search engine assisted learning method that can self-evaluate the confidence level of LLM's predictions, and adaptively determine when to refer to the web for more data, which can avoid useless or noisy augmentation from web. Secondly, we design a pretraining task, i.e., continual knowledge learning, based on salient spans prediction, to reduce the discrepancy between the encoded and retrieved knowledge. Experiments on a wide range of knowledge-intensive tasks show that our model significantly outperforms previous retrieval-augmented methods.

View on arXivView PDF

Code Implementations(1)

RUCAIBox/UniWebCommunity100%

The official repository for our ACL 2023 Findings paper: The Web Can Be Your Oyster for Improving Language Models

111May 24, 20233 years ago

Similar Papers

Cite this paper

@article{li2023your,
  title  = {The Web Can Be Your Oyster for Improving Large Language Models},
  author = {Junyi Li and Tianyi Tang and Wayne Xin Zhao and Jingyuan Wang and Jian-Yun Nie and Ji-Rong Wen},
  year   = {2023},
  eprint = {2305.10998},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.10998v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.10998.svg)](https://codeofpaper.com/paper/2305.10998)

Discussion