mlsanityData to 14 Oct 2026

Language model acceptability judgements are not always robust to context

arXiv 2212.08979 ↗First posted 18 Dec 2022cs.CL cs.LGcited by 22

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  7. 2016Pointer Sentinel Mixture Modelscited by 3,096
  8. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  9. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  10. 2018Neural Network Acceptability Judgmentscited by 958
  11. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  12. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
29 more
  1. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  2. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  3. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
  4. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
  5. 2019Compositionality decomposed: how do neural networks generalise?cited by 265
  6. 2022Can language models learn from explanations in context?cited by 249
  7. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
  8. 2018Targeted Syntactic Evaluation of Language Modelscited by 242
  9. 2022Language models show human-like content effects on reasoning taskscited by 173
  10. 2020A Systematic Assessment of Syntactic Generalization in Neural Language Modelscited by 165
  11. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
  12. 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
  13. 2020Are Natural Language Inference Models IMPPRESsive? Learning IMPlicature and PRESuppositioncited by 77
  14. 2022minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Modelscited by 58
  15. 2020Cross-Linguistic Syntactic Evaluation of Word Prediction Modelscited by 55
  16. 2020The EOS Decision and Length Extrapolationcited by 46
  17. 2021Structural Persistence in Language Models: Priming as a Window into Abstract Language Representationscited by 44
  18. 2020Exploring BERT's Sensitivity to Lexical Cues using Tests from Semantic Primingcited by 41
  19. 2022Can language models handle recursively nested grammatical structures? A case study on comparing models and humanscited by 41
  20. 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 35
  21. 2019Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Modelscited by 29
  22. 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
  23. 2021FewshotQA: A simple framework for few-shot learning of question answering tasks using pre-trained text-to-text modelscited by 26
  24. 2018Verb Argument Structure Alternations in Word and Sentence Embeddingscited by 25
  25. 2019Analyzing and Interpreting Neural Networks for NLP: A Report on the First BlackboxNLP Workshopcited by 22
  26. 2018A Neural Model of Adaptation in Readingcited by 18
  27. 2022The Curious Case of Absolute Position Embeddingscited by 17
  28. 2022COMPS: Conceptual Minimal Pair Sentences for testing Robust Property Knowledge and its Inheritance in Pre-trained Language Modelscited by 15
  29. 2020Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)cited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 5; 2024: 7; 2025: 3; 2026: 7.

22 papers.

Sort:

By area:

  1. 2023Language Model Behavior: A Comprehensive Surveycited by 92
  2. 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
  3. 2023Testing AI on language comprehension tasks reveals insensitivity to underlying meaningcited by 45
  4. 2024Changing Answer Order Can Decrease MMLU Accuracycited by 42
  5. 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
  6. 2024Log Probabilities Are a Reliable Estimate of Semantic Plausibility in Base and Instruction-Tuned Language Modelscited by 24
  7. 2024Do Language Models Exhibit Human-like Structural Priming Effects?cited by 21
  8. 2026Brittlebench: Quantifying LLM robustness via prompt sensitivitycited by 21
  9. 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?cited by 17
  10. 2024What makes a good metric? Evaluating automatic metrics for text-to-image consistencycited by 12
  11. 2025Rapid Word Learning Through Meta In-Context Learningcited by 4
  12. 2024Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistentlycited by 3
10 more
  1. 2025Who Relies More on World Knowledge and Bias for Syntactic Ambiguity Resolution: Humans or LLMs?cited by 3
  2. 2025Negative Pre-activations Differentiate Syntaxcited by 2
  3. 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
  4. 2026Implicit Representations of Grammaticality in Language Modelscited by 1
  5. 2023Revisiting Acceptability Judgementscited by 0
  6. 2024To Drop or Not to Drop? Predicting Argument Ellipsis Judgments: A Case Study in Japanesecited by 0
  7. 2026On the scaling relationship between cloze probabilities and language model next-token predictioncited by 0
  8. 2026Extending Minimal Pairs with Ordinal Surprisal Curves and Entropy Across Applied Domainscited by 0
  9. 2026GRUFF: LLM Pronoun Fidelity, Reasoning, and Biases in Germancited by 0
  10. 2026Patterns of Priming in Production: Lexical, Semantic and Structural Alignment in Language Model Generationcited by 0