XAI for Transformers: Better Explanations through Conservative Propagation
Not on the map. Why?
Abstract (arXiv)
Transformers have become an important workhorse of machine learning, with numerous applications. This necessitates the development of reliable methods for increasing their transparency. Multiple interpretability methods, often based on gradient information, have been proposed. We show that the gradient in a Transformer reflects the function only locally, and thus fails to reliably identify the contribution of input features to the prediction. We identify Attention Heads and LayerNorm as main reasons for such unreliable explanations and propose a more stable way for propagation through these layers. Our proposal, which can be seen as a proper extension of the well-established LRP method to Transformers, is shown both theoretically and empirically to overcome the deficiency of a simple gradient-based approach, and achieves state-of-the-art explanation performance on a broad range of Transformer models and datasets.
Key facts. Cited by 100 papers in the map (data through 7 Oct 2026). Builds on 44 of its 60 references that are in the map. First posted on arXiv 15 Feb 2022.
Builds on
44 of 60 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
- 2019Attention is not Explanationcited by 916
32 more
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 735
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2019Graph Transformer Networkscited by 520
- 2016Geometric deep learning on graphs and manifolds using mixture model CNNscited by 468
- 2020Parameterized Explainer for Graph Neural Networkcited by 423
- 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 346
- 2017Methods for Interpreting and Understanding Deep Neural Networkscited by 342
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
- 2019Lipstick on a Pig: Debiasing Methods Cover up Systematic Gender Biases in Word Embeddings But do not Remove Themcited by 268
- 2018Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systemscited by 234
- 2020GraphLIME: Local Interpretable Model Explanations for Graph Neural Networkscited by 209
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
- 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
- 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
- 2020Higher-Order Explanations of Graph Neural Networks via Relevant Walkscited by 138
- 2020Molecule Attention Transformercited by 92
- 2019AllenNLP Interpret: A Framework for Explaining Predictions of NLP Modelscited by 74
- 2019Perturbation Sensitivity Analysis to Detect Unintended Model Biasescited by 74
- 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
- 2019TWEETQA: A Social Media Focused Question Answering Datasetcited by 55
- 2014Extraction of Salient Sentences from Labelled Documentscited by 50
- 2020Hierarchical Pre-training for Sequence Labelling in Spoken Dialogcited by 36
- 2021Fast Axiomatic Attribution for Neural Networkscited by 35
- 2019Explaining and Interpreting LSTMscited by 23
- 2021Relative Importance in Sentence Processingcited by 22
- 2021On Explaining Your Explanations of BERT: An Empirical Study with Sequence Classificationcited by 21
- 2020Graph-Aware Transformer: Is Attention All Graphs Need?cited by 6
Built on by
Citing papers per year: 2022: 6; 2023: 14; 2024: 31; 2025: 29; 2026: 20.
100 papers.
Sort:
By area:
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directionscited by 123
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 116
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 47
- 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Directioncited by 46
- 2022So3krates: Equivariant attention for interactions on arbitrary length-scales in molecular systemscited by 39
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2025Token Activation Map to Visually Explain Multimodal LLMscited by 30
- 2023On the Independence of Association Bias and Empirical Fairness in Language Modelscited by 29
- 2022Disentangled Explanations of Neural Network Predictions by Finding Relevant Subspacescited by 25
- 2024The Clever Hans Effect in Unsupervised Learningcited by 24
38 more
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
- 2022Do Transformer Models Show Similar Attention Patterns to Task-Specific Human Gaze?cited by 20
- 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformercited by 19
- 2024On the Faithfulness of Vision Transformer Explanationscited by 19
- 2026Language Model Circuits Are Sparse in the Neuron Basiscited by 18
- 2024xMIL: Insightful Explanations for Multiple Instance Learning in Histopathologycited by 15
- 2023Being Right for Whose Right Reasons?cited by 12
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuningcited by 12
- 2023Rather a Nurse than a Physician -- Contrastive Explanations under Investigationcited by 11
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2024Pruning By Explaining Revisited: Optimizing Attribution Methods to Prune CNNs and Transformerscited by 11
- 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentationcited by 11
- 2023Class-Discriminative Attention Maps for Vision Transformerscited by 10
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Modelscited by 10
- 2025RelP: Faithful and Efficient Circuit Discovery in Language Models via Relevance Patchingcited by 10
- 2022Shapley Head Pruning: Identifying and Removing Interference in Multilingual Transformerscited by 9
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
- 2024Explaining Text Similarity in Transformer Modelscited by 9
- 2025GMAR: Gradient-Driven Multi-Head Attention Rollout for Vision Transformer Interpretabilitycited by 9
- 2025Capturing Polysemanticity with PRISM: A Multi-Concept Feature Description Frameworkcited by 9
- 2024Better Explain Transformers by Illuminating Important Informationcited by 8
- 2023On the Interplay between Fairness and Explainabilitycited by 7
- 2024Layer-Wise Relevance Propagation with Conservation Property for ResNetcited by 7
- 2024Towards Symbolic XAI -- Explanation Through Human Understandable Logical Relationships Between Featurescited by 7
- 2025Evaluating the Effectiveness of XAI Techniques for Encoder-Based Language Modelscited by 7
- 2025A Unified Framework with Novel Metrics for Evaluating the Effectiveness of XAI Techniques in LLMscited by 7
- 2025Towards Desiderata-Driven Design of Visual Counterfactual Explainerscited by 7
- 2024Unveiling and Manipulating Prompt Influence in Large Language Modelscited by 6
- 2024Progressive Inference: Explaining Decoder-Only Sequence Classification Models Using Intermediate Predictionscited by 6
- 2024Accurate Explanation Model for Image Classifiers using Class Association Embeddingcited by 6
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainabilitycited by 6
- 2024ASAP: Interpretable Analysis and Summarization of AI-generated Image Patterns at Scalecited by 5
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributionscited by 5
- 2025Evidence Recomposition and Predictive Context Residualization for Visual Attribution in Multimodal Large Language Modelscited by 5
- 2023A Survey of Explainable AI in Deep Visual Modeling: Methods and Metricscited by 4
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2025Correcting Gradient-Based Circuit Localization via Interaction-Aware Backpropagationcited by 4
- 2025Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Bindingcited by 4
50 most cited of 100 All 100 (JSON)
- 2026A Comparative Explainability Framework for DeBERTa-v3 in Zero-Shot Medical Abstract Classification1 Oct 2026
- 2026Explaining Hyperbolic Neural Networks via Geometry-Aware Relevance Propagation28 Sep 2026
- 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers15 Sep 2026
- 2026What Did the MLLM Hear? Token-Level Spectro-Temporal Grounding for Audio MLLM Explainability11 Sep 2026
- 2026What Does Animal Re-Identification Learn? Linear Biological Concepts and Their Origins in Visual Representations5 Sep 2026
- 2026Gradient-Skipping Relevance Propagation for Efficient Explainability of Vision Transformers11 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026Explaining Temporal Graph Neural Networks via Feature-induced Information Flow25 Jun 2026
- 2026Listening makes Vision Clear for VLMs22 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Every Component Is a Lookup: One Linear Graph for Interaction, Composition and Attribution22 May 2026
- 2026How Much Do Circuits Tell Us? Measuring the Consistency and Specificity of Language Model Circuits8 May 2026
38 more
- 2026Evaluating Post-hoc Explanations of the Transformer-based Genome Language Model DNABERT-223 Apr 2026
- 2026Contrastive Attribution in the Wild: An Interpretability Analysis of LLM Failures on Realistic Benchmarks20 Apr 2026
- 2026Sparse but not Simpler: A Multi-Level Interpretability Analysis of Vision Transformers16 Mar 2026
- 2026Beyond Attention Heatmaps: How to Get Better Explanations for Multiple Instance Learning Models in Histopathology9 Mar 2026
- 2026DEEP: Docker-based Execution and Evaluation Platform23 Feb 2026
- 2026Language Model Circuits Are Sparse in the Neuron Basis30 Jan 2026
- 2026TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors25 Jan 2026
- 2026Deconstructing Pre-training: Knowledge Attribution Analysis in MoE and Dense Models13 Jan 2026
- 2025Layer-Wise Modality Decomposition for Interpretable Multimodal Sensor Fusion2 Nov 2025
- 2025When LRP Diverges from Leave-One-Out in Transformers21 Oct 2025
- 2025DePass: Unified Feature Attributing by Simple Decomposed Forward Pass21 Oct 2025
- 2025There is More to Attention: Statistical Filtering Enhances Explanations in Vision Transformers7 Oct 2025
- 2025Evidence Recomposition and Predictive Context Residualization for Visual Attribution in Multimodal Large Language Models26 Sep 2025
- 2025Attention Lattice Adapter: Visual Explanation Generation for Visual Foundation Model18 Sep 2025
- 2025RelP: Faithful and Efficient Circuit Discovery in Language Models via Relevance Patching28 Aug 2025
- 2025Fast and Accurate Explanations of Distance-Based Classifiers by Uncovering Latent Explanatory Structures5 Aug 2025
- 2025Cross-Process Defect Attribution using Potential Loss Analysis27 Jul 2025
- 2025Wafer Defect Root Cause Analysis with Partial Trajectory Regression27 Jul 2025
- 2025Identifying Fine-grained Forms of Populism in Political Discourse: A Case Study on Donald Trump's Presidential Campaigns25 Jul 2025
- 2025Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding3 Jul 2025
- 2025Token Activation Map to Visually Explain Multimodal LLMs29 Jun 2025
- 2025Capturing Polysemanticity with PRISM: A Multi-Concept Feature Description Framework18 Jun 2025
- 2025Towards Desiderata-Driven Design of Visual Counterfactual Explainers17 Jun 2025
- 2025Attribution-Guided Pruning for Insight and Control: Circuit Discovery and Targeted Correction in Small-scale LLMs16 Jun 2025
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability2 Jun 2025
- 2025Correcting Gradient-Based Circuit Localization via Interaction-Aware Backpropagation23 May 2025
- 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentation21 May 2025
- 2025Minimizing False-Positive Attributions in Explanations of Non-Linear Models16 May 2025
- 2025Wasserstein Distances Made Explainable: Insights Into Dataset Shifts and Transport Phenomena9 May 2025
- 2025GMAR: Gradient-Driven Multi-Head Attention Rollout for Vision Transformer Interpretability28 Apr 2025
- 2025TransECG: Leveraging Transformers for Explainable ECG Re-identification Risk Analysis11 Mar 2025
- 2025A Unified Framework with Novel Metrics for Evaluating the Effectiveness of XAI Techniques in LLMs6 Mar 2025
- 2025UniNet: A Unified Multi-granular Traffic Modeling Framework for Network Security6 Mar 2025
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuning3 Mar 2025
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Models21 Feb 2025
- 2025Evaluating the Effectiveness of XAI Techniques for Encoder-Based Language Models26 Jan 2025
- 2025Weakly Supervised Segmentation of Hyper-Reflective Foci with Compact Convolutional Transformers and SAM210 Jan 2025
- 2024Advancing Attribution-Based Neural Network Explainability through Relative Absolute Magnitude Layer-Wise Relevance Propagation and Multi-Component Evaluation12 Dec 2024
50 newest of 100 All 100 (JSON)
- 2025Token Activation Map to Visually Explain Multimodal LLMscited by 30
- 2025Evidence Recomposition and Predictive Context Residualization for Visual Attribution in Multimodal Large Language Modelscited by 5
- 2026What Did the MLLM Hear? Token-Level Spectro-Temporal Grounding for Audio MLLM Explainabilitycited by 0
- 2026What Did the MLLM Hear? Token-Level Spectro-Temporal Grounding for Audio MLLM Explainability11 Sep 2026
- 2025Evidence Recomposition and Predictive Context Residualization for Visual Attribution in Multimodal Large Language Models26 Sep 2025
- 2025Token Activation Map to Visually Explain Multimodal LLMs29 Jun 2025
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun 2024
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation26 May 2024
- 2024The Hidden Attention of Mamba Models3 Mar 2024
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directionscited by 123
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 47
- 2024Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Directioncited by 46
- 2022So3krates: Equivariant attention for interactions on arbitrary length-scales in molecular systemscited by 39
- 2023On the Independence of Association Bias and Empirical Fairness in Language Modelscited by 29
- 2022Disentangled Explanations of Neural Network Predictions by Finding Relevant Subspacescited by 25
- 2024The Clever Hans Effect in Unsupervised Learningcited by 24
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
- 2022Do Transformer Models Show Similar Attention Patterns to Task-Specific Human Gaze?cited by 20
- 2024Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformercited by 19
- 2024On the Faithfulness of Vision Transformer Explanationscited by 19
12 most cited of 91 All 91 (JSON)
- 2026A Comparative Explainability Framework for DeBERTa-v3 in Zero-Shot Medical Abstract Classification1 Oct 2026
- 2026Explaining Hyperbolic Neural Networks via Geometry-Aware Relevance Propagation28 Sep 2026
- 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers15 Sep 2026
- 2026What Does Animal Re-Identification Learn? Linear Biological Concepts and Their Origins in Visual Representations5 Sep 2026
- 2026Gradient-Skipping Relevance Propagation for Efficient Explainability of Vision Transformers11 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026Explaining Temporal Graph Neural Networks via Feature-induced Information Flow25 Jun 2026
- 2026Listening makes Vision Clear for VLMs22 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Every Component Is a Lookup: One Linear Graph for Interaction, Composition and Attribution22 May 2026
- 2026How Much Do Circuits Tell Us? Measuring the Consistency and Specificity of Language Model Circuits8 May 2026
- 2026Evaluating Post-hoc Explanations of the Transformer-based Genome Language Model DNABERT-223 Apr 2026
12 newest of 91 All 91 (JSON)