RETRO conditions generation on chunks retrieved from 2 trillion tokens of web text — matching GPT-3 and Jurassic-1 on the Pile with 25× fewer parameters, and letting you swap its knowledge by swapping the database.
The GPT-3 question RETRO answered: do facts need to live in parameters, or can a database carry them?
RETRO splits the input into 64-token chunks; for each chunk, a frozen BERT retriever fetches K similar chunks from the 2T-token database (ScaNN index). An encoder compresses the retrieved neighbors, and chunked cross-attention lets each output chunk attend to its own retrieved set. Knowledge flows from the database into generation without ever entering the parameters — the model contributes reasoning and style, the database contributes facts.
The parameter-efficiency problem: every fact costs parameters, and facts are the fastest-obsoleting part of a model.
A closed-book GPT-3 is a photographic-memory savant — every fact welded into the synapses at enormous training cost, dated the day training ends. RETRO is a scholar with a library card: modest memory, but 2 trillion pages within reach and a reflex for looking things up mid-sentence. Move the scholar to a law library, and — without re-education — they suddenly know law.
Retriever (frozen) → encoder → cross-attention: three stations, one per 64-token chunk.
The paper's honest ablations — knowing the boundary is the contribution.
On knowledge-intensive and factoid tasks, retrieval's contribution is decisive. But on tasks where the database adds little — pure reasoning over short synthetic patterns, e.g. LAMBADA-style cloze and algorithmic tasks — RETRO's gains fade: the model's own capacity is what matters there. The mapping is the takeaway: retrieval buys facts, parameters buy reasoning, and the optimal architecture mixes both currencies deliberately.
The parameter-efficiency headline, plus the two flexibilities nobody expected.
RETRO's thesis became deployment practice: buy reasoning once, rent facts forever.
Check your understanding of the key concepts from RETRO.
Everything you need to remember about this paper.