Visualizing and Measuring the Geometry of BERT
Not on the map. Why?
Abstract (arXiv)
Transformer architectures show significant promise for natural language processing. Given that a single pretrained model can be fine-tuned to perform well on many different tasks, these networks appear to extract generally useful linguistic features. A natural question is how such networks represent this information internally. This paper describes qualitative and quantitative investigations of one particularly effective model, BERT. At a high level, linguistic features seem to be represented in separate semantic and syntactic subspaces. We find evidence of a fine-grained geometric representation of word senses. We also present empirical descriptions of syntactic representations in both attention matrices and individual word embeddings, as well as a mathematical argument to explain the geometry of these representations.
Key facts. Cited by 215 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 53; 2022: 31; 2023: 45; 2024: 36; 2025: 28; 2026: 22.
215 papers.
Sort:
By area:
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 150
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2021Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Colorcited by 118
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 106
38 more
- 2021BBAM: Bounding Box Attribution Map for Weakly Supervised Semantic and Instance Segmentationcited by 104
- 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
- 2021Pose Recognition with Cascade Transformerscited by 99
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2024On the Origins of Linear Representations in Large Language Modelscited by 76
- 2021Mitigating Political Bias in Language Models Through Reinforced Calibrationcited by 73
- 2021Superbizarre Is Not Superb: Derivational Morphology Improves BERT's Interpretation of Complex Wordscited by 63
- 2021The Spotlight: A General Method for Discovering Systematic Errors in Deep Learning Modelscited by 63
- 2022Discovering Latent Concepts Learned in BERTcited by 56
- 2021IsoScore: Measuring the Uniformity of Embedding Space Utilizationcited by 52
- 2021Probing BERT in Hyperbolic Spacescited by 50
- 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 50
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2021How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?cited by 49
- 2022Problems with Cosine as a Measure of Embedding Similarity for High Frequency Wordscited by 49
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 46
- 2023Theory of Mind in Large Language Models: Examining Performance of 11 State-of-the-Art models vs. Children Aged 7-10 on Advanced Testscited by 46
- 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
- 2021Let's Play Mono-Poly: BERT Can Reveal Words' Polysemy Level and Partitionability into Sensescited by 39
- 2021The Low-Dimensional Linear Geometry of Contextualized Word Representationscited by 39
- 2021What if This Modified That? Syntactic Interventions via Counterfactual Embeddingscited by 39
- 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 37
- 2021Distilling Linguistic Context for Language Model Compressioncited by 33
- 2021A Non-Linear Structural Probecited by 31
- 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsingcited by 30
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
- 2021A Cluster-based Approach for Improving Isotropy in Contextual Embedding Spacecited by 27
- 2024Mechanistic?cited by 25
- 2024Hyperbolic Fine-Tuning for Large Language Modelscited by 24
- 2021Learning to Remove: Towards Isotropic Pre-trained BERT Embeddingcited by 23
- 2021How Does Fine-tuning Affect the Geometry of Embedding Space: A Case Study on Isotropycited by 23
- 2022STNDT: Modeling Neural Population Activity with a Spatiotemporal Transformercited by 23
- 2023GradientCoin: A Peer-to-Peer Decentralized Large Language Modelscited by 23
50 most cited of 215 All 215 (JSON)
- 2026Fisher-IRG: Fisher-Induced Local Invariant Representation Geometry across Language and Vision Models29 Sep 2026
- 2026Reading a Legal Question Word by Word: Embedding Trajectories of 2,144 Vietnamese Legal Headlines8 Sep 2026
- 2026Late Transformer Layers Recode Syntax Canonically: Evidence from Greek Scrambling and Cross-Layer Generalisation31 Aug 2026
- 2026Representation of syntax in LLMs through the lens of linear distance and similarity-aware entropy28 Aug 2026
- 2026BanglaMamba: Exploring State Space Models for Bangla Fake News Detection25 Aug 2026
- 2026When and Why Do Linear Bias Probes Fail? A Geometric and Statistical Theory of Bias Detectability in Large Language Model Representations21 Jul 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Structure Before Collapse: Transient semantic geometry in next-token prediction25 Jun 2026
- 2026Chatbots Output Meaningful (but Problematic) Language2 Jun 2026
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMs12 May 2026
- 2026SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations10 May 2026
- 2026Invariant Features in Language Models: Geometric Characterization and Model Attribution7 May 2026
38 more
- 2026A framework for analyzing concept representations in neural models2 May 2026
- 2026MTA: Multi-Granular Trajectory Alignment for Large Language Model Distillation2 May 2026
- 2026H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Models15 Apr 2026
- 2026Revisiting Anisotropy in Language Transformers: The Geometry of Learning Dynamics9 Apr 2026
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language models25 Mar 2026
- 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometry2 Feb 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2026Multi-context principal component analysis21 Jan 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Task8 Jan 2026
- 2025From Topology to Retrieval: Decoding Embedding Spaces with Unified Signatures27 Nov 2025
- 2025Breaking the Adversarial Robustness-Performance Trade-off in Text Classification via Manifold Purification11 Nov 2025
- 2025Do Prompts Reshape Representations? An Empirical Study of Prompting Effects on Embeddings22 Oct 2025
- 2025When Annotators Disagree, Topology Explains: Mapper, a Topological Tool for Exploring Text Embedding Geometry and Ambiguity20 Oct 2025
- 2025Medical Interpretability and Knowledge Maps of Large Language Models13 Oct 2025
- 2025Mapping Semantic & Syntactic Relationships with Geometric Rotation10 Oct 2025
- 2025VisMoDAl: Visual Analytics for Evaluating and Improving Corruption Robustness of Vision-Language Models18 Sep 2025
- 2025Sparse Neurons Carry Strong Signals of Question Ambiguity in LLMs17 Sep 2025
- 2025Probing Syntax in Large Language Models: Successes and Remaining Challenges5 Aug 2025
- 2025Embryology of a Language Model1 Aug 2025
- 2025Hyperbolic Deep Learning for Foundation Models: A Survey23 Jul 2025
- 2025DALR: Dual-level Alignment Learning for Multimodal Sentence Representation Learning26 Jun 2025
- 2025Dense Retrievers Can Fail on Simple Queries: Revealing The Granularity Dilemma of Embeddings10 Jun 2025
- 2025Trade-offs in Data Memorization via Strong Data Processing Inequalities2 Jun 2025
- 2025Latent Trajectory Dynamics in Large Language Models: A Manifold Evolution Framework with Empirical Validation24 May 2025
- 2025Multi-Scale Manifold Alignment for Interpreting Large Language Models: A Unified Information-Geometric Framework24 May 2025
- 2025Are We Paying Attention to Her? Investigating Gender Disambiguation and Attention in Machine Translation13 May 2025
- 2025Geometry of Semantics in Next-Token Prediction: How Optimization Implicitly Organizes Linguistic Representations13 May 2025
- 2025HyperCore: The Core Framework for Building Hyperbolic Foundation Models with Comprehensive Modules11 Apr 2025
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review9 Apr 2025
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension5 Mar 2025
- 2025AxBERT: An Interpretable Chinese Spelling Correction Method Driven by Associative Knowledge Network4 Mar 2025
- 2025ReFreeKV: Towards Threshold-Free KV Cache Compression24 Feb 2025
- 2025Rethinking Word Similarity: Semantic Similarity through Classification Confusion8 Feb 2025
- 2025Learning Task Representations from In-Context Learning8 Feb 2025
- 2025Emergent Stack Representations in Modeling Counter Languages Using Transformers3 Feb 2025
- 2025FinchGPT: a Transformer based language model for birdsong analysis1 Feb 2025
- 2025Making Sense Of Distributed Representations With Activation Spectroscopy26 Jan 2025
50 newest of 215 All 215 (JSON)
- 2022What do Toothbrushes do in the Kitchen? How Transformers Think our World is Structuredcited by 5
- 2022Discourse-Aware Graph Networks for Textual Logical Reasoningcited by 2
- 2023CommonsenseVIS: Visualizing and Understanding Commonsense Reasoning Capabilities of Natural Language Modelscited by 2
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoningcited by 1
- 2023Rethinking the Construction of Effective Metrics for Understanding the Mechanisms of Pretrained Language Modelscited by 0
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2023Rethinking the Construction of Effective Metrics for Understanding the Mechanisms of Pretrained Language Models19 Oct 2023
- 2023CommonsenseVIS: Visualizing and Understanding Commonsense Reasoning Capabilities of Natural Language Models23 Jul 2023
- 2022Discourse-Aware Graph Networks for Textual Logical Reasoning4 Jul 2022
- 2022What do Toothbrushes do in the Kitchen? How Transformers Think our World is Structured12 Apr 2022
- 2024Legend: Leveraging Representation Engineering to Annotate Safety Margin for Preference Datasetscited by 5
- 2024TouchAI: Exploring human-AI perceptual alignment in touch through language model representationscited by 2
- 2026MTA: Multi-Granular Trajectory Alignment for Large Language Model Distillationcited by 2
- 2026MTA: Multi-Granular Trajectory Alignment for Large Language Model Distillation2 May 2026
- 2024Legend: Leveraging Representation Engineering to Annotate Safety Margin for Preference Datasets12 Jun 2024
- 2024TouchAI: Exploring human-AI perceptual alignment in touch through language model representations5 Jun 2024
- 2025ReFreeKV: Towards Threshold-Free KV Cache Compressioncited by 1
- 2025ReFreeKV: Towards Threshold-Free KV Cache Compression24 Feb 2025
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 150
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2021Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Colorcited by 118
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 106
12 most cited of 202 All 202 (JSON)
- 2026Fisher-IRG: Fisher-Induced Local Invariant Representation Geometry across Language and Vision Models29 Sep 2026
- 2026Reading a Legal Question Word by Word: Embedding Trajectories of 2,144 Vietnamese Legal Headlines8 Sep 2026
- 2026Late Transformer Layers Recode Syntax Canonically: Evidence from Greek Scrambling and Cross-Layer Generalisation31 Aug 2026
- 2026Representation of syntax in LLMs through the lens of linear distance and similarity-aware entropy28 Aug 2026
- 2026BanglaMamba: Exploring State Space Models for Bangla Fake News Detection25 Aug 2026
- 2026When and Why Do Linear Bias Probes Fail? A Geometric and Statistical Theory of Bias Detectability in Large Language Model Representations21 Jul 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Structure Before Collapse: Transient semantic geometry in next-token prediction25 Jun 2026
- 2026Chatbots Output Meaningful (but Problematic) Language2 Jun 2026
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMs12 May 2026
- 2026SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations10 May 2026
- 2026Invariant Features in Language Models: Geometric Characterization and Model Attribution7 May 2026
12 newest of 202 All 202 (JSON)