Cited by 638Topic ModelingInformation Retrieval and Search BehaviorNatural Language Processing Techniques

How Much Knowledge Can You Pack into the Parameters of a Language Model?

Open access
Roberts, Adam, Raffel, Colin, Shazeer, Noam·2020·Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)

Abstract

It has recently been observed that neural language models trained on unstructured text can implicitly store and retrieve knowledge using natural language queries.In this short paper, we measure the practical utility of this approach by fine-tuning pre-trained models to answer questions without access to any external context or knowledge.We show that this approach scales with model size and performs competitively with open-domain systems that explicitly retrieve answers from an external knowledge source when answering questions.To facilitate reproducibility and future work, we release our code and trained models. 1 * Equal contribution.Noam suggested trying T5 on open-domain QA and coded and ran initial experiments on TriviaQA showing improved performance with model size.Adam wrote the code and ran most experiments.Colin set the research scope, wrote the paper, and ran a few experiments.1 https://goo.gle/t5-cbqa

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2020.emnlp-main.437

Cites

12 of 12 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

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?

  • Language models can efficiently query and implicitly store factual knowledge akin to knowledge bases.

    “Language models have been shown to efficiently query and 'implicitly' store factual knowledge akin to knowledge bases [249, 287, 288].”

    From Human-inspired Perspectives: A Survey on AI Long-term Memory (2024) · cites this paper as [249]

    The Abstract says language models can implicitly store and retrieve knowledge through natural-language queries, and §2 Background describes answering factual questions using knowledge stored in model parameters rather than an external knowledge base. The paper does not establish that querying is efficient; §4 Conclusion notes that the largest models can be prohibitively expensive in resource-constrained settings. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Large language models have the ability to retrieve factual knowledge as explicit knowledge bases, presenting an opportunity to construct more comprehensive knowledge graphs within recommender systems.

    “The ability of Large Language Models to retrieve factual knowledge as explicit knowledge bases [53-56, 56-61] has been stirred discussed, which presents an opportunity to construct more comprehensive knowledge graphs within recommender systems.”

    From When large language models meet personalization: perspectives of challenges and opportunities (2024) · cites this paper as [54]

    The Abstract says language models can implicitly store and retrieve knowledge, and the Conclusion reports competitive open-domain question answering without external knowledge. But the paper distinguishes knowledge distributed in model parameters from explicit external knowledge bases; it does not show retrieval from an explicit knowledge base. The proposed use in recommender systems is the citing authors’ inference, not a finding attributed to this source. (LLM, conf=0.87)

    Experimental — accuracy not yet measured
  • Large language models are valued in large part for their semantic memory of facts about the world.

    “Large language models are valued in large part for their semantic memory of facts about the world.”

    From Episodic Memory in AI Agents Poses Risks that Should be Studied and Mitigated (2025) · cites this paper as [66]

    The Abstract says language models can implicitly store and retrieve knowledge, and the Background says pre-training may give them world knowledge. But the Background attributes their popularity to success across many NLP tasks; it does not establish that factual memory is a large part of why they are valued. (LLM, conf=0.84)

    Experimental — accuracy not yet measured
  • Pre-training models on a large corpus results in the model memorizing knowledge in its parameters.

    “Pre-training of models on a large corpus is known to result in the model memorizing knowledge in its parameters [169, 201, 221].”

    From Survey of Hallucination in Natural Language Generation (2023) · cites this paper as [221]

  • Pretrained language models store large amounts of information in their parameters.

    “Pretrained language models encode vast amounts of information in their parameters (Roberts et al., 2020)”

    From Memory Layers at Scale (2024) · cites this paper as Roberts et al., 2020

Self-check

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

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 22

  1. Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. 2013. Semantic parsing on freebase from question-answer pairs. In Proceedings of the 2013 Conference on Empirical Methods in Natural Lan- guage Processing.
  2. Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. 2008. Freebase: a collab- oratively created graph database for structuring hu- man knowledge. In Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, pages 1247-1250.
  3. Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. 2019. BoolQ: Exploring the surprising difficulty of natural yes/no questions. arXiv preprint arXiv:1905.10044. · arXiv
  4. Dheeru Dua, Yizhong Wang, Pradeep Dasigi, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. 2019. Drop: A reading comprehension benchmark re- quiring discrete reasoning over paragraphs. arXiv preprint arXiv:1903.00161. 6 http://t5-trivia.glitch.me/ · arXiv
  5. Thibault Févry, Livio Baldini Soares, Nicholas FitzGerald, Eunsol Choi, and Tom Kwiatkowski. 2020. Entities as experts: Sparse memory ac- cess with entity supervision. arXiv preprint arXiv:2004.07202. · arXiv
  6. Kelvin Guu, Kenton Lee, Zora Tung, Pasupat Panupong, and Ming-Wei Chang. 2020. Realm: Retrieval-augmented language model pre-training. arXiv preprint arXiv:2002.08909. · arXiv
  7. Jeremy Howard and Sebastian Ruder. 2018. Universal language model fine-tuning for text classification. arXiv preprint arXiv:1801.06146. · arXiv
  8. Daniel Khashabi, Snigdha Chaturvedi, Michael Roth, Shyam Upadhyay, and Dan Roth. 2018. Looking beyond the surface: A challenge set for reading com- prehension over multiple sentences. In Proceedings of North American Chapter of the Association for Computational Linguistics (NAACL).
  9. Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. ALBERT: A lite BERT for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942. · arXiv
  10. Jeffrey Ling, Nicholas FitzGerald, Zifei Shan, Livio Baldini Soares, Thibault Févry, David Weiss, and Tom Kwiatkowski. 2020. Learning cross- context entity representations from text. arXiv preprint arXiv:2001.03765. · arXiv
  11. Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. 2018. Can a suit of armor conduct elec- tricity? a new dataset for open book question an- swering. In EMNLP.
  12. Sewon Min, Danqi Chen, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2019a. A discrete hard EM ap- proach for weakly supervised question answering. arXiv preprint arXiv:1909.04849. · arXiv
  13. Sewon Min, Danqi Chen, Luke Zettlemoyer, and Han- naneh Hajishirzi. 2019b. Knowledge guided text retrieval and reading for open domain question an- swering. arXiv preprint arXiv:1911.03868. · arXiv
  14. Lin Pan, Rishav Chakravarti, Anthony Ferritto, Michael Glass, Alfio Gliozzo, Salim Roukos, Radu Florian, and Avirup Sil. 2019. Frustratingly easy natural question answering. arXiv preprint arXiv:1909.05286. · arXiv
  15. Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word rep- resentations. arXiv preprint arXiv:1802.05365. · arXiv
  16. Fabio Petroni, Tim Rocktäschel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, Alexander H Miller, and Se- bastian Riedel. 2019. Language models as knowl- edge bases? arXiv preprint arXiv:1909.01066. · arXiv
  17. Noam Shazeer and Mitchell Stern. 2018. Adafactor: Adaptive learning rates with sublinear memory cost. arXiv preprint arXiv:1804.04235. · arXiv
  18. Alon Talmor, Yanai Elazar, Yoav Goldberg, and Jonathan Berant. 2019. olmpics-on what lan- guage model pre-training captures. arXiv preprint arXiv:1912.13283. · arXiv
  19. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Pro- cessing Systems.
  20. Guillaume Wenzek, Marie-Anne Lachaux, Alexis Con- neau, Vishrav Chaudhary, Francisco Guzman, Ar- mand Joulin, and Edouard Grave. 2019. Ccnet: Ex- tracting high quality monolingual datasets from web crawl data. arXiv preprint arXiv:1911.00359. · arXiv
  21. Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Car- bonell, Ruslan Salakhutdinov, and Quoc V. Le. 2019. XLNet: Generalized autoregressive pretrain- ing for language understanding. arXiv preprint arXiv:1906.08237. · arXiv
  22. Sheng Zhang, Xiaodong Liu, Jingjing Liu, Jianfeng Gao, Kevin Duh, and Benjamin Van Durme. 2018. ReCoRD: Bridging the gap between human and ma- chine commonsense reading comprehension. arXiv preprint arXiv:1810.12885. · arXiv

Cited by

Sorted by citations

Authors
Roberts, A., Raffel, C., & Shazeer, N.
Affiliations
Google (United States) (US)
Venue
Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Published
2020
Pages
5418-5426
OpenAlex
W3008686018
Cited by
638
References
12
Citations by year
2026: 41 · 2025: 62 · 2024: 101 · 2023: 152 · 2022: 102 · 2021: 130 · 2020: 49 · 2019: 1
FWCI
41.35
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
  • Conference on Empirical Methods in Natural Language Processing (EMNLP) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Information Systems › Information Retrieval and Search Behavior
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
neural language models, question answering, fine-tuning, model size scaling, T5, TriviaQA, open-domain question answering, knowledge retrieval

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.

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