On Retrieval Augmentation and the Limitations of Language Model Training
Not on the map. Why?
Abstract (arXiv)
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 remain elusive. In this work, we rule out one previously posited possibility -- the "softmax bottleneck." We then create a new dataset to evaluate LM generalization ability in the setting where training data contains additional information that is not causally relevant. This task is challenging even for GPT-3.5 Turbo. We show that, for both GPT-2 and Mistral 7B, kNN retrieval augmentation consistently improves performance in this setting. Finally, to make kNN retrieval more accessible, we propose using a multi-layer perceptron model that maps datastore keys to values as a drop-in replacement for traditional retrieval. This reduces storage costs by over 25x.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 33 of its 50 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
33 of 50 references.
References · 33
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2016Layer Normalizationcited by 5,579
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
21 more
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2019Green AIcited by 620
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 339
- 2023How Language Model Hallucinations Can Snowballcited by 310
- 2022RealTime QA: What's the Answer Right Now?cited by 239
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2021A Dataset for Answering Time-Sensitive Questionscited by 150
- 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
- 2022Training Language Models with Memory Augmentationcited by 112
- 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2022An Empirical Study of Memorization in NLPcited by 21
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
- 2023How Abstract Is Linguistic Generalization in Large Language Models? Experiments with Argument Structurecited by 13
- 2023What does the Failure to Reason with "Respectively" in Zero/Few-Shot Settings Tell Us about Language Models?cited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.
- 2025Large Language Model Sourcing: A Survey11 Oct 2025
- 2024Pelican Soup Framework: A Theoretical Framework for Language Model Capabilities16 Feb 2024