Staying True to Your Word: (How) Can Attention Become Explanation?

Martin Tutek, Jan Snajder


Abstract
The attention mechanism has quickly become ubiquitous in NLP. In addition to improving performance of models, attention has been widely used as a glimpse into the inner workings of NLP models. The latter aspect has in the recent years become a common topic of discussion, most notably in recent work of Jain and Wallace; Wiegreffe and Pinter. With the shortcomings of using attention weights as a tool of transparency revealed, the attention mechanism has been stuck in a limbo without concrete proof when and whether it can be used as an explanation. In this paper, we provide an explanation as to why attention has seen rightful critique when used with recurrent networks in sequence classification tasks. We propose a remedy to these issues in the form of a word level objective and our findings give credibility for attention to provide faithful interpretations of recurrent models.
Anthology ID:
2020.repl4nlp-1.17
Volume:
Proceedings of the 5th Workshop on Representation Learning for NLP
Month:
July
Year:
2020
Address:
Online
Editors:
Spandana Gella, Johannes Welbl, Marek Rei, Fabio Petroni, Patrick Lewis, Emma Strubell, Minjoon Seo, Hannaneh Hajishirzi
Venue:
RepL4NLP
SIG:
SIGREP
Publisher:
Association for Computational Linguistics
Note:
Pages:
131–142
Language:
URL:
https://aclanthology.org/2020.repl4nlp-1.17
DOI:
10.18653/v1/2020.repl4nlp-1.17
Bibkey:
Cite (ACL):
Martin Tutek and Jan Snajder. 2020. Staying True to Your Word: (How) Can Attention Become Explanation?. In Proceedings of the 5th Workshop on Representation Learning for NLP, pages 131–142, Online. Association for Computational Linguistics.
Cite (Informal):
Staying True to Your Word: (How) Can Attention Become Explanation? (Tutek & Snajder, RepL4NLP 2020)
Copy Citation:
PDF:
https://aclanthology.org/2020.repl4nlp-1.17.pdf
Video:
 http://slideslive.com/38929783
Data
SST