Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
1. Research problem
Parametric language models store knowledge implicitly in weights, which makes facts hard to update, verify, or attribute to sources.
2. Motivation
The authors wanted to combine a pretrained generator with an external, nonparametric memory that can be swapped or updated without retraining.
3. Previous approaches
Open-domain QA used separate retriever and reader stages; generative models relied purely on memorized parameters.
4. Core contribution
Introduced RAG, which retrieves relevant documents with a dense vector index and conditions a seq2seq generator on them, with retriever and generator trained jointly.
5. Mathematical formulation
p(y|x) = sum over retrieved documents z of p_retriever(z|x) * p_generator(y|x,z); a DPR-style dense retriever uses a Wikipedia index.
6. Methodology
Jointly fine-tune the retriever and BART-style generator with marginal likelihood over retrieved documents, using top-k retrieval per query.
7. Architecture
DPR dense encoder plus a FAISS vector index feeding a BART encoder-decoder generator.
8. Experimental setup
Open-domain QA, fact verification, and question generation.
9. Datasets
Natural Questions, TriviaQA, HotpotQA, FEVER, MS MARCO-style Wikipedia passages.
10. Results
Outperformed parametric-only baselines on knowledge-intensive generation and produced more specific, diverse, and factual outputs with retrievable evidence.
11. Limitations
Quality depends on retriever recall and index freshness; marginalizing over documents is expensive; the generator can still ignore or misread retrieved text.
12. Critical analysis
The canonical retrieval-augmented architecture, now ubiquitous in LLM systems, but it exposes how hard it is to verify whether generation actually follows the evidence.
13. Implementation tasks
- 1.Build a small dense retrieval index and condition a seq2seq model on retrieved passages.
- 2.Compare closed-book and retrieval-augmented generation accuracy on a QA subset.
- 3.Measure how accuracy changes with the number of retrieved passages.
14. Follow-up work
- 1.FiD: Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering (Izacard and Grave, 2020)
- 2.DPR: Dense Passage Retrieval for Open-Domain Question Answering (Karpukhin et al., 2020)
15. Open research questions
- 1.How can we detect when a generator ignores retrieved evidence?
- 2.What is the right way to update a retrieval index without catastrophic forgetting?