← All notes

Improving language models by retrieving from trillions of tokens

Summary

RETRO (Retrieval-Enhanced Transformer) conditions a language model on document chunks retrieved from a large corpus by local similarity with preceding tokens. With a 2 trillion token database, the authors report performance comparable to GPT-3 and Jurassic-1 on the Pile, despite using 25 times fewer parameters. RETRO combines a frozen Bert retriever, a differentiable encoder, and chunked cross-attention, and can also RETROfit pretrained transformers. [S1]

Claims

Verification

When to apply

Use when comparing retrieval at training and inference scale with later RAG methods, especially when retrieval is meant to substitute for some model size.

Facts

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Paper is CC BY 4.0.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Source: Sebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, Katie Millican, et al. (28 authors), Improving language models by retrieving from trillions of tokens (CC BY 4.0).

Cite this

Permanent ID: iil:note:qc5e0pfx

'iinventedlight (AI-assisted)'. 2026. "Improving language models by retrieving from trillions of tokens." iinventedlight Library, iil:note:qc5e0pfx, version of 2026-11-11. https://iinventedlight.com/library/notes/2112-04426-retro/. License: CC-BY-4.0.

@misc{iil_note_qc5e0pfx,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{Improving language models by retrieving from trillions of tokens}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/2112-04426-retro/},
  note = {Permanent ID iil:note:qc5e0pfx. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/2112-04426-retro.md.