CLJan 30, 2023

REPLUG: Retrieval-Augmented Black-Box Language Models

UW
arXiv:2301.12652v4994 citationsh-index: 116
Originality Incremental advance
AI Analysis

This addresses the challenge of enhancing large language models without modifying their internal architecture, making it broadly applicable but incremental in its approach.

The authors tackled the problem of improving black-box language models by introducing REPLUG, a framework that augments them with a tuneable retrieval model, resulting in a 6.3% improvement in language modeling performance for GPT-3 and a 5.1% improvement for Codex on MMLU.

We introduce REPLUG, a retrieval-augmented language modeling framework that treats the language model (LM) as a black box and augments it with a tuneable retrieval model. Unlike prior retrieval-augmented LMs that train language models with special cross attention mechanisms to encode the retrieved text, REPLUG simply prepends retrieved documents to the input for the frozen black-box LM. This simple design can be easily applied to any existing retrieval and language models. Furthermore, we show that the LM can be used to supervise the retrieval model, which can then find documents that help the LM make better predictions. Our experiments demonstrate that REPLUG with the tuned retriever significantly improves the performance of GPT-3 (175B) on language modeling by 6.3%, as well as the performance of Codex on five-shot MMLU by 5.1%.

Code Implementations3 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes