Enhanced Aspect-Based Sentiment Analysis Models with Progressive Self-supervised Attention Learning

Jinsong Su, Jialong Tang, Hui Jiang, Ziyao Lu, Yubin Ge +4 more
3/5/2021
cs.CL
transformer-attentioncontrastive-ssl

Official code: XMUDeepLIT/PSSAttention (27 stars, Python, last commit 2022-02-04).

Abstract

In aspect-based sentiment analysis (ABSA), many neural models are equipped with an attention mechanism to quantify the contribution of each context word to sentiment prediction. However, such a mechanism suffers from one drawback: only a few frequent words with sentiment polarities are tended to be taken into consideration for final sentiment decision while abundant infrequent sentiment words are ignored by models.

Show full abstract

To deal with this issue, we propose a progressive self-supervised attention learning approach for attentional ABSA models. In this approach, we iteratively perform sentiment prediction on all training instances, and continually learn useful attention supervision information in the meantime. During training, at each iteration, context words with the highest impact on sentiment prediction, identified based on their attention weights or gradients, are extracted as words with active/misleading influence on the correct/incorrect prediction for each instance. Words extracted in this way are masked for subsequent iterations. To exploit these extracted words for refining ABSA models, we augment the conventional training objective with a regularization term that encourages ABSA models to not only take full advantage of the extracted active context words but also decrease the weights of those misleading words. We integrate the proposed approach into three state-of-the-art neural ABSA models. Experiment results and in-depth analyses show that our approach yields better attention results and significantly enhances the performance of all three models. We release the source code and trained models at https://github.com/DeepLearnXMU/PSSAttention.

View on arXivView PDF

Code Implementations(1)

Codes for # ACL2019 paper "Progressive Self-Supervised Attention Learning for Aspect-Level Sentiment Analysis", which contains TNet-Att(+AS) and MN(+AS)

275Python, ShellJun 1, 20194 years ago

Similar Papers

Cite this paper

@article{su2021enhanced,
  title  = {Enhanced Aspect-Based Sentiment Analysis Models with Progressive Self-supervised Attention Learning},
  author = {Jinsong Su and Jialong Tang and Hui Jiang and Ziyao Lu and Yubin Ge and Linfeng Song and Deyi Xiong and Le Sun and Jiebo Luo},
  year   = {2021},
  eprint = {2103.03446},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03446}
}

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

Discussion