Learning Variational Word Masks to Improve the Interpretability of Neural Text Classifiers

Hanjie Chen, Yangfeng Ji
10/1/2020
69 citations
cs.CLcs.LG

Official code: UVa-NLP/VMASK (18 stars, Python, last commit 2020-12-15).

Abstract

To build an interpretable neural text classifier, most of the prior work has focused on designing inherently interpretable models or finding faithful explanations. A new line of work on improving model interpretability has just started, and many existing methods require either prior information or human annotations as additional inputs in training.

Show full abstract

To address this limitation, we propose the variational word mask (VMASK) method to automatically learn task-specific important words and reduce irrelevant information on classification, which ultimately improves the interpretability of model predictions. The proposed method is evaluated with three neural text classifiers (CNN, LSTM, and BERT) on seven benchmark text classification datasets. Experiments show the effectiveness of VMASK in improving both model prediction accuracy and interpretability.

View on arXivView PDF

Code Implementations(1)

UVa-NLP/VMASKOfficial100%

Code for the paper "Learning Variational Word Masks to Improve the Interpretability of Neural Text Classifiers"

181PythonSep 19, 20205 years ago

Similar Papers

Cite this paper

@article{chen2020learning,
  title  = {Learning Variational Word Masks to Improve the Interpretability of Neural Text Classifiers},
  author = {Hanjie Chen and Yangfeng Ji},
  year   = {2020},
  eprint = {2010.00667},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.00667}
}

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

Discussion