mlsanityData to 7 Oct 2026

Open Sesame: Getting Inside BERT's Linguistic Knowledge

arXiv 1906.01698 ↗First posted 4 Jun 2019cs.CLcited by 119

Not on the map. Why?

Abstract (arXiv)

How and to what extent does BERT encode syntactically-sensitive hierarchical information or positionally-sensitive linear information? Recent work has shown that contextual representations like BERT perform well on tasks that require sensitivity to linguistic structure. We present here two studies which aim to provide a better understanding of the nature of BERT's representations. The first of these focuses on the identification of structurally-defined elements using diagnostic classifiers, while the second explores BERT's representation of subject-verb agreement and anaphor-antecedent dependencies through a quantitative assessment of self-attention vectors. In both cases, we find that BERT encodes positional information about word tokens well on its lower layers, but switches to a hierarchically-oriented encoding on higher layers. We conclude then that BERT's representations do indeed model linguistically relevant aspects of hierarchical structure, though they do not appear to show the sharp sensitivity to hierarchical structure that is found in human processing of reflexive anaphora.

Key facts. Cited by 119 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Jun 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 38; 2022: 28; 2023: 28; 2024: 14; 2025: 8; 2026: 3.

119 papers.

Sort:

By area:

  1. 2023Explainability for Large Language Models: A Surveycited by 331
  2. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  3. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  4. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
  5. 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
  6. 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
  7. 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
  8. 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
  9. 2021Superbizarre Is Not Superb: Derivational Morphology Improves BERT's Interpretation of Complex Wordscited by 63
  10. 2022VL-InterpreT: An Interactive Visualization Tool for Interpreting Vision-Language Transformerscited by 53
  11. 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 50
  12. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
38 more
  1. 2023Quantifying Context Mixing in Transformerscited by 43
  2. 2021TR-BERT: Dynamic Token Reduction for Accelerating BERT Inferencecited by 40
  3. 2021The World of an Octopus: How Reporting Bias Influences a Language Model's Perception of Colorcited by 32
  4. 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
  5. 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
  6. 2021The Stem Cell Hypothesis: Dilemma behind Multi-Task Learning with Transformer Encoderscited by 31
  7. 2021Does Pretraining for Summarization Require Knowledge Transfer?cited by 30
  8. 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
  9. 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
  10. 2021Awakening Latent Grounding from Pretrained Language Models for Semantic Parsingcited by 28
  11. 2022UniTE: Unified Translation Evaluationcited by 28
  12. 2021Accounting for Agreement Phenomena in Sentence Comprehension with Transformer Language Models: Effects of Similarity-based Interference on Surprisal and Attentioncited by 26
  13. 2022Visualizing and Understanding Patch Interactions in Vision Transformercited by 26
  14. 2024Learning Syntax Without Planting Trees: Understanding Hierarchical Generalization in Transformerscited by 24
  15. 2021The Case for Translation-Invariant Self-Attention in Transformer-Based Language Modelscited by 23
  16. 2022STNDT: Modeling Neural Population Activity with a Spatiotemporal Transformercited by 23
  17. 2023The Life Cycle of Knowledge in Big Language Models: A Surveycited by 23
  18. 2023How poor is the stimulus? Evaluating hierarchical generalization in neural networks trained on child-directed speechcited by 22
  19. 2024Unveiling Linguistic Regions in Large Language Modelscited by 22
  20. 2021How much pretraining data do language models need to learn syntax?cited by 21
  21. 2021Solving Aspect Category Sentiment Analysis as a Text Generation Taskcited by 21
  22. 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
  23. 2021Transformers Generalize Linearlycited by 19
  24. 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
  25. 2022Acceptability Judgements via Examining the Topology of Attention Mapscited by 19
  26. 2022Improving Semantic Matching through Dependency-Enhanced Pre-trained Model with Adaptive Fusioncited by 18
  27. 2023Retentive or Forgetful? Diving into the Knowledge Memorizing Mechanism of Language Modelscited by 18
  28. 2023Incorporating Distributions of Discourse Structure for Long Document Abstractive Summarizationcited by 17
  29. 2021Of Non-Linearity and Commutativity in BERTcited by 16
  30. 2021The heads hypothesis: A unifying statistical approach towards understanding multi-headed attention in BERTcited by 15
  31. 2022Visual Comparison of Language Model Adaptationcited by 14
  32. 2024Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5cited by 14
  33. 2021Regulatory Compliance through Doc2Doc Information Retrieval: A case study in EU/UK legislation where text similarity has limitationscited by 13
  34. 2023Why do universal adversarial attacks work on large language models?: Geometry might be the answercited by 13
  35. 2023Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformerscited by 13
  36. 2023How Abstract Is Linguistic Generalization in Large Language Models? Experiments with Argument Structurecited by 13
  37. 2021Enriching Transformers with Structured Tensor-Product Representations for Abstractive Summarizationcited by 11
  38. 2025Learning Task Representations from In-Context Learningcited by 11

50 most cited of 119 All 119 (JSON)