PreprintCited by 6,151Safety Systems Engineering in AutonomyEthics and Social Impacts of AIAdversarial Robustness in Machine Learning

The DOI matches its DataCite record; 77 of the 77 references it cites were found in a registry or an index; 38 of the 46 sources its claims cite were checked for support.

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

Open access

Abstract

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.

Overview

AI snapshot

Written from the paper’s full text.

TL;DR

RAG combines a pre-trained DPR retriever over a Wikipedia dense index with a BART seq2seq generator, fine-tuned end-to-end by marginalizing over retrieved passages. It sets state of the art on open-domain QA and generates more factual, specific, and diverse text than a parametric-only BART baseline.

Key findings

  • Open-domain QA: RAG-Sequence reaches 44.5 EM on NQ, 56.8/68.0 on TriviaQA, 45.2 on WebQuestions, and 52.2 on CuratedTrec; RAG-Token reaches 44.1, 55.2/66.1, 45.5, and 50.0 respectively. The paper reports RAG sets a new state of the art on all four tasks, with the TQA comparison only on the T5-comparable split.
  • Generation: RAG-Sequence outperforms BART on MS-MARCO by 2.6 BLEU and 2.6 Rouge-L points (44.2 B-1, 40.8 R-L vs. BART’s 41.6, 38.2). On Jeopardy question generation, RAG-Token scores 22.2 Q-BLEU-1 vs. BART’s 19.7; human evaluators found RAG more factual in 42.7% of cases vs. BART in 7.1%, and more specific in 37.4% vs. 16.8%.
  • FEVER: RAG is within 4.3% of state of the art on 3-way classification and within 2.7% on 2-way classification; the top retrieved document is from a gold article in 71% of cases, and a gold article appears in the top 10 retrieved articles in 90% of cases.
  • Index hot-swapping: RAG answers 70% correctly using a 2016 index for 2016 world leaders and 68% using a 2018 index for 2018 world leaders; mismatched indices drop to 12% and 4%.

Methods

  • RAG uses a DPR bi-encoder retriever over a dense Wikipedia index (December 2018 dump, 21M disjoint 100-word chunks, FAISS MIPS) and a BART-large generator with 400M parameters. RAG-Sequence marginalizes the same retrieved document across the whole output; RAG-Token marginalizes a different document per target token.
  • The retriever and generator are jointly fine-tuned without direct supervision on which document should be retrieved; the document encoder and index are kept fixed. Tasks include open-domain QA (NQ, TriviaQA, WebQuestions, CuratedTrec), abstractive QA (MS-MARCO), Jeopardy question generation, and FEVER fact verification.
  • Training uses Fairseq with mixed precision on 8×32GB NVIDIA V100 GPUs; training retrieves k ∈ {5,10} documents, with test-time k tuned on dev data. Evaluation includes comparisons to closed-book and open-book baselines, BART, BM25 and frozen-retriever ablations, human factuality/specificity judgments, and distinct n-gram diversity.

Limitations

  • Stated: MS-MARCO contains questions that cannot be answered without gold passages and some that cannot be answered from Wikipedia alone; FEVER’s evidence-extraction sub-task is not addressed because FEVER uses a different Wikipedia dump; retrieval collapse was observed in preliminary experiments for some tasks such as story generation; null-document mechanisms did not improve performance.
  • Stated: RAG’s retriever is initialized from DPR, which used retrieval supervision on Natural Questions and TriviaQA; joint pre-training of both components from scratch is left to future work.
  • Evident from the text: evaluation is limited to English Wikipedia and the listed datasets, and the broader-impact section notes that Wikipedia may never be entirely factual or free of bias.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2005.11401

Cites

77 of 77 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 4 : Figure 4: Annotation interface for human evaluation of factuality. A pop-out for detailed instructions and a worked example appear when clicking "view tool guide".
Figure 4 : Figure 4: Annotation interface for human evaluation of factuality. A pop-out for detailed instructions and a worked example appear when clicking "view tool guide".From the PDF

Verification

Claims the paper makes

35 Own result · 17 Own interpretation · 11 Supported · 9 Partly supported · 9 No basis given · 3 Own method · 2 Supported so far · 2 Not checked yet · 1 No full text of the sources · accuracy not yet measured

Verify all 2 references — free account

Show all 42 claims

  • It may state two separate claims as one. 28
  • Probably not a substantial claim. 26
47 of 47
  • The paper relies on this without support.

    Pre-trained language models' ability to access and precisely manipulate knowledge is still limited.

    “However, their ability to access and precisely manipulate knowledge is still limited”
  • The paper relies on this without support.

    On knowledge-intensive tasks, pre-trained language models' performance lags behind task-specific architectures.

    “and hence on knowledge-intensive tasks, their performance lags behind task-specific architectures.”
  • The paper relies on this without support.

    Providing provenance for pre-trained language models' decisions remains an open research problem.

    “Additionally, providing provenance for their decisions and updating their world knowledge remain open research problems.”
  • The paper relies on this without support.

    Updating pre-trained language models' world knowledge remains an open research problem.

    “Additionally, providing provenance for their decisions and updating their world knowledge remain open research problems.”
4 of 4

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

1 of 1

Citations

Cites

Show all 59 references

Research works printed but not linked: 4

  1. [18][18] Jiatao Gu, Yong Wang, Kyunghyun Cho, and Victor O.K. Li. Search engine guided neural machine translation. In 32nd AAAI Conference on Artificial Intelligence, AAAI 2018 , 32nd AAAI Conference on Artificial Intelligence, AAAI 2018, pages 5133-5140. AAAI press, 2018. 32nd AAAI Conference on Artificial Intelligence, AAAI 2018 ; Conference date: 02-02-2018 Through 07-02-2018. -
  2. [25][25] Armand Joulin and Tomas Mikolov. Inferring algorithmic patterns with stackaugmented recurrent nets. In Proceedings of the 28th International Conference on Neural Information Processing Systems -Volume 1 , NIPS'15, page 190-198, Cambridge, MA, USA, 2015. MIT Press. URL https://papers.nips.cc/paper/ 5857-inferring-algorithmic-patterns-with-stack-augmented-recurrent-nets . -
  3. [27][27] Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer, and Mike Lewis. Generalization through memorization: Nearest neighbor language models. In International Conference on Learning Representations , 2020. URL https://openreview.net/forum?id=HklBjCEKvH . -
  4. [62][62] Shuohang Wang, Mo Yu, Xiaoxiao Guo, Zhiguo Wang, Tim Klinger, Wei Zhang, Shiyu Chang, Gerry Tesauro, Bowen Zhou, and Jing Jiang. R 3 : Reinforced ranker-reader for open-domain question answering. In Sheila A. McIlraith and Kilian Q. Weinberger, editors, Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018 , pages 5981-5988. AAAI Press, 2018. URL https://www.aaai.org/ocs/index. php/AAAI/AAAI18/paper/view/16712 . -

Cited by

Sorted by citations

Items 201–300 of 6,151

Metadata

Authors
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., Riedel, S., & Kiela, D.
Affiliations
Meta (United Kingdom) (GB)
Venue
arXiv
Publisher
arXiv
Published
2020
ISSN
2331-8422 (ISSN-L)
OpenAlex
W3027879771
Cited by
3,101
References
59
Citations by year
2026: 243 · 2025: 1260 · 2024: 924 · 2023: 318 · 2022: 168 · 2021: 156 · 2020: 31
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Engineering › Safety, Risk, Reliability and Quality › Safety Systems Engineering in Autonomy
  • Physical Sciences › Computer Science › Artificial Intelligence › Ethics and Social Impacts of AI
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
certification framework, retrieval-augmented generation, LLM reliability

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-08, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-08 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review