Abstract
We introduce The Benchmark of Linguistic Minimal Pairs (BLiMP), a challenge set designed to evaluate the linguistic knowledge of language models (LMs) across major grammatical phenomena in English. BLiMP consists of 67,000 automatically generated minimal pairs that isolate specific contrasts in syntax, morphology, and semantics. Our evaluation of n-gram, LSTM, and Transformer-based models reveals that while state-of-the-art models like GPT-2 identify morphological contrasts reliably, they continue to struggle with semantic restrictions and complex syntactic phenomena such as extraction islands, trailing significantly behind human performance.
Introduction: Beyond Perplexity
In Natural Language Processing, the standard metric for evaluating language models is perplexity—the model's ability to predict the next token in a sequence. While low perplexity indicates a model has captured statistical regularities, it does not necessarily imply an understanding of the underlying rules of grammar. A model might achieve high predictive accuracy by relying on local co-occurrences rather than structural linguistic knowledge.
Previous attempts to probe this knowledge often used supervised "probing classifiers." However, these methods are controversial because it is difficult to distinguish whether the knowledge resides in the large LM or if the small classifier is simply learning the task. BLiMP addresses this by employing a zero-shot approach: if a model truly understands a grammatical rule, it should assign a higher probability to a grammatically correct sentence than to a nearly identical but incorrect one.
Methodology: The Power of Minimal Pairs
The core of BLiMP is the Minimal Pair. A minimal pair consists of two sentences that differ by only one or two words, where one is grammatically acceptable and the other is not. This controlled setup ensures that any difference in the probability assigned by the model is due to the specific linguistic phenomenon being tested.
The benchmark was constructed using expert-crafted grammar templates to generate 67 sub-datasets, each containing 1,000 pairs. This automated generation allows for large-scale testing while maintaining high linguistic precision. The 12 broad categories covered include Anaphor Agreement, Island Effects, NPI Licensing, and Quantifiers. To establish a gold standard, the authors conducted human validation via Amazon Mechanical Turk, finding an aggregate human agreement of 96.4% with the labels.
Results and Analysis
The researchers evaluated several model architectures: a 5-gram baseline, LSTMs, and Transformers (GPT-2 and Transformer-XL).
Key Findings
- GPT-2 Leads the Field: GPT-2 emerged as the top performer with an overall accuracy of 83.0%, coming within 8 points of the individual human baseline (88.6%).
- Surface vs. Structure: Models excel at morphological agreement (e.g., Determiner-Noun agreement). However, they struggle with Negative Polarity Items (NPIs)—words like "any" that require a specific "licensor" like negation. This suggests that models are better at identifying surface patterns than logical dependencies.
- The "Island" Wall: All models performed poorly on Extraction Islands, which involve complex hierarchical syntactic rules. GPT-2 scored approximately 72.7% compared to the human score of 84.9%, indicating a lack of deep structural understanding.
- Scaling and Data: For LSTMs and Transformer-XL, performance improved linearly with the logarithm of training data size, suggesting that some grammatical rules may simply require more exposure rather than architectural changes.
Discussion and Limitations
While BLiMP provides a rigorous test of linguistic intuition, it has limitations. The benchmark is currently focused on "mainstream" American English, which may penalize models trained on diverse web data that includes valid dialectal variations. Additionally, some tasks rely on gendered name associations (e.g., "Mary" = "herself"), reflecting social biases rather than pure linguistic rules.
Future work should expand BLiMP to morphologically richer languages like Russian or Turkish to further challenge current LM architectures. While BLiMP identifies what models fail to learn, the next step is understanding why these failures occur and using these insights to design more linguistically-aware neural networks.
Conclusion
BLiMP offers a comprehensive and challenging benchmark for evaluating the linguistic capabilities of LMs. By moving beyond perplexity to zero-shot minimal pair evaluation, it reveals that while modern Transformers have made significant strides, a substantial gap remains between machine "intuition" and human linguistic competence, particularly in the realms of complex syntax and semantic logic.
Summary updated