Language model acceptability judgements are not always robust to context
Not on the map. Why?
Abstract (arXiv)
Targeted syntactic evaluations of language models ask whether models show stable preferences for syntactically acceptable content over minimal-pair unacceptable inputs. Most targeted syntactic evaluation datasets ask models to make these judgements with just a single context-free sentence as input. This does not match language models' training regime, in which input sentences are always highly contextualized by the surrounding corpus. This mismatch raises an important question: how robust are models' syntactic judgements in different contexts? In this paper, we investigate the stability of language models' performance on targeted syntactic evaluations as we vary properties of the input context: the length of the context, the types of syntactic phenomena it contains, and whether or not there are violations of grammaticality. We find that model judgements are generally robust when placed in randomly sampled linguistic contexts. However, they are substantially unstable for contexts containing syntactic structures matching those in the critical test content. Among all tested models (GPT-2 and five variants of OPT), we significantly improve models' judgements by providing contexts with matching syntactic structures, and conversely significantly worsen them using unacceptable contexts with matching but violated syntactic structures. This effect is amplified by the length of the context, except for unrelated inputs. We show that these changes in model performance are not explainable by simple features matching the context and the test inputs, such as lexical overlap and dependency overlap. This sensitivity to highly specific syntactic features of the context can only be explained by the models' implicit in-context learning abilities.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 41 of its 61 references that are in the map. First posted on arXiv 18 Dec 2022.
Builds on
41 of 61 references.
References · 41
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2018Neural Network Acceptability Judgmentscited by 958
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
29 more
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2019Compositionality decomposed: how do neural networks generalise?cited by 265
- 2022Can language models learn from explanations in context?cited by 249
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
- 2018Targeted Syntactic Evaluation of Language Modelscited by 242
- 2022Language models show human-like content effects on reasoning taskscited by 173
- 2020A Systematic Assessment of Syntactic Generalization in Neural Language Modelscited by 165
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
- 2020Are Natural Language Inference Models IMPPRESsive? Learning IMPlicature and PRESuppositioncited by 77
- 2022minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Modelscited by 58
- 2020Cross-Linguistic Syntactic Evaluation of Word Prediction Modelscited by 55
- 2020The EOS Decision and Length Extrapolationcited by 46
- 2021Structural Persistence in Language Models: Priming as a Window into Abstract Language Representationscited by 44
- 2020Exploring BERT's Sensitivity to Lexical Cues using Tests from Semantic Primingcited by 41
- 2022Can language models handle recursively nested grammatical structures? A case study on comparing models and humanscited by 41
- 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 35
- 2019Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Modelscited by 29
- 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
- 2021FewshotQA: A simple framework for few-shot learning of question answering tasks using pre-trained text-to-text modelscited by 26
- 2018Verb Argument Structure Alternations in Word and Sentence Embeddingscited by 25
- 2019Analyzing and Interpreting Neural Networks for NLP: A Report on the First BlackboxNLP Workshopcited by 22
- 2018A Neural Model of Adaptation in Readingcited by 18
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2022COMPS: Conceptual Minimal Pair Sentences for testing Robust Property Knowledge and its Inheritance in Pre-trained Language Modelscited by 15
- 2020Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)cited by 12
Built on by
Citing papers per year: 2023: 5; 2024: 7; 2025: 3; 2026: 7.
22 papers.
Sort:
By area:
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
- 2023Testing AI on language comprehension tasks reveals insensitivity to underlying meaningcited by 45
- 2024Changing Answer Order Can Decrease MMLU Accuracycited by 42
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
- 2024Log Probabilities Are a Reliable Estimate of Semantic Plausibility in Base and Instruction-Tuned Language Modelscited by 24
- 2024Do Language Models Exhibit Human-like Structural Priming Effects?cited by 21
- 2026Brittlebench: Quantifying LLM robustness via prompt sensitivitycited by 21
- 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?cited by 17
- 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistencycited by 12
- 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
- 2024Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistentlycited by 3
10 more
- 2025Who Relies More on World Knowledge and Bias for Syntactic Ambiguity Resolution: Humans or LLMs?cited by 3
- 2025Negative Pre-activations Differentiate Syntaxcited by 2
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2026Implicit Representations of Grammaticality in Language Modelscited by 1
- 2023Revisiting Acceptability Judgementscited by 0
- 2024To Drop or Not to Drop? Predicting Argument Ellipsis Judgments: A Case Study in Japanesecited by 0
- 2026On the scaling relationship between cloze probabilities and language model next-token predictioncited by 0
- 2026Extending Minimal Pairs with Ordinal Surprisal Curves and Entropy Across Applied Domainscited by 0
- 2026GRUFF: LLM Pronoun Fidelity, Reasoning, and Biases in Germancited by 0
- 2026Patterns of Priming in Production: Lexical, Semantic and Structural Alignment in Language Model Generationcited by 0
- 2026Patterns of Priming in Production: Lexical, Semantic and Structural Alignment in Language Model Generation3 Sep 2026
- 2026GRUFF: LLM Pronoun Fidelity, Reasoning, and Biases in German28 May 2026
- 2026Implicit Representations of Grammaticality in Language Models6 May 2026
- 2026Extending Minimal Pairs with Ordinal Surprisal Curves and Entropy Across Applied Domains15 Mar 2026
- 2026Brittlebench: Quantifying LLM robustness via prompt sensitivity27 Feb 2026
- 2026On the scaling relationship between cloze probabilities and language model next-token prediction19 Feb 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Negative Pre-activations Differentiate Syntax29 Sep 2025
- 2025Who Relies More on World Knowledge and Bias for Syntactic Ambiguity Resolution: Humans or LLMs?13 Mar 2025
- 2025Rapid Word Learning Through Meta In-Context Learning20 Feb 2025
- 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistency18 Dec 2024
- 2024Changing Answer Order Can Decrease MMLU Accuracy27 Jun 2024
10 more
- 2024Do Language Models Exhibit Human-like Structural Priming Effects?7 Jun 2024
- 2024To Drop or Not to Drop? Predicting Argument Ellipsis Judgments: A Case Study in Japanese17 Apr 2024
- 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?4 Apr 2024
- 2024Log Probabilities Are a Reliable Estimate of Semantic Plausibility in Base and Instruction-Tuned Language Models21 Mar 2024
- 2024Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistently12 Jan 2024
- 2023Evaluating Large Language Models on Controlled Generation Tasks23 Oct 2023
- 2023Revisiting Acceptability Judgements23 May 2023
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretation24 Mar 2023
- 2023Language Model Behavior: A Comprehensive Survey20 Mar 2023
- 2023Testing AI on language comprehension tasks reveals insensitivity to underlying meaning23 Feb 2023
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
- 2023Testing AI on language comprehension tasks reveals insensitivity to underlying meaningcited by 45
- 2024Changing Answer Order Can Decrease MMLU Accuracycited by 42
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
- 2024Log Probabilities Are a Reliable Estimate of Semantic Plausibility in Base and Instruction-Tuned Language Modelscited by 24
- 2024Do Language Models Exhibit Human-like Structural Priming Effects?cited by 21
- 2026Brittlebench: Quantifying LLM robustness via prompt sensitivitycited by 21
- 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistencycited by 12
- 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
- 2024Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistentlycited by 3
- 2025Who Relies More on World Knowledge and Bias for Syntactic Ambiguity Resolution: Humans or LLMs?cited by 3
12 most cited of 20 All 20 (JSON)
- 2026Patterns of Priming in Production: Lexical, Semantic and Structural Alignment in Language Model Generation3 Sep 2026
- 2026Implicit Representations of Grammaticality in Language Models6 May 2026
- 2026Extending Minimal Pairs with Ordinal Surprisal Curves and Entropy Across Applied Domains15 Mar 2026
- 2026Brittlebench: Quantifying LLM robustness via prompt sensitivity27 Feb 2026
- 2026On the scaling relationship between cloze probabilities and language model next-token prediction19 Feb 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Negative Pre-activations Differentiate Syntax29 Sep 2025
- 2025Who Relies More on World Knowledge and Bias for Syntactic Ambiguity Resolution: Humans or LLMs?13 Mar 2025
- 2025Rapid Word Learning Through Meta In-Context Learning20 Feb 2025
- 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistency18 Dec 2024
- 2024Changing Answer Order Can Decrease MMLU Accuracy27 Jun 2024
- 2024Do Language Models Exhibit Human-like Structural Priming Effects?7 Jun 2024
12 newest of 20 All 20 (JSON)