Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Ethan Perez
Faculty Researcher · NYU Stern School of Business
Open-access research dispatch from NYU Stern School of Business, indexed under AI & Foundation Models (21,087 peer citations).
Large pre-trained language models have been shown to store factual knowledge in their parameters, and achieve state-of-the-art results when fine-tuned on downstream NLP tasks. However, their ability to access and precisely manipulate knowledge is still limited, and hence on knowledge-intensive tasks, their performance lags behind task-specific architectures. Additionally, providing provenance for their decisions and updating their world knowledge remain open research problems.
Pre-trained models with a differentiable access mechanism to explicit non-parametric memory can overcome this issue, but have so far been only investigated for extractive downstream tasks. We explore a general-purpose fine-tuning recipe for retrieval-augmented generation (RAG) -- models which combine pre-trained parametric and non-parametric memory for language generation. We introduce RAG models where the parametric memory is a pre-trained seq2seq model and the non-parametric memory is a dense vector index of Wikipedia, accessed with a pre-trained neural retriever.
We compare two RAG formulations, one which conditions on the same retrieved passages across the whole generated sequence, the other can use different passages per token. We fine-tune and evaluate our models on a wide range of knowledge-intensive NLP tasks and set the state-of-the-art on three open domain QA tasks, outperforming parametric seq2seq models and task-specific retrieve-and-extract architectures. For language generation tasks, we find that RAG models generate more specific, diverse and factual language than a state-of-the-art parametric-only seq2seq baseline.
Originally published at neural information processing systems
By Ethan Perez (NYU Stern School of Business) · 2020-05-22 · CC-BY.
Add a Worked Example, Practitioner Field Note, or Counter-Thesis
More from NYU Stern School of Business & Related Topics
All 46 works from NYU Stern School of Business →Discovering the systematic errors made by machine learning models
Discovering systematic errors with cross-modal embeddings In this blog post, we introduce Domino, a new approach for discovering systematic errors made by…
BAIR at CoRL 2026
The Conference on Robot Learning (CoRL) takes place November 9–12, 2026, in Austin, Texas. BAIR faculty, postdocs and students will be presenting research…
How Alan Greenspan’s stint as President Ford’s top economic adviser cemented his passion for public service and prepared him to lead the Fed
The Fed chair who served under five US presidents was more practical and less ideological than his detractors claimed.
Trump Fed pick Kevin Warsh could shake up the central bank with his ‘family fight’ model
The US Federal Reserve has never before been this transparent about its policymaking process − but that might not be a good thing.