Large Language Models Struggle to Learn Long-Tail Knowledge

By Nikhil Kandpal, H. Deng, Adam Roberts, Eric Wallace, Colin Raffel. 2022

694 citations recorded by the source corpus.

The Internet contains a wealth of knowledge -- from the birthdays of historical figures to tutorials on how to code -- all of which may be learned by language models. However, while certain pieces of information are ubiquitous on the web, others appear extremely rarely. In this paper, we study the relationship between the knowledge memorized by large language models and the information in pre-training datasets scraped from the web. In particular, we show that a language model's ability to answer a fact-based question relates to how many documents associated with that question were seen during pre-training. We identify these relevant documents by entity linking pre-training datasets and counting documents that contain the same entities as a given question-answer pair. Our results demonstrate strong correlational and causal relationships between accuracy and relevant document count for numerous question answering datasets (e.g., TriviaQA), pre-training corpora (e.g., ROOTS), and model sizes (e.g., 176B parameters). Moreover, while larger models are better at learning long-tail knowledge, we estimate that today's models must be scaled by many orders of magnitude to reach competitive QA performance on questions with little support in the pre-training data. Finally, we show that retrieval-augmentation can reduce the dependence on relevant pre-training information, presenting a promising approach for capturing the long-tail.

Subfields: Artificial Intelligence, Information Systems, Large Language Models, Scaling & Learning Theory

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Hannaneh Hajishirzi
  3. Percy Liang
  4. Mohit Bansal
  5. Noah A. Smith
  6. Yejin Choi
  7. Jonathan Berant
  8. Graham Neubig

In Information Systems

  1. Hannaneh Hajishirzi
  2. Luke S. Zettlemoyer
  3. Wen-tau Yih
  4. Daniel Khashabi
  5. Sewon Min
  6. Akari Asai
  7. Danqi Chen
  8. Rajarshi Das

In Large Language Models

  1. Luke S. Zettlemoyer
  2. Hannaneh Hajishirzi
  3. Danqi Chen
  4. Noah A. Smith
  5. Michael Lewis
  6. Daniel Khashabi
  7. Sewon Min
  8. Eric Wallace

In Scaling & Learning Theory

  1. Noah A. Smith
  2. Eric Wallace
  3. Luke S. Zettlemoyer
  4. Florian Tramèr
  5. Nicholas Carlini
  6. Pang Wei Koh
  7. Milad Nasr
  8. Michael Lewis

Citations in the corpus