CLOct 25, 2022

Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Models

arXiv:2210.14328v1292 citationsh-index: 40
Originality Incremental advance
AI Analysis

This work addresses the problem of understanding syntactic representations in multilingual models for NLP researchers, providing causal insights beyond correlational methods.

The study causally probed multilingual and monolingual language models to analyze syntactic agreement encoding, finding significant neuron overlap across languages in autoregressive models but not masked ones, and identified distinct neuron sets based on token separation.

Structural probing work has found evidence for latent syntactic information in pre-trained language models. However, much of this analysis has focused on monolingual models, and analyses of multilingual models have employed correlational methods that are confounded by the choice of probing tasks. In this study, we causally probe multilingual language models (XGLM and multilingual BERT) as well as monolingual BERT-based models across various languages; we do this by performing counterfactual perturbations on neuron activations and observing the effect on models' subject-verb agreement probabilities. We observe where in the model and to what extent syntactic agreement is encoded in each language. We find significant neuron overlap across languages in autoregressive multilingual language models, but not masked language models. We also find two distinct layer-wise effect patterns and two distinct sets of neurons used for syntactic agreement, depending on whether the subject and verb are separated by other tokens. Finally, we find that behavioral analyses of language models are likely underestimating how sensitive masked language models are to syntactic information.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes