TL;DR
The Benchmark of Linguistic Minimal Pairs (BLiMP) is a new challenge set designed to evaluate the implicit grammatical knowledge of language models across 12 core English linguistic phenomena. By testing models on pairs of sentences that differ by only a single grammatical feature, the authors show that while state-of-the-art models excel at morphological agreement, they still fall significantly short of human performance on complex syntactic and semantic structures.
What Problem Does This Paper Address?
How do we actually know what a language model (LM) understands about grammar? Traditionally, researchers rely on perplexity—a metric showing how well a model predicts the next word on a large dataset. However, perplexity is a blunt instrument that doesn't provide fine-grained insights into specific grammatical rules.
Alternative approaches use supervised benchmarks (like GLUE), but these require training an additional classifier on top of the LM embeddings. This makes it impossible to separate what the LM inherently "knows" from what the classifier learned during fine-tuning.
BLiMP addresses this gap by providing a large-scale, zero-shot evaluation framework using minimal pairs: pairs of sentences that are identical except for one minor change that makes one sentence grammatical and the other ungrammatical.
Methods
The authors evaluate LMs by checking whether they assign a higher probability to the grammatically acceptable sentence than the unacceptable one in a minimal pair.
To ensure the evaluation is robust and free from confounding factors (like sentence length or word frequency), the authors automatically generated sentences using linguist-crafted grammar templates. They utilized a vocabulary of over 3,000 lexical items annotated with detailed morphological, syntactic, and semantic features.
The paper also compares the standard full-sentence probability method against "prefix methods," which evaluate a model's prediction at the exact point where the two sentences diverge. They found that all evaluation methods yield broadly similar results when aggregated.
Datasets
The paper introduces BLiMP, which consists of 67 individual datasets, each containing 1,000 minimal pairs (67,000 pairs total). These are organized into 12 broad linguistic categories:
To validate the dataset, the authors gathered human judgments via Amazon Mechanical Turk. The aggregate human agreement with the dataset's gold labels was an impressive 96.4%.
The authors evaluated four baseline models on BLiMP:
- 5-gram LM (trained on 3.1B tokens of the English Gigaword corpus)
- LSTM LM (trained on 83M tokens of Wikipedia)
- Transformer-XL (trained on 103M tokens of Wikipedia)
- GPT-2 Large (trained on ~8B tokens of WebText)
Key Insights and Ideas
- Data Quantity Over Architecture: GPT-2 significantly outperformed Transformer-XL and the LSTM. However, Transformer-XL and the LSTM performed remarkably similarly despite their architectural differences. This suggests that the sheer volume of training data (GPT-2 was trained on roughly two orders of magnitude more data) is currently the primary driver of grammatical mastery in neural LMs.
- Surface vs. Deep Structure: LMs are highly proficient at local, surface-level morphological agreement (like matching singular nouns with singular verbs). However, they struggle with abstract semantic composition (e.g., negative polarity items) and complex structural constraints (e.g., extraction islands).
- Shared Inductive Biases: Neural models correlate much more strongly with each other's performance patterns than they do with humans. This indicates that current neural network architectures share common, non-human biases when learning language from text alone.
Key Results
Overall, every evaluated model fell short of human performance by a noticeable margin.
- GPT-2 achieved the highest overall accuracy at 83.0%, which is 5.6 points below the individual human baseline of 88.6%. It matched or exceeded humans on simple agreement tasks but lagged on complex syntax.
- The LSTM (69.8%) and Transformer-XL (69.6%) performed nearly identically overall.
- Island Effects proved to be the hardest category for all models. While humans scored 84.9%, the LSTM and Transformer-XL performed below chance (46.6% and 48.4%, respectively), and even GPT-2 only managed 72.7%.
- The 5-gram model performed poorly across the board (61.2% overall), proving that BLiMP cannot be solved using purely local co-occurrence statistics.
Limitations and Future Work
While BLiMP offers unprecedented coverage, the authors note several limitations:
- Dialect Bias: The grammar templates rely on mainstream US and UK English, meaning the benchmark could penalize models trained on text from other valid English dialects.
- Semantic Implausibility: Artificial generation occasionally creates weird sentences (e.g., "Sam ran around some glaciers"). While controlled across the pair, it can introduce noise.
- The Scaling Wall: Through training-size ablation studies, the authors estimate that if current log-linear trends hold, an LSTM or Transformer-XL would require well over $10^{20}$ tokens of data to achieve human-like performance on the hardest phenomena like extraction islands—a virtually impossible amount of data to harvest.
Future work will need to explore whether positive performance on these benchmarks truly represents abstract, human-like understanding, potentially by testing how models generalize rules to completely novel "nonce" words.
Summary updated