mlsanityData to 14 Oct 2026

How Syntax Specialization Emerges in Language Models

arXiv 2505.19548 ↗First posted 26 May 2025cs.CL cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have been found to develop surprising internal specializations: Individual neurons, attention heads, and circuits become selectively sensitive to syntactic structure, reflecting patterns observed in the human brain. While this specialization is well-documented, how it emerges during training and what influences its development remains largely unknown. In this work, we tap into the black box of specialization by tracking its formation over time. By quantifying internal syntactic consistency across minimal pairs from various syntactic phenomena, we identify a clear developmental trajectory: Syntactic sensitivity emerges gradually, concentrates in specific layers, and exhibits a 'critical period' of rapid internal specialization. This process is consistent across architectures and initialization parameters (e.g., random seeds), and is influenced by model scale and training data. We therefore reveal not only where syntax arises in LLMs but also how some models internalize it during training. To support future research, we will release the code, models, and training checkpoints upon acceptance.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

20 of 36 references.

References · 20

  1. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  2. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  3. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  4. 2022In-context Learning and Induction Headscited by 964
  5. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  6. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  7. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
  8. 2018Targeted Syntactic Evaluation of Language Modelscited by 242
  9. 2024Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Modelscited by 126
  10. 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 124
  11. 2019The emergence of number and syntax units in LSTM language modelscited by 94
  12. 2025Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languagescited by 59
8 more
  1. 2024Language models align with human judgments on key grammatical constructionscited by 49
  2. 2025PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runscited by 35
  3. 2025From Language to Cognition: How LLMs Outgrow the Human Language Networkcited by 30
  4. 2024Converging to a Lingua Franca: Evolution of Linguistic Regions and Semantics Alignment in Multilingual Large Language Modelscited by 23
  5. 2022Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Modelscited by 14
  6. 2024Unveiling Language Competence Neurons: A Psycholinguistic Approach to Model Interpretabilitycited by 8
  7. 2024Grammaticality Representation in ChatGPT as Compared to Linguists and Laypeoplecited by 5
  8. 2025Brain-Inspired Exploration of Functional Networks and Key Neurons in Large Language Modelscited by 5

Built on by

Cited by year (2026 to 14 Oct)

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

7 papers.