Is Attention Interpretation? A Quantitative Assessment On Sets

Jonathan Haab, Nicolas Deutschmann, Maria Rodríguez Martínez
7/26/2022
cs.LG

No confident code implementation found for this paper.

Abstract

The debate around the interpretability of attention mechanisms is centered on whether attention scores can be used as a proxy for the relative amounts of signal carried by sub-components of data. We propose to study the interpretability of attention in the context of set machine learning, where each data point is composed of an unordered collection of instances with a global label. For classical multiple-instance-learning problems and simple extensions, there is a well-defined "importance" ground truth that can be leveraged to cast interpretation as a binary classification problem, which we can quantitatively evaluate. By building synthetic datasets over several data modalities, we perform a systematic assessment of attention-based interpretations. We find that attention distributions are indeed often reflective of the relative importance of individual instances, but that silent failures happen where a model will have high classification performance but attention patterns that do not align with expectations. Based on these observations, we propose to use ensembling to minimize the risk of misleading attention-based explanations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{haab2022attention,
  title  = {Is Attention Interpretation? A Quantitative Assessment On Sets},
  author = {Jonathan Haab and Nicolas Deutschmann and Maria Rodríguez Martínez},
  year   = {2022},
  eprint = {2207.13018},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.13018v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.13018.svg)](https://codeofpaper.com/paper/2207.13018)

Discussion