Evaluating Recurrent Neural Network Explanations

Leila Arras, Ahmed Osman, Klaus-Robert Müller, Wojciech Samek
4/26/2019
cs.LGcs.NEstat.ML

Official code: ArrasL/LRP_for_LSTM (225 stars, Python, last commit 2020-04-24).

Abstract

Recently, several methods have been proposed to explain the predictions of recurrent neural networks (RNNs), in particular of LSTMs. The goal of these methods is to understand the network's decisions by assigning to each input variable, e.g., a word, a relevance indicating to which extent it contributed to a particular prediction.

Show full abstract

In previous works, some of these methods were not yet compared to one another, or were evaluated only qualitatively. We close this gap by systematically and quantitatively comparing these methods in different settings, namely (1) a toy arithmetic task which we use as a sanity check, (2) a five-class sentiment prediction of movie reviews, and besides (3) we explore the usefulness of word relevances to build sentence-level representations. Lastly, using the method that performed best in our experiments, we show how specific linguistic phenomena such as the negation in sentiment analysis reflect in terms of relevance patterns, and how the relevance visualization can help to understand the misclassification of individual samples.

View on arXivView PDF

Code Implementations(1)

Layer-wise Relevance Propagation (LRP) for LSTMs.

22561Python, Jupyter NotebookJun 21, 20176 years agoNOASSERTION
interpretabilitylstmsrecurrent-neural-networksxai

Similar Papers

Cite this paper

@article{arras2019evaluating,
  title  = {Evaluating Recurrent Neural Network Explanations},
  author = {Leila Arras and Ahmed Osman and Klaus-Robert Müller and Wojciech Samek},
  year   = {2019},
  eprint = {1904.11829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.11829}
}

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/1904.11829.svg)](https://codeofpaper.com/paper/1904.11829)

Discussion