Explaining a Neural Attention Model for Aspect-Based Sentiment Classification Using Diagnostic Classification

Lisa Meijer, Flavius Frasincar, Maria Mihaela Trusca
3/29/2021
cs.CL

Official code: lhmeijer/ABSCEM (0 stars, Python, last commit 2022-12-08).

Abstract

Many high performance machine learning models for Aspect-Based Sentiment Classification (ABSC) produce black box models, and therefore barely explain how they classify a certain sentiment value towards an aspect. In this paper, we propose explanation models, that inspect the internal dynamics of a state-of-the-art neural attention model, the LCR-Rot-hop, by using a technique called Diagnostic Classification.

Show full abstract

Our diagnostic classifier is a simple neural network, which evaluates whether the internal layers of the LCR-Rot-hop model encode useful word information for classification, i.e., the part of speech, the sentiment value, the presence of aspect relation, and the aspect-related sentiment value of words. We conclude that the lower layers in the LCR-Rot-hop model encode the part of speech and the sentiment value, whereas the higher layers represent the presence of a relation with the aspect and the aspect-related sentiment value of words.

View on arXivView PDF

Code Implementations(1)

lhmeijer/ABSCEMOfficial100%
01PythonJun 4, 20193 years ago

Similar Papers

Cite this paper

@article{meijer2021explaining,
  title  = {Explaining a Neural Attention Model for Aspect-Based Sentiment Classification Using Diagnostic Classification},
  author = {Lisa Meijer and Flavius Frasincar and Maria Mihaela Trusca},
  year   = {2021},
  eprint = {2103.15927},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.15927}
}

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

Discussion