BLiMP: The Benchmark of Linguistic Minimal Pairs for English

Alex Warstadt, Alicia Parrish, Haokun Liu, Anhad Mohananey, Wei Peng, Sheng-Fu Wang, Samuel R. Bowman

TL;DR

This paper introduces BLiMP, a new benchmark designed to rigorously evaluate the linguistic knowledge of language models (LMs) by testing them on minimal pairs of sentences that differ in grammatical acceptability. BLiMP reveals that while state-of-the-art LMs excel at certain grammatical phenomena like agreement, they still struggle with more subtle semantic and syntactic contrasts, highlighting areas for future research and development.

What Problem Does This Paper Address?

Modern language models (LMs) are trained on vast amounts of text, leading to impressive performance on many natural language processing tasks. However, it remains an open question how much genuine linguistic knowledge these models acquire. Previous attempts to probe this knowledge often relied on different metrics and focused on a limited set of linguistic phenomena, making it difficult to draw broad conclusions. The authors aim to address this by creating a comprehensive and linguistically-motivated benchmark that can systematically assess LMs' understanding of a wide range of English grammatical contrasts.

Methods

The core of BLiMP is its methodology for generating minimal pairs. The authors created linguist-crafted grammar templates that define specific linguistic phenomena. These templates were then used to automatically generate 1,000 minimal pairs for each of 67 individual datasets. A minimal pair consists of two sentences that are identical except for a single change that affects grammatical acceptability, thereby isolating a specific linguistic contrast. Human annotators validated these generated pairs, achieving a high agreement rate of 96.4%. The evaluation of LMs involves presenting them with these minimal pairs and observing whether they assign a higher probability to the grammatically acceptable sentence. This "forced-choice" task allows for a direct assessment of the LM's linguistic sensitivity.

Datasets

The primary contribution of this paper is the introduction of the BLiMP (Benchmark of Linguistic Minimal Pairs) dataset. BLiMP comprises 67 individual datasets, each containing 1,000 minimal pairs, covering 12 broad categories of linguistic phenomena in English. These phenomena include:

  • Anaphora Agreement: Reflexive pronouns agreeing with antecedents.
  • Argument Structure: Verbs appearing with different argument types.
  • Binding: Structural relationships between pronouns and antecedents.
  • Control/Raising: Syntactic and semantic differences in embedded VPs.
  • Determiner-Noun Agreement: Number agreement between determiners and nouns.
  • Ellipsis: Omission of expressions from sentences.
  • Filler-Gap: Dependencies arising from phrasal movement (e.g., wh-questions).
  • Irregular Forms: Irregular morphology on past participles.
  • Island Effects: Restrictions on syntactic environments where gaps can occur.
  • NPI Licensing: Distribution of negative polarity items.
  • Quantifiers: Restrictions on quantifier distribution.
  • Subject-Verb Agreement: Agreement between subjects and present tense verbs.

The authors also used existing datasets for training and evaluating their models, such as the WebText dataset for GPT-2 and WikiText-103 for Transformer-XL.

Key Insights and Ideas

  • Linguistic Phenomena are Not Equally Learned: LMs show vastly different levels of proficiency across various grammatical categories. Agreement phenomena are generally well-understood, while island effects and argument structure remain significant challenges.
  • Data Size Matters, But Not Exclusively: While larger training datasets (like GPT-2's WebText) lead to better performance, the quality and diversity of the data are crucial. Transformer-XL, trained on a similar amount of data as the LSTM, performs comparably, suggesting architecture and data distribution play key roles.
  • Sub-word Information is Key for Irregularity: Models that leverage sub-word information (like GPT-2 and Transformer-XL) are much better at handling irregular morphology compared to word-level models, as they can generalize better to unseen forms.
  • Intervening Material is a Challenge: The presence of extra words between related grammatical elements (like determiners and nouns, or subjects and verbs) significantly degrades the performance of n-gram models and, to a lesser extent, neural models, highlighting the difficulty of long-distance dependencies.
  • Current Evaluation Methods are Sufficient: The authors found that evaluating on full sentences, as advocated for in previous work, yields similar results to prefix-based methods, suggesting that BLiMP's primary evaluation approach is robust.

Key Results

  • GPT-2 leads: GPT-2 achieved the highest overall accuracy (83.0%) on BLiMP, significantly outperforming other models.
  • Human performance is the benchmark: Even the best-performing LM, GPT-2, falls short of human performance (88.6% accuracy) by a considerable margin.
  • Agreement is a strength: Models perform very well on agreement phenomena like ANAPHOR AGR., DET.-NOUN AGR., and SUBJ.-VERB AGR., with GPT-2 reaching over 99% accuracy on some of these.
  • Islands are a weakness: ISLAND EFFECTS are the most challenging category for most models, with even GPT-2 performing only slightly above chance.
  • NPIs and Quantifiers are difficult: Semantic phenomena like NPI LICENSING and QUANTIFIERS also pose significant challenges.
  • Argument Structure is surprisingly weak: Despite its apparent simplicity, ARGUMENT STRUCTURE is a difficult area for LMs, with models performing poorly.
  • N-gram models struggle: The 5-gram model performed poorly across the board, indicating that simple co-occurrence statistics are insufficient for capturing linguistic knowledge.

Limitations and Future Work

  • Dialectal Variation: BLiMP primarily assesses performance on mainstream US and UK English. The authors acknowledge that some judgments might not hold across all English dialects, and future work could involve creating versions for other dialects.
  • Stereotyped Gender Associations: Some paradigms rely on common gender-name associations, which might be a bias rather than true linguistic knowledge.
  • Future Work: The authors suggest that BLiMP can serve as a guide for future research, particularly in understanding why LMs acquire knowledge in some domains but not others. They highlight argument structure as a key area for further investigation. Additionally, they propose that as LMs continue to improve, BLiMP will be essential for tracking their evolving grammatical knowledge. The paper also suggests that future work could explore the impact of training data size and model architecture on performance across different phenomena.

Summary updated

BibTeX
@article{warstadt2020blimp,
  author = {Alex Warstadt and Alicia Parrish and Haokun Liu and Anhad Mohananey and Wei Peng and Sheng-Fu Wang and Samuel R. Bowman},
  title = {{BLiMP: The Benchmark of Linguistic Minimal Pairs for English}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2020},
  doi = {10.1162/tacl\_a\_00321},
}
Figure