Explaining Recurrent Neural Network Predictions in Sentiment Analysis

Leila Arras, Grégoire Montavon, Klaus-Robert Müller, Wojciech Samek
6/22/2017
392 citations
cs.CLcs.AIcs.NE

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

Abstract

Recently, a technique called Layer-wise Relevance Propagation (LRP) was shown to deliver insightful explanations in the form of input space relevances for understanding feed-forward neural network classification decisions. In the present work, we extend the usage of LRP to recurrent neural networks.

Show full abstract

We propose a specific propagation rule applicable to multiplicative connections as they arise in recurrent network architectures such as LSTMs and GRUs. We apply our technique to a word-based bi-directional LSTM model on a five-class sentiment prediction task, and evaluate the resulting LRP relevances both qualitatively and quantitatively, obtaining better results than a gradient-based related method which was used in previous work.

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{arras2017explaining,
  title  = {Explaining Recurrent Neural Network Predictions in Sentiment Analysis},
  author = {Leila Arras and Grégoire Montavon and Klaus-Robert Müller and Wojciech Samek},
  year   = {2017},
  eprint = {1706.07206},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1706.07206}
}

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

Discussion