On the Generalization Ability of Retrieval-Enhanced Transformers
Not on the map. Why?
Abstract (arXiv)
Recent work on the Retrieval-Enhanced Transformer (RETRO) model has shown that off-loading memory from trainable weights to a retrieval database can significantly improve language modeling and match the performance of non-retrieval models that are an order of magnitude larger in size. It has been suggested that at least some of this performance gain is due to non-trivial generalization based on both model weights and retrieval. In this paper, we try to better understand the relative contributions of these two components. We find that the performance gains from retrieval largely originate from overlapping tokens between the database and the test data, suggesting less non-trivial generalization than previously assumed. More generally, our results point to the challenges of evaluating the generalization of retrieval-augmented language models such as RETRO, as even limited token overlap may significantly decrease test-time loss. We release our code and model at https://github.com/TobiasNorlund/retro
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 27 references that are in the map. First posted on arXiv 23 Feb 2023.
Builds on
20 of 27 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
8 more
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2019Defending Against Neural Fake Newscited by 553
- 2022A Survey on Retrieval-Augmented Text Generationcited by 157
- 2020The Cost of Training NLP Models: A Concise Overviewcited by 97
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
Built on by
Citing papers per year: 2023: 1; 2024: 3.
4 papers.
- 2024PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-designcited by 28
- 2024Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Modelscited by 10
- 2023Surface-Based Retrieval Reduces Perplexity of Retrieval-Augmented Language Modelscited by 7
- 2024More Room for Language: Investigating the Effect of Retrieval on Language Modelscited by 2
- 2024Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models7 Oct 2024
- 2024More Room for Language: Investigating the Effect of Retrieval on Language Models16 Apr 2024
- 2024PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-design8 Mar 2024
- 2023Surface-Based Retrieval Reduces Perplexity of Retrieval-Augmented Language Models25 May 2023
Similar, not cited
Close in wording, no citation either way
- 2024Retro-li: Small-Scale Retrieval Augmented Generation Supporting Noisy Similarity Searches and Domain Shift Generalization
- 2024GPT vs RETRO: Exploring the Intersection of Retrieval and Parameter-Efficient Fine-Tuning
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretraining
- 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Study
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval
- 2026To Memorize or to Retrieve: Scaling the Interaction Between Pretraining and Retrieval
- 2024Retrieving Examples from Memory for Retrieval Augmented Neural Machine Translation: A Systematic Comparison
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generation