mlsanityData to 14 Oct 2026

Better Explain Transformers by Illuminating Important Information

arXiv 2401.09972 ↗First posted 18 Jan 2024cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Transformer-based models excel in various natural language processing (NLP) tasks, attracting countless efforts to explain their inner workings. Prior methods explain Transformers by focusing on the raw gradient and attention as token attribution scores, where non-relevant information is often considered during explanation computation, resulting in confusing results. In this work, we propose highlighting the important information and eliminating irrelevant information by a refined information flow on top of the layer-wise relevance propagation (LRP) method. Specifically, we consider identifying syntactic and positional heads as important attention heads and focus on the relevance obtained from these important heads. Experimental results demonstrate that irrelevant information does distort output attribution scores and then should be masked during explanation computation. Compared to eight baselines on both classification and question-answering datasets, our method consistently outperforms with over 3% to 33% improvement on explanation metrics, providing superior explanation performance. Our anonymous code repository is available at: https://github.com/LinxinS97/Mask-LRP

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 31 of its 42 references that are in the map. First posted on arXiv 18 Jan 2024.

Builds on

31 of 42 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  9. 2015Learning Deep Features for Discriminative Localizationcited by 2,436
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  11. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  12. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
19 more
  1. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  2. 2019Attention is not Explanationcited by 929
  3. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  4. 2020Quantifying Attention Flow in Transformerscited by 775
  5. 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
  6. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
  7. 2019Revealing the Dark Secrets of BERTcited by 301
  8. 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 250
  9. 2019Full-Gradient Representation for Neural Network Visualizationcited by 191
  10. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 159
  11. 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
  12. 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
  13. 2019AllenNLP Interpret: A Framework for Explaining Predictions of NLP Modelscited by 74
  14. 2019Perturbation Sensitivity Analysis to Detect Unintended Model Biasescited by 74
  15. 2022Measuring the Mixing of Contextual Information in the Transformercited by 65
  16. 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 51
  17. 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
  18. 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
  19. 2021Fast Axiomatic Attribution for Neural Networkscited by 35

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 5.

8 papers.