Skip to main content
QUICK REVIEW

[Paper Review] When Do You Need Billions of Words of Pretraining Data?

Yian Zhang, Alex Warstadt|arXiv (Cornell University)|Nov 10, 2020
Topic ModelingComputer Science46 references16 citations
TL;DR

This paper investigates how much pretraining data is needed for RoBERTa-style language models to acquire linguistic and downstream NLU capabilities. Using four probing methods on MiniBERTa models pretrained on 1M to 1B words, the study finds that syntactic and semantic features are largely learned by 100M words, while substantial improvements on downstream NLU tasks require billions of words—indicating that commonsense and task-specific knowledge, not just linguistic structure, drive performance gains at scale.

ABSTRACT

NLP is currently dominated by general-purpose pretrained language models like RoBERTa, which achieve strong performance on NLU tasks through pretraining on billions of words. But what exact knowledge or skills do Transformer LMs learn from large-scale pretraining that they cannot learn from less data? We adopt four probing methods---classifier probing, information-theoretic probing, unsupervised relative acceptability judgment, and fine-tuning on NLU tasks---and draw learning curves that track the growth of these different measures of linguistic ability with respect to pretraining data volume using the MiniBERTas, a group of RoBERTa models pretrained on 1M, 10M, 100M and 1B words. We find that LMs require only about 10M or 100M words to learn representations that reliably encode most syntactic and semantic features we test. A much larger quantity of data is needed in order to acquire enough commonsense knowledge and other skills required to master typical downstream NLU tasks. The results suggest that, while the ability to encode linguistic features is almost certainly necessary for language understanding, it is likely that other forms of knowledge are the major drivers of recent improvements in language understanding among large pretrained models.

Motivation & Objective

  • To determine the minimum amount of pretraining data required for language models to learn core linguistic features such as syntax and semantics.
  • To investigate whether large-scale pretraining (billions of words) is necessary for high performance on downstream NLU tasks.
  • To disentangle the contributions of linguistic representation learning versus other knowledge types (e.g., commonsense) in driving performance improvements in large models.
  • To evaluate the relative effectiveness of multiple probing methods in measuring linguistic knowledge acquisition across data scales.
  • To compare model performance across data volumes ranging from 1M to 1B words, including a full-scale RoBERTa model pretrained on ~30B words.

Proposed method

  • Training a suite of RoBERTa models (MiniBERTas) on 1M, 10M, 100M, and 1B words from Wikipedia and Smashwords, with multiple random seeds per size to ensure robustness.
  • Applying four probing methods: (1) classifier probing on the edge probing suite to assess extractable syntactic and semantic features; (2) minimum description length (MDL) probing to measure feature accessibility; (3) unsupervised acceptability judgments on the BLiMP benchmark for syntactic phenomena; and (4) fine-tuning on five SuperGLUE tasks to evaluate downstream NLU performance.
  • Normalizing all probing scores using min-max normalization to a [0,1] range, where 0 is the worst-performing model (e.g., random initialization) and 1 is the best (e.g., RoBERTa BASE).
  • Fitting logistic curves to learning curves to visualize and compare performance growth across data volumes.
  • Using RoBERTa BASE (30B words) as a high-capacity benchmark to compare performance at scale.
  • Analyzing results across multiple probing methods to ensure consistency and avoid overreliance on any single metric.

Experimental results

Research questions

  • RQ1At what data scale do RoBERTa models begin to reliably represent core syntactic and semantic features?
  • RQ2How does performance on downstream NLU tasks (e.g., SuperGLUE) scale with increasing pretraining data volume?
  • RQ3To what extent do linguistic features (e.g., agreement, binding) improve with data beyond 100M words?
  • RQ4Why do models require significantly more data (billions of words) to improve on NLU tasks than to learn linguistic features?
  • RQ5Are the performance gains on NLU tasks driven by linguistic knowledge or by other forms of knowledge such as commonsense or world knowledge?

Key findings

  • Models pretrained on 100M words achieve performance on linguistic probing tasks that is nearly indistinguishable from RoBERTa BASE, which was pretrained on ~30B words.
  • Classifier probing and MDL probing show that syntactic and semantic features are largely acquired by 100M words, with minimal gains beyond that point.
  • Unsupervised acceptability judgments on BLiMP indicate rapid improvement in syntactic knowledge up to 10M words, with diminishing returns beyond 100M words.
  • Downstream NLU performance on SuperGLUE tasks shows substantial improvement only when pretraining data exceeds 100M words, with continued gains up to 1B words.
  • The performance gap between 100M-word models and 30B-word models on SuperGLUE is large, indicating that commonsense and task-specific knowledge require significantly more data than linguistic structure.
  • The results suggest that while linguistic representation is necessary for language understanding, it is not sufficient—other knowledge types are the primary drivers of performance gains at scale.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.