On the Interpretability of Attention Networks
Not on the map. Why?
Abstract (arXiv)
Attention mechanisms form a core component of several successful deep learning architectures, and are based on one key idea: ''The output depends only on a small (but unknown) segment of the input.'' In several practical applications like image captioning and language translation, this is mostly true. In trained models with an attention mechanism, the outputs of an intermediate module that encodes the segment of input responsible for the output is often used as a way to peek into the `reasoning` of the network. We make such a notion more precise for a variant of the classification problem that we term selective dependence classification (SDC) when used with attention model architectures. Under such a setting, we demonstrate various error modes where an attention model can be accurate but fail to be interpretable, and show that such models do occur as a result of training. We illustrate various situations that can accentuate and mitigate this behaviour. Finally, we use our objective definition of interpretability for SDC tasks to evaluate a few attention model learning algorithms designed to encourage sparsity and demonstrate that these algorithms help improve interpretability.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 19 of its 27 references that are in the map. First posted on arXiv 30 Dec 2022.
Builds on
19 of 27 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2019Attention is not Explanationcited by 929
- 2019Attention is not not Explanationcited by 636
- 2013Generating Sequences With Recurrent Neural Networkscited by 554
- 2014Recurrent Models of Visual Attentioncited by 349
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
7 more
- 2016Bidirectional Attention Flow for Machine Comprehensioncited by 278
- 2014End-to-end Continuous Speech Recognition using Attention-based Recurrent NN: First Resultscited by 68
- 2018Latent Alignment and Variational Attentioncited by 36
- 2013Riemannian metrics for neural networks I: feedforward networkscited by 30
- 2015An Exploration of Softmax Alternatives Belonging to the Spherical Loss Familycited by 27
- 2018On Controllable Sparse Alternatives to Softmaxcited by 27
- 2014Efficient Exact Gradient Update for training Deep Networks with Very Large Sparse Targetscited by 10
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1; 2026: 2.
5 papers.
- 2024Beyond Label Attention: Transparency in Language Models for Automated Medical Coding via Dictionary Learningcited by 5
- 2023On the Learning Dynamics of Attention Networkscited by 2
- 2026Faster Query-Key Learning Sharpens Attention in Self-Attention Modelscited by 1
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustnesscited by 0
- 2026A Practical Guide Towards Interpreting Time-Series Deep Clinical Predictive Models: A Reproducibility Studycited by 0
- 2026Faster Query-Key Learning Sharpens Attention in Self-Attention Models7 Aug 2026
- 2026A Practical Guide Towards Interpreting Time-Series Deep Clinical Predictive Models: A Reproducibility Study25 Mar 2026
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2024Beyond Label Attention: Transparency in Language Models for Automated Medical Coding via Dictionary Learning31 Oct 2024
- 2023On the Learning Dynamics of Attention Networks25 Jul 2023