Hierarchical Interpretation of Neural Text Classification

Hanqi Yan, Lin Gui, Yulan He
2/20/2022
cs.CLcs.AIcs.IR

Official code: hanqi-qi/HINT (4 stars, Python, MIT, last commit 2022-01-17).

Abstract

Recent years have witnessed increasing interests in developing interpretable models in Natural Language Processing (NLP). Most existing models aim at identifying input features such as words or phrases important for model predictions.

Show full abstract

Neural models developed in NLP however often compose word semantics in a hierarchical manner and text classification requires hierarchical modelling to aggregate local information in order to deal with topic and label shifts more effectively. As such, interpretation by words or phrases only cannot faithfully explain model decisions in text classification. This paper proposes a novel Hierarchical INTerpretable neural text classifier, called Hint, which can automatically generate explanations of model predictions in the form of label-associated topics in a hierarchical manner. Model interpretation is no longer at the word level, but built on topics as the basic semantic unit. Experimental results on both review datasets and news datasets show that our proposed approach achieves text classification results on par with existing state-of-the-art text classifiers, and generates interpretations more faithful to model predictions and better understood by humans than other interpretable neural text classifiers.

View on arXivView PDF

Code Implementations(1)

hanqi-qi/HINTOfficial100%
MIT
40PythonDec 6, 20214 years agoMIT

Similar Papers

Cite this paper

@article{yan2022hierarchical,
  title  = {Hierarchical Interpretation of Neural Text Classification},
  author = {Hanqi Yan and Lin Gui and Yulan He},
  year   = {2022},
  eprint = {2202.09792},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.09792}
}

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

Discussion