A Novel Counterfactual Data Augmentation Method for Aspect-Based Sentiment Analysis

Dongming Wu, Lulu Wen, Chao Chen, Zhaoshu Shi
6/20/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Aspect-based-sentiment-analysis (ABSA) is a fine-grained sentiment evaluation task, which analyzes the emotional polarity of the evaluation aspects. Generally, the emotional polarity of an aspect exists in the corresponding opinion expression, whose diversity has great impact on model's performance. To mitigate this problem, we propose a novel and simple counterfactual data augmentation method to generate opinion expressions with reversed sentiment polarity. In particular, the integrated gradients are calculated to locate and mask the opinion expression. Then, a prompt combined with the reverse expression polarity is added to the original text, and a Pre-trained language model (PLM), T5, is finally was employed to predict the masks. The experimental results shows the proposed counterfactual data augmentation method performs better than current augmentation methods on three ABSA datasets, i.e. Laptop, Restaurant, and MAMS.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2023novel,
  title  = {A Novel Counterfactual Data Augmentation Method for Aspect-Based Sentiment Analysis},
  author = {Dongming Wu and Lulu Wen and Chao Chen and Zhaoshu Shi},
  year   = {2023},
  eprint = {2306.11260},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.11260v3}
}

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

Discussion