Represent and generate
The Transformer supplies the generation backbone, while BERT-style encoders help explain dense representations and semantic retrieval.
RAG paper reading path
Retrieval-Augmented Generation combines knowledge stored in model parameters with external documents that can be retrieved and updated. The original system retrieved Wikipedia passages with DPR and generated answers from the question plus retrieved evidence. It supported knowledge-intensive tasks, but it did not automatically solve bad retrieval, citation accuracy, access control, or production latency.
The Transformer supplies the generation backbone, while BERT-style encoders help explain dense representations and semantic retrieval.
Separate parametric from non-parametric memory, then compare how RAG-Sequence and RAG-Token choose documents.
InstructGPT adds instruction following and ReAct adds tool actions. Modern RAG products often combine all three lines.
This path separates retrieval, generation, alignment, and tool use so later product features are not incorrectly attributed to the original RAG paper.
The Transformer replaced recurrence with attention and became the shared backbone of modern foundation models.
It established bidirectional pre-training followed by task fine-tuning as a general NLP recipe.
It combined parametric memory with retrievable external knowledge, shaping modern knowledge assistants.
It established a practical recipe for aligning language models with human instructions and preferences.
It interleaved reasoning with tool actions, providing a direct blueprint for modern agent loops.
FAQ
Patrick Lewis and colleagues introduced and evaluated the RAG architecture in the 2020 paper Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.
No. Retrieval can return wrong, stale, or irrelevant evidence, and the generator can ignore or misread it. RAG creates an evidence path, not a guarantee.
RAG retrieves external knowledge at inference time and is easier to update. Fine-tuning changes model weights and is usually better for behavior, format, or specialized capabilities. They can be combined.