A Contrastive Cross-Channel Data Augmentation Framework for Aspect-based Sentiment Analysis

Bing Wang, Liang Ding, Qihuang Zhong, Ximing Li, Dacheng Tao
4/16/2022
cs.CL

Official code: wangbing1416/C3DA (22 stars, Python, last commit 2023-02-18).

Abstract

Aspect-based sentiment analysis (ABSA) is a fine-grained sentiment analysis task, which focuses on detecting the sentiment polarity towards the aspect in a sentence. However, it is always sensitive to the multi-aspect challenge, where features of multiple aspects in a sentence will affect each other.

Show full abstract

To mitigate this issue, we design a novel training framework, called Contrastive Cross-Channel Data Augmentation (C3 DA), which leverages an in-domain generator to construct more multi-aspect samples and then boosts the robustness of ABSA models via contrastive learning on these generated data. In practice, given a generative pretrained language model and some limited ABSA labeled data, we first employ some parameter-efficient approaches to perform the in-domain fine-tuning. Then, the obtained in-domain generator is used to generate the synthetic sentences from two channels, i.e., Aspect Augmentation Channel and Polarity Augmentation Channel, which generate the sentence condition on a given aspect and polarity respectively. Specifically, our C3 DA performs the sentence generation in a cross-channel manner to obtain more sentences, and proposes an Entropy-Minimization Filter to filter low-quality generated samples. Extensive experiments show that our C3 DA can outperform those baselines without any augmentations by about 1% on accuracy and Macro- F1. Code and data are released in https://github.com/wangbing1416/C3DA.

View on arXivView PDF

Code Implementations(1)

wangbing1416/C3DAOfficial100%

Source code of COLING 2022 paper "A Contrastive Cross-channel Data Augmentation Framework for Aspect-based Sentiment Analysis"

221Python, ShellMay 17, 20223 years ago

Similar Papers

Cite this paper

@article{wang2022contrastive,
  title  = {A Contrastive Cross-Channel Data Augmentation Framework for Aspect-based Sentiment Analysis},
  author = {Bing Wang and Liang Ding and Qihuang Zhong and Ximing Li and Dacheng Tao},
  year   = {2022},
  eprint = {2204.07832},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07832}
}

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

Discussion