On Retrieval Augmentation and the Limitations of Language Model Training

Abstract

Augmenting a language model (LM) with k-nearest neighbors (kNN) retrieval on its training data alone can decrease its perplexity, though the underlying reasons for this remains elusive. In this work, we first rule out one previously posited possibility – the ‘softmax bottleneck.’ We further identify the MLP hurdle phenomenon, where the final MLP layer in LMs may impede LM optimization early on. We explore memorization and generalization in language models with two new datasets, where advanced model like GPT-3.5-turbo find generalizing to irrelevant information in the training data challenging. However, incorporating kNN retrieval to vanilla GPT-2 117M can consistently improve performance in this setting.

Isabelle Lee
Isabelle Lee
PhD Student

2nd year PhD student at USC, interested in Emergence, Interpretability, and Reasoning.