Is Attention Interpretable?

By Sofia Serrano, Noah A. Smith. 2019

844 citations recorded by the source corpus.

Attention mechanisms have recently boosted performance on a range of NLP tasks. Because attention layers explicitly weight input components’ representations, it is also often assumed that attention can be used to identify information that models found important (e.g., specific contextualized word tokens). We test whether that assumption holds by manipulating attention weights in already-trained text classification models and analyzing the resulting differences in their predictions. While we observe some ways in which higher attention weights correlate with greater impact on model predictions, we also find many ways in which this does not hold, i.e., where gradient-based rankings of attention weights better predict their effects than their magnitudes. We conclude that while attention noisily predicts input components’ overall importance to a model, it is by no means a fail-safe indicator.1

Subfields: Artificial Intelligence, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yonatan Belinkov
  3. Yejin Choi
  4. Luke S. Zettlemoyer
  5. Noah A. Smith
  6. Percy Liang
  7. Hannaneh Hajishirzi
  8. Yoav Goldberg

In Safety, Robustness & Interpretability

  1. Yulia Tsvetkov
  2. Noah A. Smith
  3. Ana Marasovic
  4. Sarah Wiegreffe
  5. Yoav Goldberg
  6. Yonatan Belinkov
  7. Yejin Choi
  8. Eric Wallace

Citations in the corpus