Evaluating Saliency Methods for Neural Language Models

Shuoyang Ding, Philipp Koehn
4/12/2021
cs.CL

Official code: shuoyangd/tarsius (4 stars, Python, MIT, last commit 2021-06-10).

Abstract

Saliency methods are widely used to interpret neural network predictions, but different variants of saliency methods often disagree even on the interpretations of the same prediction made by the same model. In these cases, how do we identify when are these interpretations trustworthy enough to be used in analyses?

Show full abstract

To address this question, we conduct a comprehensive and quantitative evaluation of saliency methods on a fundamental category of NLP models: neural language models. We evaluate the quality of prediction interpretations from two perspectives that each represents a desirable property of these interpretations: plausibility and faithfulness. Our evaluation is conducted on four different datasets constructed from the existing human annotation of syntactic and semantic agreements, on both sentence-level and document-level. Through our evaluation, we identified various ways saliency methods could yield interpretations of low quality. We recommend that future work deploying such methods to neural language models should carefully validate their interpretations before drawing insights.

View on arXivView PDF

Code Implementations(1)

shuoyangd/tarsiusOfficial100%
MIT
40Python, ShellMar 30, 20215 years agoMIT

Similar Papers

Cite this paper

@article{ding2021evaluating,
  title  = {Evaluating Saliency Methods for Neural Language Models},
  author = {Shuoyang Ding and Philipp Koehn},
  year   = {2021},
  eprint = {2104.05824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05824}
}

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

Discussion