Different types of syntactic agreement recruit the same units within large language models
Daria Kryvosheieva, Andrea de Varda, Evelina Fedorenko, Greta Tuckute
TL;DR
This study probes how grammatical knowledge is represented inside large language models by applying a neuroscience-inspired functional localization approach to identify syntax-responsive units for 67 English syntactic phenomena across seven models. It reveals that different types of syntactic agreement recruit overlapping unit sets, suggesting a shared functional substrate for agreement, and shows this pattern generalizes to Russian and Chinese and across 57 languages in a cross-linguistic analysis. The work further demonstrates a causal role for these units via targeted ablations and shows that unit overlap scales with linguistic similarity, implying structured organization of syntactic representations that transcends individual phenomena yet remains language-aware. The findings challenge the idea of purely generic syntax-processing units and point to a nuanced, shared but language-tuned architecture for syntactic computation in LLMs, with broad implications for cognitive science and multilingual NLP research.
Abstract
Large language models (LLMs) can reliably distinguish grammatical from ungrammatical sentences, but how grammatical knowledge is represented within the models remains an open question. We investigate whether different syntactic phenomena recruit shared or distinct components in LLMs. Using a functional localization approach inspired by cognitive neuroscience, we identify the LLM units most responsive to 67 English syntactic phenomena in seven open-weight models. These units are consistently recruited across sentences containing the phenomena and causally support the models' syntactic performance. Critically, different types of syntactic agreement (e.g., subject-verb, anaphor, determiner-noun) recruit overlapping sets of units, suggesting that agreement constitutes a meaningful functional category for LLMs. This pattern holds in English, Russian, and Chinese; and further, in a cross-lingual analysis of 57 diverse languages, structurally more similar languages share more units for subject-verb agreement. Taken together, these findings reveal that syntactic agreement-a critical marker of syntactic dependencies-constitutes a meaningful category within LLMs' representational spaces.
