Attention Can Reflect Syntactic Structure (If You Let It)
Not on the map. Why?
Abstract (arXiv)
Since the popularization of the Transformer as a general-purpose feature encoder for NLP, many studies have attempted to decode linguistic structure from its novel multi-head attention mechanism. However, much of such work focused almost exclusively on English -- a language with rigid word order and a lack of inflectional morphology. In this study, we present decoding experiments for multilingual BERT across 18 languages in order to test the generalizability of the claim that dependency syntax is reflected in attention patterns. We show that full trees can be decoded above baseline accuracy from single attention heads, and that individual relations are often tracked by the same heads across languages. Furthermore, in an attempt to address recent debates about the status of attention as an explanatory mechanism, we experiment with fine-tuning mBERT on a supervised parsing objective while freezing different series of parameters. Interestingly, in steering the objective to learn explicit linguistic structure, we find much of the same structure represented in the resulting attention patterns, with interesting differences with respect to which parameters are frozen.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 27 of its 39 references that are in the map. First posted on arXiv 26 Jan 2021.
Builds on
27 of 39 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019Attention is not Explanationcited by 916
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
- 2019How multilingual is Multilingual BERT?cited by 642
- 2019Attention is not not Explanationcited by 629
15 more
- 2019Is Attention Interpretable?cited by 387
- 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
- 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 108
- 201975 Languages, 1 Model: Parsing Universal Dependencies Universallycited by 90
- 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 87
- 2018Linguistically-Informed Self-Attention for Semantic Role Labelingcited by 71
- 2015Reasoning about Entailment with Neural Attentioncited by 68
- 2020From Zero to Hero: On the Limitations of Zero-Shot Cross-Lingual Transfer with Multilingual Transformerscited by 35
- 2020Do Neural Language Models Show Preferences for Syntactic Formalisms?cited by 30
- 2018Syntactic Scaffolds for Semantic Structurescited by 27
- 2019Inducing Syntactic Trees from BERT Representationscited by 11
- 2020Universal Dependencies according to BERT: both more specific and more generalcited by 11
Built on by
Citing papers per year: 2021: 2; 2022: 7; 2023: 4; 2024: 5; 2025: 3; 2026: 1.
22 papers.
Sort:
By area:
- 2021Unmasking the Mask -- Evaluating Social Biases in Masked Language Modelscited by 60
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
- 2024Relational Composition in Neural Networks: A Survey and Call to Actioncited by 23
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
- 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
- 2024Analyzing the Evaluation of Cross-Lingual Knowledge Transfer in Multilingual Language Modelscited by 11
- 2022Are Pretrained Multilingual Models Equally Fair Across Languages?cited by 8
- 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddingscited by 7
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Modelscited by 7
- 2021On the Evolution of Syntactic Information Encoded by BERT's Contextualized Representationscited by 6
- 2022Grammatical cues to subjecthood are redundant in a majority of simple clauses across languagescited by 5
- 2022Syntactic Substitutability as Unsupervised Dependency Syntaxcited by 4
10 more
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representationcited by 4
- 2023Logion: Machine Learning for Greek Philologycited by 3
- 2023Counterfactually Probing Language Identity in Multilingual Modelscited by 2
- 2024More Room for Language: Investigating the Effect of Retrieval on Language Modelscited by 2
- 2024MLPs Compass: What is learned when MLPs are combined with PLMs?cited by 1
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structurecited by 1
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2023Disentangling the Linguistic Competence of Privacy-Preserving BERTcited by 0
- 2025Do We Really Need GNNs with Explicit Structural Modeling? MLPs Suffice for Language Model Representationscited by 0
- 2025Grammaticality Judgments in Humans and Language Models: Revisiting Generative Grammar with LLMscited by 0
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Grammaticality Judgments in Humans and Language Models: Revisiting Generative Grammar with LLMs11 Dec 2025
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025Do We Really Need GNNs with Explicit Structural Modeling? MLPs Suffice for Language Model Representations26 Jun 2025
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models24 Jul 2024
- 2024Relational Composition in Neural Networks: A Survey and Call to Action19 Jul 2024
- 2024More Room for Language: Investigating the Effect of Retrieval on Language Models16 Apr 2024
- 2024Analyzing the Evaluation of Cross-Lingual Knowledge Transfer in Multilingual Language Models3 Feb 2024
- 2024MLPs Compass: What is learned when MLPs are combined with PLMs?3 Jan 2024
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representation26 Nov 2023
- 2023Counterfactually Probing Language Identity in Multilingual Models29 Oct 2023
- 2023Disentangling the Linguistic Competence of Privacy-Preserving BERT17 Oct 2023
10 more
- 2023Logion: Machine Learning for Greek Philology1 May 2023
- 2022Syntactic Substitutability as Unsupervised Dependency Syntax29 Nov 2022
- 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddings9 Nov 2022
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers7 Nov 2022
- 2022Are Pretrained Multilingual Models Equally Fair Across Languages?11 Oct 2022
- 2022Acceptability Judgements via Examining the Topology of Attention Maps19 May 2022
- 2022Word Order Does Matter (And Shuffled Language Models Know It)21 Mar 2022
- 2022Grammatical cues to subjecthood are redundant in a majority of simple clauses across languages30 Jan 2022
- 2021Unmasking the Mask -- Evaluating Social Biases in Masked Language Models15 Apr 2021
- 2021On the Evolution of Syntactic Information Encoded by BERT's Contextualized Representations27 Jan 2021
- 2021Unmasking the Mask -- Evaluating Social Biases in Masked Language Modelscited by 60
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
- 2024Relational Composition in Neural Networks: A Survey and Call to Actioncited by 23
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
- 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
- 2024Analyzing the Evaluation of Cross-Lingual Knowledge Transfer in Multilingual Language Modelscited by 11
- 2022Are Pretrained Multilingual Models Equally Fair Across Languages?cited by 8
- 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddingscited by 7
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Modelscited by 7
- 2021On the Evolution of Syntactic Information Encoded by BERT's Contextualized Representationscited by 6
- 2022Grammatical cues to subjecthood are redundant in a majority of simple clauses across languagescited by 5
- 2022Syntactic Substitutability as Unsupervised Dependency Syntaxcited by 4
12 most cited of 21 All 21 (JSON)
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Grammaticality Judgments in Humans and Language Models: Revisiting Generative Grammar with LLMs11 Dec 2025
- 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structure24 Nov 2025
- 2025Do We Really Need GNNs with Explicit Structural Modeling? MLPs Suffice for Language Model Representations26 Jun 2025
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models24 Jul 2024
- 2024Relational Composition in Neural Networks: A Survey and Call to Action19 Jul 2024
- 2024Analyzing the Evaluation of Cross-Lingual Knowledge Transfer in Multilingual Language Models3 Feb 2024
- 2024MLPs Compass: What is learned when MLPs are combined with PLMs?3 Jan 2024
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representation26 Nov 2023
- 2023Counterfactually Probing Language Identity in Multilingual Models29 Oct 2023
- 2023Disentangling the Linguistic Competence of Privacy-Preserving BERT17 Oct 2023
- 2023Logion: Machine Learning for Greek Philology1 May 2023
12 newest of 21 All 21 (JSON)