Improving aspect-based sentiment analysis with contrastive learning

  • Lingling XU
  • , Weiming WANG*
  • *Corresponding author for this work

Research output: Journal PublicationsJournal Article (refereed)peer-review

Abstract

As a fine-grained sentiment analysis task focusing on detecting the sentiment polarity of aspect(s) in a sentence, aspect-based sentiment analysis (ABSA) plays a significant role in opinion analysis and review analysis. Recently, a number of methods have emerged to leverage contrastive learning techniques to enhance the performance of ABSA by learning fine-grained sentiment representations. In this paper, we present and compare two commonly used contrastive learning approaches for enhancing ABSA performance: sentiment-based supervised contrastive learning and augmentation-based unsupervised contrastive learning. Sentiment-based supervised contrastive learning employs sentiment labels to distinguish between positive and negative samples. Augmentation-based unsupervised contrastive learning aims to utilize various data augmentation strategies to generate positive samples. Experimental results on three public ABSA datasets demonstrate that both contrastive learning methods significantly improve the performance of ABSA. Sentiment-based supervised contrastive learning outperforms augmentation-based unsupervised contrastive learning in terms of overall performance improvements. Furthermore, we conduct additional experiments to illustrate the effectiveness and generalizability of these two contrastive learning approaches. The experimental code and data are publicly available at the link: https://github.com/Linda230/ABSA-CL.
Original languageEnglish
Article number100009
Number of pages6
JournalNatural Language Processing Journal
Volume3
Early online date5 May 2023
DOIs
Publication statusPublished - Jun 2023
Externally publishedYes

Funding

The work described in this paper was supported by the Katie Shu Sui Pui Charitable Trust — Academic Publication Fellowship (Reference No.: KSPF/2022/01), Hong Kong Metropolitan University.

Keywords

  • Aspect-based sentiment analysis
  • Data augmentation
  • Sentiment label

Fingerprint

Dive into the research topics of 'Improving aspect-based sentiment analysis with contrastive learning'. Together they form a unique fingerprint.

Cite this