On Identifiability in Transformers
Not on the map. Why?
Abstract (arXiv)
In this paper we delve deep in the Transformer architecture by investigating two of its core components: self-attention and contextual embeddings. In particular, we study the identifiability of attention weights and token embeddings, and the aggregation of context into hidden tokens. We show that, for sequences longer than the attention head dimension, attention weights are not identifiable. We propose effective attention as a complementary tool for improving explanatory interpretations based on attention. Furthermore, we show that input tokens retain to a large degree their identity across the model. We also find evidence suggesting that identity information is mainly encoded in the angle of the embeddings and gradually decreases with depth. Finally, we demonstrate strong mixing of input information in the generation of contextual embeddings by means of a novel quantification method based on gradient attribution. Overall, we show that self-attention distributions are not directly interpretable and present tools to better understand and further investigate Transformer models.
Key facts. Cited by 115 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 31; 2022: 21; 2023: 19; 2024: 16; 2025: 16; 2026: 12.
115 papers.
Sort:
By area:
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2025Why do LLMs attend to the first token?cited by 122
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2025SAEs Are Good for Steering -- If You Select the Right Featurescited by 74
- 2021A Survey on Interpretable Reinforcement Learningcited by 70
- 2022Measuring the Mixing of Contextual Information in the Transformercited by 63
- 2022Entropy-based Attention Regularization Frees Unintended Bias Mitigation from Listscited by 54
- 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 50
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Modelscited by 50
38 more
- 2022Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformercited by 45
- 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
- 2022Rethinking Attention-Model Explainability through Faithfulness Violation Testcited by 43
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2023Explaining How Transformers Use Context to Build Predictionscited by 42
- 2021Approximating How Single Head Attention Learnscited by 38
- 2022On the Explainability of Natural Language Processing Deep Modelscited by 37
- 2021Order in the Court: Explainable AI Methods Prone to Disagreementcited by 36
- 2021Distilling Linguistic Context for Language Model Compressioncited by 33
- 2023Analyzing Feed-Forward Blocks in Transformers through the Lens of Attention Mapscited by 33
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2023DecompX: Explaining Transformers Decisions by Propagating Token Decompositioncited by 31
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
- 2021Dodrio: Exploring Transformer Models with Interactive Visualizationcited by 28
- 2025Large Language Models Are Human-Like Internallycited by 28
- 2021Rationales for Sequential Predictionscited by 26
- 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compressioncited by 26
- 2023Analyzing Vision Transformers for Image Classification in Class Embedding Spacecited by 26
- 2021Towards BERT-based Automatic ICD Coding: Limitations and Opportunitiescited by 25
- 2024Mechanistic?cited by 25
- 2021Relative Molecule Self-Attention Transformercited by 21
- 2021Multimodal Integration of Human-Like Attention in Visual Question Answeringcited by 20
- 2021Cross-lingual Visual Pre-training for Multimodal Machine Translationcited by 19
- 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
- 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformercited by 19
- 2022A Unified Understanding of Deep NLP Models for Text Classificationcited by 18
- 2025A Comprehensive Survey on Self-Interpretable Neural Networkscited by 18
- 2021Of Non-Linearity and Commutativity in BERTcited by 16
- 2021Which transformer architecture fits my data? A vocabulary bottleneck in self-attentioncited by 16
- 2021Enjoy the Salience: Towards Better Transformer-based Faithful Explanations with Word Saliencecited by 16
- 2023COCKATIEL: COntinuous Concept ranKed ATtribution with Interpretable ELements for explaining neural net classifiers on NLP taskscited by 16
- 2021Explainable Deep Learning in Healthcare: A Methodological Survey from an Attribution Viewcited by 15
- 2021On the Distribution, Sparsity, and Inference-time Quantization of Attention Values in Transformerscited by 14
- 2022A Song of (Dis)agreement: Evaluating the Evaluation of Explainable Artificial Intelligence in Natural Language Processingcited by 13
- 2021Effective Attention Sheds Light On Interpretabilitycited by 11
- 2021Attention Weights in Transformer NMT Fail Aligning Words Between Sequences but Largely Explain Model Predictionscited by 11
- 2022eX-ViT: A Novel eXplainable Vision Transformer for Weakly Supervised Semantic Segmentationcited by 11
50 most cited of 115 All 115 (JSON)
- 2026The Identifiability and Observability of Deep Normalized Attention7 Oct 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Retrieval Capacity of Self-Attention Under Competition29 Sep 2026
- 2026Provably Learning Multi-Head Attention with Queries4 Aug 2026
- 2026Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance14 May 2026
- 2026Attention Sinks in Massively Multilingual Neural Machine Translation:Discovery, Analysis, and Mitigation2 May 2026
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Models13 Apr 2026
- 2026DEX-AR: A Dynamic Explainability Method for Autoregressive Vision-Language Models6 Mar 2026
- 2026Geometric Analysis of Token Selection in Multi-Head Attention2 Feb 2026
- 2026Universal Redundancies in Time Series Foundation Models2 Feb 2026
- 2026Learning to Explain: Supervised Token Attribution from Transformer Attention Patterns20 Jan 2026
- 2026Mechanisms of Prompt-Induced Hallucination in Vision-Language Models8 Jan 2026
38 more
- 2025Order-Level Attention Similarity Across Language Models: A Latent Commonality7 Nov 2025
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Models29 Sep 2025
- 2025Towards Transparent AI: A Survey on Explainable Language Models25 Sep 2025
- 2025PLEX: Perturbation-free Local Explanations for LLM-Based Text Classification12 Jul 2025
- 2025Towards Transparent AI: A Survey on Explainable Large Language Models26 Jun 2025
- 2025Probing the Embedding Space of Transformers via Minimal Token Perturbations22 Jun 2025
- 2025SAEs Are Good for Steering -- If You Select the Right Features26 May 2025
- 2025LiDDA: Data Driven Attribution at LinkedIn14 May 2025
- 2025Beyond Black-Box Predictions: Identifying Marginal Feature Effects in Tabular Transformer Networks11 Apr 2025
- 2025Why do LLMs attend to the first token?3 Apr 2025
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models1 Apr 2025
- 2025Enabling Global, Human-Centered Explanations for LLMs:From Tokens to Interpretable Code and Test Generation21 Mar 2025
- 2025Interpretable High-order Knowledge Graph Neural Network for Predicting Synthetic Lethality in Human Cancers8 Mar 2025
- 2025Layer by Layer: Uncovering Hidden Representations in Language Models4 Feb 2025
- 2025Large Language Models Are Human-Like Internally3 Feb 2025
- 2025A Comprehensive Survey on Self-Interpretable Neural Networks26 Jan 2025
- 2024Analyzing the Attention Heads for Pronoun Disambiguation in Context-aware Machine Translation Models15 Dec 2024
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributions24 Nov 2024
- 2024Advancing Fairness in Natural Language Processing: From Traditional Methods to Explainability16 Oct 2024
- 2024Unveiling Transformer Perception by Exploring Input Manifolds8 Oct 2024
- 2024Mechanistic?7 Oct 2024
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations3 Oct 2024
- 2024Efficient Knowledge Distillation: Empowering Small Language Models with Teacher Model Insights19 Sep 2024
- 2024Stable Language Model Pre-training by Reducing Embedding Variability12 Sep 2024
- 2024SRViT: Vision Transformers for Estimating Radar Reflectivity from Satellite Observations at Scale20 Jun 2024
- 2024Attention Mechanisms Don't Learn Additive Models: Rethinking Feature Importance for Transformers22 May 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformer21 Mar 2024
- 2024From Explainable to Interpretable Deep Learning for Natural Language Processing in Healthcare: How Far from Reality?18 Mar 2024
- 2024SIBO: A Simple Booster for Parameter-Efficient Fine-Tuning19 Feb 2024
- 2024Attention Meets Post-hoc Interpretability: A Mathematical Perspective5 Feb 2024
- 2024eXplainable Bayesian Multi-Perspective Generative Retrieval4 Feb 2024
- 2023Polynomial-based Self-Attention for Table Representation learning12 Dec 2023
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammars3 Dec 2023
- 2023Attention for Causal Relationship Discovery from Biological Neural Dynamics12 Nov 2023
- 2023Analyzing Vision Transformers for Image Classification in Class Embedding Space29 Oct 2023
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct 2023
- 2023Make Your Decision Convincing! A Unified Two-Stage Framework: Self-Attribution and Decision-Making20 Oct 2023
50 newest of 115 All 115 (JSON)
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Modelscited by 50
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Modelscited by 4
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Modelscited by 1
- 2026Pseudo-Unification: Entropy Probing Reveals Divergent Information Patterns in Unified Multimodal Models13 Apr 2026
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Models29 Sep 2025
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct 2023
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2025Why do LLMs attend to the first token?cited by 122
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2025SAEs Are Good for Steering -- If You Select the Right Featurescited by 74
- 2021A Survey on Interpretable Reinforcement Learningcited by 70
- 2022Measuring the Mixing of Contextual Information in the Transformercited by 63
- 2022Entropy-based Attention Regularization Frees Unintended Bias Mitigation from Listscited by 54
- 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 50
- 2022Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformercited by 45
12 most cited of 110 All 110 (JSON)
- 2026The Identifiability and Observability of Deep Normalized Attention7 Oct 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Retrieval Capacity of Self-Attention Under Competition29 Sep 2026
- 2026Provably Learning Multi-Head Attention with Queries4 Aug 2026
- 2026Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance14 May 2026
- 2026Attention Sinks in Massively Multilingual Neural Machine Translation:Discovery, Analysis, and Mitigation2 May 2026
- 2026Geometric Analysis of Token Selection in Multi-Head Attention2 Feb 2026
- 2026Universal Redundancies in Time Series Foundation Models2 Feb 2026
- 2026Learning to Explain: Supervised Token Attribution from Transformer Attention Patterns20 Jan 2026
- 2025Order-Level Attention Similarity Across Language Models: A Latent Commonality7 Nov 2025
- 2025Towards Transparent AI: A Survey on Explainable Language Models25 Sep 2025
- 2025PLEX: Perturbation-free Local Explanations for LLM-Based Text Classification12 Jul 2025
12 newest of 110 All 110 (JSON)