mlsanityData to 7 Oct 2026

On Retrieval Augmentation and the Limitations of Language Model Training

arXiv 2311.09615 ↗First posted 16 Nov 2023cs.CLcited by 2

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2016Layer Normalizationcited by 5,579
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  8. 2019Language Models as Knowledge Bases?cited by 1,922
  9. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  10. 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
  11. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  12. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
21 more
  1. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  2. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  3. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  4. 2019Green AIcited by 620
  5. 2021Editing Factual Knowledge in Language Modelscited by 548
  6. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  7. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  8. 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 339
  9. 2023How Language Model Hallucinations Can Snowballcited by 310
  10. 2022RealTime QA: What's the Answer Right Now?cited by 239
  11. 2022Exploring Length Generalization in Large Language Modelscited by 204
  12. 2021A Dataset for Answering Time-Sensitive Questionscited by 150
  13. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
  14. 2022Training Language Models with Memory Augmentationcited by 112
  15. 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
  16. 2021Adaptive Semiparametric Language Modelscited by 83
  17. 2023Why do Nearest Neighbor Language Models Work?cited by 29
  18. 2022An Empirical Study of Memorization in NLPcited by 21
  19. 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
  20. 2023How Abstract Is Linguistic Generalization in Large Language Models? Experiments with Argument Structurecited by 13
  21. 2023What does the Failure to Reason with "Respectively" in Zero/Few-Shot Settings Tell Us about Language Models?cited by 2

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 1.

2 papers.