mlsanityData to 7 Oct 2026

Attention Can Reflect Syntactic Structure (If You Let It)

arXiv 2101.10927 ↗First posted 26 Jan 2021cs.CLcited by 22

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  4. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  5. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  6. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  7. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  8. 2019Attention is not Explanationcited by 916
  9. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  10. 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
  11. 2019How multilingual is Multilingual BERT?cited by 642
  12. 2019Attention is not not Explanationcited by 629
15 more
  1. 2019Is Attention Interpretable?cited by 387
  2. 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
  3. 2019Revealing the Dark Secrets of BERTcited by 300
  4. 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
  5. 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
  6. 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 108
  7. 201975 Languages, 1 Model: Parsing Universal Dependencies Universallycited by 90
  8. 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 87
  9. 2018Linguistically-Informed Self-Attention for Semantic Role Labelingcited by 71
  10. 2015Reasoning about Entailment with Neural Attentioncited by 68
  11. 2020From Zero to Hero: On the Limitations of Zero-Shot Cross-Lingual Transfer with Multilingual Transformerscited by 35
  12. 2020Do Neural Language Models Show Preferences for Syntactic Formalisms?cited by 30
  13. 2018Syntactic Scaffolds for Semantic Structurescited by 27
  14. 2019Inducing Syntactic Trees from BERT Representationscited by 11
  15. 2020Universal Dependencies according to BERT: both more specific and more generalcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 7; 2023: 4; 2024: 5; 2025: 3; 2026: 1.

22 papers.

Sort:

By area:

  1. 2021Unmasking the Mask -- Evaluating Social Biases in Masked Language Modelscited by 60
  2. 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
  3. 2024Relational Composition in Neural Networks: A Survey and Call to Actioncited by 23
  4. 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
  5. 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
  6. 2024Analyzing the Evaluation of Cross-Lingual Knowledge Transfer in Multilingual Language Modelscited by 11
  7. 2022Are Pretrained Multilingual Models Equally Fair Across Languages?cited by 8
  8. 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddingscited by 7
  9. 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Modelscited by 7
  10. 2021On the Evolution of Syntactic Information Encoded by BERT's Contextualized Representationscited by 6
  11. 2022Grammatical cues to subjecthood are redundant in a majority of simple clauses across languagescited by 5
  12. 2022Syntactic Substitutability as Unsupervised Dependency Syntaxcited by 4
10 more
  1. 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representationcited by 4
  2. 2023Logion: Machine Learning for Greek Philologycited by 3
  3. 2023Counterfactually Probing Language Identity in Multilingual Modelscited by 2
  4. 2024More Room for Language: Investigating the Effect of Retrieval on Language Modelscited by 2
  5. 2024MLPs Compass: What is learned when MLPs are combined with PLMs?cited by 1
  6. 2025Understanding the Staged Dynamics of Transformers in Learning Latent Structurecited by 1
  7. 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
  8. 2023Disentangling the Linguistic Competence of Privacy-Preserving BERTcited by 0
  9. 2025Do We Really Need GNNs with Explicit Structural Modeling? MLPs Suffice for Language Model Representationscited by 0
  10. 2025Grammaticality Judgments in Humans and Language Models: Revisiting Generative Grammar with LLMscited by 0