mlsanityData to 7 Oct 2026

Revisiting Attention Weights as Explanations from an Information Theoretic Perspective

arXiv 2211.07714 ↗First posted 31 Oct 2022cs.CL cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Attention mechanisms have recently demonstrated impressive performance on a range of NLP tasks, and attention scores are often used as a proxy for model explainability. However, there is a debate on whether attention weights can, in fact, be used to identify the most important inputs to a model. We approach this question from an information theoretic perspective by measuring the mutual information between the model output and the hidden states. From extensive experiments, we draw the following conclusions: (i) Additive and Deep attention mechanisms are likely to be better at preserving the information between the hidden states and the model output (compared to Scaled Dot-product); (ii) ablation studies indicate that Additive attention can actively learn to explain the importance of its input hidden representations; (iii) when attention values are nearly the same, the rank order of attention values is not consistent with the rank order of the mutual information(iv) Using Gumbel-Softmax with a temperature lower than one, tends to produce a more skewed attention score distribution compared to softmax and hence is a better choice for explainable design; (v) some building blocks are better at preserving the correlation between the ordered list of mutual information and attention weights order (for e.g., the combination of BiLSTM encoder and Additive attention). Our findings indicate that attention mechanisms do have the potential to function as a shortcut to model explanations when they are carefully combined with other model elements.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 31 Oct 2022.

Builds on

17 of 25 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  4. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  5. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  6. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  7. 2019Attention is not Explanationcited by 916
  8. 2015Deep Learning and the Information Bottleneck Principlecited by 793
  9. 2019Attention is not not Explanationcited by 629
  10. 2018Assessing Generative Models via Precision and Recallcited by 401
  11. 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 344
  12. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
5 more
  1. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
  2. 2018Explainable Prediction of Medical Codes from Clinical Textcited by 231
  3. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  4. 2019Explaining a black-box using Deep Variational Information Bottleneck Approachcited by 35
  5. 2019Generating Token-Level Explanations for Natural Language Inferencecited by 28

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.