about
More Room for Language: Investigating the Effect of Retrieval on Language Models (arxiv.org)
3 points by PaulHoule on Apr 29, 2024 | hide | past | pdf | discuss on HN

In plain words: They trained language models to look up relevant documents while learning, in a controllable setup, to see how retrieval changes what the model picks up. Retrieved models stored less world knowledge in their weights and handled nearby word links better, but understood whole passages worse.

Abstract

Retrieval-augmented language models pose a promising alternative to standard language modeling. During pretraining, these models search in a corpus of documents for contextually relevant information that could aid the language modeling objective. We introduce an 'ideal retrieval' methodology to study these models in a fully controllable setting. We conduct an extensive evaluation to examine how retrieval augmentation affects the behavior of the underlying language model. Among other things, we observe that these models: i) save substantially less world knowledge in their weights, ii) are better at understanding local context and inter-word dependencies, but iii) are worse at comprehending global context.

David Samuel, Lucas Georges Gabriel Charpentier, Sondre Wold
arXiv:2404.10939 · cs.CL · submitted Apr 16, 2024
abstract · pdf · html · NAACL 2024

add comment on HN