arrow
Return

In-Context Retrieval-Augmented Language Models

delete2023-11-13
delete44
delete
OA
AI
O
Ori Ram *
Y
Yoav Levine
I
Itay Dalmedigos
D
Dor Muhlgay
A
Amnon Shashua
K
Kevin Leyton‐Brown
Y
Yoav Shoham
DOI:10.1162/tacl_a_00605delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Retrieval-Augmented Language Modeling (RALM) methods, which condition a language model (LM) on relevant documents from a grounding corpus during generation, were shown to significantly improve language modeling performance. In addition, they can mitigate the problem of factually inaccurate text generation and provide natural source attribution mechanism. Existing RALM approaches focus on modifying the LM architecture in order to facilitate the incorporation of external information, significantly complicating deployment. This paper considers a simple alternative, which we dub In-Context RALM: leaving the LM architecture unchanged and prepending grounding documents to the input, without any further training of the LM. We show that In-Context RALM that builds on off-the-shelf general purpose retrievers provides surprisingly large LM gains across model sizes and diverse corpora. We also demonstrate that the document retrieval and ranking mechanism can be specialized to the RALM setting to further boost performance. We conclude that In-Context RALM has considerable potential to increase the prevalence of LM grounding, particularly in settings where a pretrained LM must be used without modification or even via API access.1

Journal

T
Transactions of the Association for Computational Linguistics
IF:
6.9
Papers:
486
Citations:
5.7K

Organization

No organization information available
Cited Papers

Cited Papers

errShare
errSave
Matrix Effects in the Detection of Pb and Ba in Soils Using Laser-Induced Breakdown Spectroscopy
err1996-09-01
err0
PREAI
errAaron S. Eppler; David A. Cremers; Donald D. Hickmott; Monty J. Ferris; Aaron C. Koskelo
errShare
errSave
Transforming Growth Factor-α mRNA Expression and Its Possible Roles in Mouse Endometrial Stromal Cells
err2012-06-01
err0
PREAI
errTetsuya Maekawa; Atsuko Sakuma; Shusuke Taniuchi; Yuki Ogo; Taisen Iguchi; Sakae Takeuchi; Sumio Takahashi
errShare
errSave
errShare
errSave
Cost-utility and budget impact analysis of drug treatments in pulmonary arterial hypertension associated with congenital heart diseases in Thailand
err2015-12-19
err0
PREAI
errWatsamon Thongsri; Thanaporn Bussabawalai; Pattara Leelahavarong; Suthep Wanitkun; Kritvikrom Durongpisitkul; Usa Chaikledkaew; Yot Teerawattananon
errShare
errSave
researcher View more