mlsanityData to 14 Oct 2026

Learning the Wrong Lessons: Syntactic-Domain Spurious Correlations in Language Models

arXiv 2509.21155 ↗First posted 25 Sep 2025cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

For an LLM to correctly respond to an instruction it must understand both the semantics and the domain (i.e., subject area) of a given task-instruction pair. However, syntax can also convey implicit information Recent work shows that syntactic templates -- frequent sequences of Part-of-Speech (PoS) tags -- are prevalent in training data and often appear in model outputs. In this work we characterize syntactic templates, domain, and semantics in task-instruction pairs. We identify cases of spurious correlations between syntax and domain, where models learn to associate a domain with syntax during training; this can sometimes override prompt semantics. Using a synthetic training dataset, we find that the syntactic-domain correlation can lower performance (mean 0.51 +/- 0.06) on entity knowledge tasks in OLMo-2 models (1B-13B). We introduce an evaluation framework to detect this phenomenon in trained models, and show that it occurs on a subset of the FlanV2 dataset in open (OLMo-2-7B; Llama-4-Maverick), and closed (GPT-4o) models. Finally, we present a case study on the implications for safety finetuning, showing that unintended syntactic-domain correlations can be used to bypass refusals in OLMo-2-7B Instruct and GPT-4o. Our findings highlight two needs: (1) to explicitly test for syntactic-domain correlations, and (2) to ensure syntactic diversity in training data, specifically within domains, to prevent such spurious correlations.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 32 of its 44 references that are in the map. First posted on arXiv 25 Sep 2025.

Builds on

32 of 44 references.

References · 32

  1. 2019Invariant Risk Minimizationcited by 1,854
  2. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  3. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  4. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
  5. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  6. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  7. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  8. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  9. 2018Annotation Artifacts in Natural Language Inference Datacited by 671
  10. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  11. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
  12. 20242 OLMo 2 Furiouscited by 340
20 more
  1. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
  2. 2020Environment Inference for Invariant Learningcited by 306
  3. 2018Hypothesis Only Baselines in Natural Language Inferencecited by 295
  4. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
  5. 2019Learning De-biased Representations with Biased Representationscited by 199
  6. 2022On Feature Learning in the Presence of Spurious Correlationscited by 145
  7. 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 135
  8. 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
  9. 2023Have LLMs Advanced Enough? A Challenging Problem Solving Benchmark For Large Language Modelscited by 77
  10. 2023Evaluating the Zero-shot Robustness of Instruction-tuned Language Modelscited by 66
  11. 2024Detection and Measurement of Syntactic Templates in Generated Textcited by 44
  12. 2024On the Worst Prompt Performance of Large Language Modelscited by 38
  13. 2025Idiosyncrasies in Large Language Modelscited by 33
  14. 2024Financial Statement Analysis with Large Language Modelscited by 31
  15. 2025The Jailbreak Tax: How Useful are Your Jailbreak Outputs?cited by 28
  16. 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directionscited by 26
  17. 2022Compositionality as Lexical Symmetrycited by 8
  18. 2025Who Taught You That? Tracing Teachers in Model Distillationcited by 8
  19. 2025Domain Regeneration: How well do LLMs match syntactic properties of text domains?cited by 6
  20. 2024The Rosetta Paradox: Domain-Specific Performance Inversions in Large Language Modelscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.