SelfExplain: A Self-Explaining Architecture for Neural Text Classifiers

Dheeraj Rajagopal, Vidhisha Balachandran, Eduard Hovy, Yulia Tsvetkov
3/23/2021
82 citations
cs.CL

Official code: dheerajrajagopal/SelfExplain (38 stars, Python, last commit 2023-04-29).

Abstract

We introduce SelfExplain, a novel self-explaining model that explains a text classifier's predictions using phrase-based concepts. SelfExplain augments existing neural classifiers by adding (1) a globally interpretable layer that identifies the most influential concepts in the training set for a given sample and (2) a locally interpretable layer that quantifies the contribution of each local input concept by computing a relevance score relative to the predicted label.

Show full abstract

Experiments across five text-classification datasets show that SelfExplain facilitates interpretability without sacrificing performance. Most importantly, explanations from SelfExplain show sufficiency for model predictions and are perceived as adequate, trustworthy and understandable by human judges compared to existing widely-used baselines.

View on arXivView PDF

Code Implementations(1)

3816Python, ShellFeb 18, 20213 years ago

Similar Papers

Cite this paper

@article{rajagopal2021selfexplain,
  title  = {SelfExplain: A Self-Explaining Architecture for Neural Text Classifiers},
  author = {Dheeraj Rajagopal and Vidhisha Balachandran and Eduard Hovy and Yulia Tsvetkov},
  year   = {2021},
  eprint = {2103.12279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12279}
}

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

Discussion