Table of Contents
Fetching ...

More Room for Language: Investigating the Effect of Retrieval on Language Models

David Samuel, Lucas Georges Gabriel Charpentier, Sondre Wold

TL;DR

An extensive evaluation is conducted to examine how retrieval augmentation affects the behavior of the underlying language model, observing that these models save substantially less world knowledge in their weights and are better at understanding local context and inter-word dependencies, but are worse at comprehending global context.

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.

More Room for Language: Investigating the Effect of Retrieval on Language Models

TL;DR

An extensive evaluation is conducted to examine how retrieval augmentation affects the behavior of the underlying language model, observing that these models save substantially less world knowledge in their weights and are better at understanding local context and inter-word dependencies, but are worse at comprehending global context.

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.