---
title: Retrieval-Augmented Generation (2020): looking facts up first
url: https://llmsranked.com/history/retrieval-augmented-generation/
updated: 2026-11-20
---

Method· [Scaling up](https://llmsranked.com/history/#era-scale)

# Retrieval-Augmented Generation (2020): looking facts up first

Event date 22 May 2020

Patrick Lewis and colleagues proposed retrieval-augmented generation, usually shortened to RAG. A generator model reads passages fetched by a trained retriever before it answers, so that knowledge can be looked up rather than stored only in the model's weights.

- [Facebook AI Research](https://llmsranked.com/providers/meta/)
- [LLMs Ranked editors](https://llmsranked.com/editorial-policy/)
- Published 20 Nov 2026
- 2 min read
- 1 sources

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

2020

On this page

- [Key numbers](#kn-h)
- [The problem it addressed](#the-problem-it-addressed)
- [How RAG works](#how-rag-works)
- [Results and what followed](#results-and-what-followed)
- [Why it mattered](#wm-h)
- [Questions](#hf-h)
- [On the timeline](#tl-h)
- [Sources](#hsrc-h)

## Key numbers

**Open domain QA tasks where RAG set a new best result, per the authors**
3[arxiv.org](https://arxiv.org/abs/2005.11401)

**arXiv v1 submission date**
22 May 2020[arxiv.org](https://arxiv.org/abs/2005.11401)

## The problem it addressed

Large pretrained language models keep factual knowledge inside their parameters. The paper points out that this makes it hard to access that knowledge precisely, hard to show where an answer came from, and hard to update the model when facts change. As a result, such models lagged behind task specific systems on knowledge intensive tasks.

Earlier work had added retrievable memory to models, but only for extractive tasks, where the answer is a span copied from a document. The authors framed the goal as giving a model differentiable access to explicit memory, so that retrieval and generation could be trained together.

Sources: [arxiv.org](https://arxiv.org/abs/2005.11401)

## How RAG works

RAG combines two parts. The parametric memory is a pretrained sequence to sequence model, which writes the answer. The non-parametric memory is a dense vector index of Wikipedia, searched by a pretrained neural retriever. Given a question, the retriever finds relevant passages and the generator conditions on them while producing text.

The authors compared two variants. One uses the same retrieved passages for the whole output. The other can draw on different passages for each token it generates. A pretrained neural retriever scores passages from the index against the question, which means the knowledge base can be swapped or refreshed independently of the generator.

Sources: [arxiv.org](https://arxiv.org/abs/2005.11401)

## Results and what followed

The paper reported state of the art results on three open domain question answering tasks, ahead of parametric only sequence to sequence models and of task specific retrieve and extract systems. On language generation tasks, its output was judged more specific, diverse and factual than a parametric only baseline. The work was accepted at NeurIPS 2020.

The pattern of fetching documents and placing them in the model's input became a standard way to ground answers in current or private data. Modern systems typically use a vector database and embeddings for the retrieval step, and many add reranking or hybrid search. The paper's own evaluation covered both question answering and language generation, so the method was tested as a general text generator and not only as a search tool.

Sources: [arxiv.org](https://arxiv.org/abs/2005.11401)

## Why it mattered

- It separated what a model knows how to do from what it knows, so facts could be updated by changing an index instead of retraining.
- It gave answers a visible source, which supports citation and checking.
- It named a pattern that later products used to reduce hallucination and to connect models to company documents.

## Questions

What is retrieval-augmented generation? It is a method in which a model first retrieves relevant passages from an external collection and then generates an answer using them. The term comes from a 2020 paper by Patrick Lewis and colleagues.

Who invented RAG? The paper that introduced the term was written by Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni and eight co-authors, and was posted to arXiv on 22 May 2020.

Why is RAG used? The authors framed it as a way to give a model precise access to knowledge, to provide provenance for outputs and to make knowledge easier to update.

## About this page

Part of our [LLM history timeline](https://llmsranked.com/history/). The event happened on 22 May 2020; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our [editorial policy](https://llmsranked.com/editorial-policy/). Found an error? [Tell us](https://llmsranked.com/contact/) and we will correct it with a dated note.

## On the timeline

[Earlier23 Jan 2020
Scaling Laws (2020): how language model loss falls with scale](https://llmsranked.com/history/scaling-laws/)[Later28 May 2020
GPT-3 (2020): a 175 billion parameter few-shot learner](https://llmsranked.com/history/gpt-3/)

### Related milestones

- [2020 · 05GPT-3 (2020): a 175 billion parameter few-shot learner](https://llmsranked.com/history/gpt-3/)
- [2019 · 10T5 (2019): a text to text Transformer and the C4 dataset](https://llmsranked.com/history/t5/)
- [2018 · 10BERT (2018): bidirectional Transformers for language](https://llmsranked.com/history/bert/)
- [2022 · 11ChatGPT (2022): the chatbot that reached the mainstream](https://llmsranked.com/history/chatgpt/)

## Terms and labs

- [Retrieval-augmented generation](https://llmsranked.com/glossary/#retrieval-augmented-generation)
- [Embedding](https://llmsranked.com/glossary/#embedding)
- [Vector database](https://llmsranked.com/glossary/#vector-database)
- [Grounding](https://llmsranked.com/glossary/#grounding)
- [Meta models](https://llmsranked.com/providers/meta/)

## Sources

Papers and announcements we read for this page.

- [Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv)](https://arxiv.org/abs/2005.11401)
