Introduction
While large language models (LLMs) demonstrate remarkable grammatical proficiency, the internal mechanisms driving these capabilities remain largely opaque. Traditional interpretability research has primarily relied on "probing"—training external classifiers to extract syntactic information from internal model states. However, probing is inherently correlational; it identifies information present in the model but does not prove that the model utilizes this information for its outputs.
This study moves beyond correlation to causation, investigating how multilingual models handle subject-verb agreement across different languages and architectures. By identifying specific "syntax neurons," the researchers explore whether models develop universal cross-lingual mechanisms or language-specific pathways.
Methodology
The researchers employ Causal Mediation Analysis to measure the Natural Indirect Effect (NIE) of individual neurons on the model's output. This approach involves counterfactual interventions: the activation of a specific neuron is modified to the value it would have held under a different linguistic condition (e.g., changing a singular subject to plural).
By observing how these interventions shift the model's preference between singular and plural verb forms, the study identifies neurons causally linked to syntactic agreement. The analysis was conducted on two primary architectures: XGLM (autoregressive) and mBERT (masked language model), using a controlled dataset of synthetic stimuli in English, French, German, Dutch, and Finnish. These stimuli covered simple agreement, prepositional phrases, and object relative clauses to test both short-range and long-range dependencies.
Results and Discussion
The analysis revealed several critical insights into the internal organization of syntactic knowledge:
Architecture and Universality
A striking difference emerged between model architectures. In autoregressive models like XGLM, there is significant overlap in the neurons responsible for agreement across different languages, suggesting the emergence of "generic cross-lingual syntax neurons." Conversely, masked language models like mBERT exhibit almost no such overlap, instead developing language-specific circuits for the same task.
Circuit Specialization
The study identified distinct circuits for "short-range" (adjacent subject-verb) and "long-range" (separated by phrases) agreement. These tasks utilize different sets of neurons and follow different layer-wise patterns. Generally, long-range agreement neurons are concentrated in middle-to-late layers, whereas short-range effects appear earlier in the network.
Sparsity and Interference
Syntactic agreement is handled with extreme sparsity. Intervening on just 1% to 5% of the most influential neurons can often replicate the model's total preference effect. Interestingly, the study found that mBERT contains many neurons highly sensitive to syntax, even when its behavioral performance is lower than autoregressive models. This suggests that "negative interference" from other neurons—perhaps those focused on semantic collocations—can sometimes obscure the signal from specialized syntax neurons.
Conclusion
This research provides a causal map of syntactic processing in multilingual models, highlighting how architecture influences the development of universal versus language-specific internal representations. While the study is limited by single-token constraints and a focus on high-resource languages, it establishes a robust framework for future "circuit-breaking" interventions. Understanding these causal pathways is a vital step toward more interpretable and controllable language models.
Summary updated