Artificial intelligence · May 22, 2020
Giving AI a library it can consult
Retrieval-augmented generation combines document search with language generation.
FOUNDATIONAL PAPER
A language model stores patterns in its parameters, but updating or tracing that knowledge is difficult. Retrieval-augmented generation, or RAG, connects generation to an external collection of text.
How it works
A query retrieves relevant passages from an index. The generator conditions its output on those passages alongside its learned parameters.
The story so far
History of Retrieval-augmented generation
- Earlier approaches
Search and language generation
Search systems retrieve stored documents, while language models generate text from learned patterns. These solve different parts of a knowledge-access problem.
- 2020
Retrieval enters pretraining
REALM explored retrieval during language-model pretraining, showing one way to connect a model with an external collection of information.
- 2020
The RAG formulation
Lewis and colleagues combined a neural retriever with a sequence generator. Their experiments studied knowledge-intensive tasks using passages retrieved from a document index.
Proposed future & open challenges
An outlook, not a promise. Goals depend on evidence, engineering and resources. Reviewed September 27, 2026.
Better evidence selection
Systems can improve how they select, rank and update supporting documents. Evaluation must test whether the retrieved passages actually support each answer, rather than merely sound relevant.
Answers that expose uncertainty
Useful systems should distinguish missing evidence from conflicting evidence and avoid fabricating citations. These are editorial design goals; retrieval alone does not guarantee factual answers.
History & outlook references
Future directions synthesize the cited work with editorial analysis; they are not attributed forecasts or scheduled commitments unless explicitly labelled as a mission plan.
Watch the story unfold
Play the narrated timeline or step through the subtitled milestones at your own pace.
Retrieval-augmented generation: history and possible future
1 / 4 — Earlier approaches — Search and language generation. Search systems retrieve stored documents, while language models generate text from learned patterns. These solve different parts of a knowledge-access problem.
Illustrated chronology, not a time-scale simulation. The final frame is an outlook, not an achieved milestone.
Watch, look & explore
Original media opens on the publisher’s website in a new tab.
A related concept, in motion
AI: retrieve before generating
1 / 4 — A question is submitted.
Conceptual information flow. Retrieved material can still be wrong; source checks remain necessary.
Why it matters
The original study combined a sequence-to-sequence model with retrieved Wikipedia passages and improved performance on knowledge-intensive tasks.
Applications and research directions
- Evidence-linked document question answering.
- Exploring domain-specific knowledge collections.
What remains open
Retrieved text can be irrelevant, incomplete or wrong. A fluent answer and a citation do not guarantee that the cited passage supports the claim.
What to watch next
Evaluate retrieval quality and answer support separately; check whether the evidence actually entails the answer.
Original references
Source review: September 20, 2026. The milestone date above refers to the research or event, not the publication date of this explainer.
Independent, AI-assisted editorial summary. Read our source and media policy.