paper-with-me

홈 › Papers

Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Models

2022-10-25 · Aaron Mueller, Yu Xia, Tal Linzen

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.

📄 PDF Abstract BibTeX arXiv:2210.14328

Code (1)

aaronmueller/multilingual-lm-intervention 공식 구현 pytorch

Tasks

counterfactual

Similar Papers 제목 키워드 기반

Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Models

2021-06-10 · ACL 2021 5 · Matthew Finlayson, Aaron Mueller, Sebastian Gehrmann, Stuart Shieber 외

Targeted syntactic evaluations have demonstrated the ability of language models to perform subject-verb agreement given difficult contexts. To elucidate the mechanisms by which the models accomplish this behavior, this s…

Sentence

Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages

2026-08-19 · Isabella Gidi, Antonio Almudévar, Core Francisco Park, Naomi Saphra 외 arxiv

Multilingual large language models often generalize across languages, and prior work suggests that their internal mechanisms can overlap cross-lingually. It remains unclear, however, when such sharing emerges and whether…

How Distributed are Distributed Representations? An Observation on the Locality of Syntactic Information in Verb Agreement Tasks

2022-05-01 · ACL 2022 5 · Bingzhi Li, Guillaume Wisniewski, Benoit Crabbé

This work addresses the question of the localization of syntactic information encoded in the transformers representations. We tackle this question from two perspectives, considering the object-past participle agreement i…

feature selectionSentence

How Distributed are Distributed Representations? An Observation on the Locality of Syntactic Information in Verb Agreement Tasks

2021-11-16 · ACL ARR November 2021 11 · Anonymous

This work addresses the question of the localization of the syntactic information encoding in the Transformers representations. We tackle this question from two perspectives, considering the object-past participle agreem…

feature selectionSentence

Controlled Evaluation of Syntactic Knowledge in Multilingual Language Models

2024-11-12 · Daria Kryvosheieva, Roger Levy

Language models (LMs) are capable of acquiring elements of human-like syntactic knowledge. Targeted syntactic evaluation tests have been employed to measure how well they form generalizations about syntactic phenomena in…

Diversity