NLP Lineage

8 December 2021 · Language modelling

RETRO

Improving Language Models by Retrieving from Trillions of Tokens

S. Borgeaud, A. Mensch, J. Hoffmann, et al. (28 authors)

Date
8 December 2021
What the date marks
arXiv submission
Kind
Research paper
Organisation
DeepMind
Access
Not applicable
Other dates
ICML 2022
Threads
In the guided tour
Chapter 10. Reading more than you remember
Learning phases
4. Embeddings and RAG

Notable: no later milestone in the data is documented as descending from it. How levels are decided

Full summary in progress. Until then, this page shows the milestone's record from the research data.

What it changed

Before it

Retrieval was bolted on at inference time to a model trained without it.

The problem

If a model can look things up, it should not have to memorise them in its weights.

What it introduced

Retrieve from a two-trillion-token database during pretraining itself, via chunked cross-attention.

Why it matters

It showed a 7B model with retrieval matching much larger ones, arguing memory and reasoning can be separated.

What modern models inherit

The open question of what belongs in weights versus in an external store.

What came next

The idea recurs in long-context and memory work, though frontier labs largely chose bigger contexts instead.

Before and after

The milestones it descends from, and the milestones that descend from it. Work developed alongside it is not counted. Weak links are left out unless you include them.

Before: where it came from

RETRO has 24 documented ancestors across 5 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 6 turning points among them.

RETRO has 24 documented ancestors across 5 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

RETRO has 25 recorded ancestors, including indirect ones, across 5 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 6 turning points among them.

RETRO has 25 recorded ancestors, including indirect ones, across 5 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

  1. 2021RETROThis milestone.
  2. 2020RAGRETRO was influenced by thisChapter 10. Reading more than you remember
  3. 2020Dense retrievalRETRO was influenced by thisChapter 10. Reading more than you remember
  4. 2019BARTRAG built directly on thisChapter 4. Pretrain once, use everywhere
  5. 2018BERT Turning pointDense retrieval built directly on thisChapter 4. Pretrain once, use everywhere
  6. 2018GPT-1BERT was influenced by thisChapter 4. Pretrain once, use everywhere
  7. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  8. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  9. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  10. 2017Transformer Turning pointBERT built directly on thisChapter 3. Attention, then only attention
  11. 2017FAISSDense retrieval was influenced by this
    RAG was influenced by this
    Chapter 10. Reading more than you remember
  12. 2016Layer normTransformer built directly on thisChapter 3. Attention, then only attention
  13. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  14. 2015LM pretraining Turning pointBERT was influenced by thisChapter 2. Words become vectors
  15. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  16. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  17. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  18. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  19. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  20. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  21. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  22. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  23. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  24. 1997LSTM Turning pointELMo built directly on thisChapter 1. Language as probability
  25. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability
  1. 2021RETROThis milestone.
  2. 2020RAGRETRO was influenced by thisChapter 10. Reading more than you remember
  3. 2020Dense retrievalRETRO was influenced by thisChapter 10. Reading more than you remember
  4. 2019BARTRAG built directly on thisChapter 4. Pretrain once, use everywhere
  5. 2018BERT Turning pointDense retrieval built directly on thisChapter 4. Pretrain once, use everywhere
  6. 2018GPT-1BERT was influenced by thisChapter 4. Pretrain once, use everywhere
  7. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  8. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  9. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  10. 2017Transformer Turning pointBERT built directly on thisChapter 3. Attention, then only attention
  11. 2017ConvS2STransformer was influenced by this (indirect influence)Chapter 3. Attention, then only attention
  12. 2017FAISSDense retrieval was influenced by this
    RAG was influenced by this
    Chapter 10. Reading more than you remember
  13. 2016Layer normTransformer built directly on thisChapter 3. Attention, then only attention
  14. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  15. 2015LM pretraining Turning pointBERT was influenced by thisChapter 2. Words become vectors
  16. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  17. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  18. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  19. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  20. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  21. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  22. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  23. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  24. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  25. 1997LSTM Turning pointELMo built directly on thisChapter 1. Language as probability
  26. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability

After: what it led to

No documented descendants are recorded for RETRO without weak links.

No documented descendants are recorded for RETRO without weak links.

No recorded descendants are recorded for RETRO.

No recorded descendants are recorded for RETRO.

Direct links and their sources

Where it came from

Influenced by

What it led to

None recorded in the sources used.