mlsanityData to 14 Oct 2026

On the Interpretability of Attention Networks

arXiv 2212.14776 ↗First posted 30 Dec 2022cs.LGcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
  7. 2018Attention-based Deep Multiple Instance Learningcited by 1,095
  8. 2019Attention is not Explanationcited by 929
  9. 2019Attention is not not Explanationcited by 636
  10. 2013Generating Sequences With Recurrent Neural Networkscited by 554
  11. 2014Recurrent Models of Visual Attentioncited by 349
  12. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
7 more
  1. 2016Bidirectional Attention Flow for Machine Comprehensioncited by 278
  2. 2014End-to-end Continuous Speech Recognition using Attention-based Recurrent NN: First Resultscited by 68
  3. 2018Latent Alignment and Variational Attentioncited by 36
  4. 2013Riemannian metrics for neural networks I: feedforward networkscited by 30
  5. 2015An Exploration of Softmax Alternatives Belonging to the Spherical Loss Familycited by 27
  6. 2018On Controllable Sparse Alternatives to Softmaxcited by 27
  7. 2014Efficient Exact Gradient Update for training Deep Networks with Very Large Sparse Targetscited by 10

Built on by

Cited by year (2026 to 14 Oct)

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

5 papers.