Generating Hierarchical Explanations on Text Classification via Feature Interaction Detection

Hanjie Chen, Guangtao Zheng, Yangfeng Ji
4/4/2020
116 citations
cs.CL

Official code: UVa-NLP/HEDGE (30 stars, Python, last commit 2021-01-23).

Abstract

Generating explanations for neural networks has become crucial for their applications in real-world with respect to reliability and trustworthiness. In natural language processing, existing methods usually provide important features which are words or phrases selected from an input text as an explanation, but ignore the interactions between them.

Show full abstract

It poses challenges for humans to interpret an explanation and connect it to model prediction. In this work, we build hierarchical explanations by detecting feature interactions. Such explanations visualize how words and phrases are combined at different levels of the hierarchy, which can help users understand the decision-making of black-box models. The proposed method is evaluated with three neural text classifiers (LSTM, CNN, and BERT) on two benchmark datasets, via both automatic and human evaluations. Experiments show the effectiveness of the proposed method in providing explanations that are both faithful to models and interpretable to humans.

View on arXivView PDF

Code Implementations(1)

UVa-NLP/HEDGEOfficial100%

Code for the paper "Generating Hierarchical Explanations on Text Classification via Feature Interaction Detection"

3013PythonApr 30, 20205 years ago

Similar Papers

Cite this paper

@article{chen2020generating,
  title  = {Generating Hierarchical Explanations on Text Classification via Feature Interaction Detection},
  author = {Hanjie Chen and Guangtao Zheng and Yangfeng Ji},
  year   = {2020},
  eprint = {2004.02015},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.02015}
}

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

Discussion