GRACE: Gradient Harmonized and Cascaded Labeling for Aspect-based Sentiment Analysis

Huaishao Luo, Lei Ji, Tianrui Li, Nan Duan, Daxin Jiang
9/22/2020
cs.CL

Official code: ArrowLuo/GRACE (21 stars, Python, Apache-2.0, last commit 2022-11-23).

Abstract

In this paper, we focus on the imbalance issue, which is rarely studied in aspect term extraction and aspect sentiment classification when regarding them as sequence labeling tasks. Besides, previous works usually ignore the interaction between aspect terms when labeling polarities.

Show full abstract

We propose a GRadient hArmonized and CascadEd labeling model (GRACE) to solve these problems. Specifically, a cascaded labeling module is developed to enhance the interchange between aspect terms and improve the attention of sentiment tokens when labeling sentiment polarities. The polarities sequence is designed to depend on the generated aspect terms labels. To alleviate the imbalance issue, we extend the gradient harmonized mechanism used in object detection to the aspect-based sentiment analysis by adjusting the weight of each label dynamically. The proposed GRACE adopts a post-pretraining BERT as its backbone. Experimental results demonstrate that the proposed model achieves consistency improvement on multiple benchmark datasets and generates state-of-the-art results.

View on arXivView PDF

Code Implementations(1)

ArrowLuo/GRACEOfficial100%
Apache-2.0

The impletation of paper titled GRACE: Gradient Harmonized and Cascaded Labeling for Aspect-based Sentiment Analysis

218PythonMay 30, 20204 years agoApache-2.0
aspect-based-sentiment-analysisaspect-sentiment-classificationaspect-term-extractionopinion-target-extractionsentiment-analysis

Similar Papers

Cite this paper

@article{luo2020grace,
  title  = {GRACE: Gradient Harmonized and Cascaded Labeling for Aspect-based Sentiment Analysis},
  author = {Huaishao Luo and Lei Ji and Tianrui Li and Nan Duan and Daxin Jiang},
  year   = {2020},
  eprint = {2009.10557},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.10557}
}

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

Discussion