CONTRASTE: Supervised Contrastive Pre-training With Aspect-based Prompts For Aspect Sentiment Triplet Extraction

Rajdeep Mukherjee, Nithish Kannen, Saurabh Kumar Pandey, Pawan Goyal
10/24/2023
cs.CLcs.AI

No official code found. Best implementation: nitkannen/CONTRASTE (10 stars, last commit 2024-02-15).

Abstract

Existing works on Aspect Sentiment Triplet Extraction (ASTE) explicitly focus on developing more efficient fine-tuning techniques for the task. Instead, our motivation is to come up with a generic approach that can improve the downstream performances of multiple ABSA tasks simultaneously. Towards this, we present CONTRASTE, a novel pre-training strategy using CONTRastive learning to enhance the ASTE performance. While we primarily focus on ASTE, we also demonstrate the advantage of our proposed technique on other ABSA tasks such as ACOS, TASD, and AESC. Given a sentence and its associated (aspect, opinion, sentiment) triplets, first, we design aspect-based prompts with corresponding sentiments masked. We then (pre)train an encoder-decoder model by applying contrastive learning on the decoder-generated aspect-aware sentiment representations of the masked terms. For fine-tuning the model weights thus obtained, we then propose a novel multi-task approach where the base encoder-decoder model is combined with two complementary modules, a tagging-based Opinion Term Detector, and a regression-based Triplet Count Estimator. Exhaustive experiments on four benchmark datasets and a detailed ablation study establish the importance of each of our proposed components as we achieve new state-of-the-art ASTE results.

View on arXivView PDF

Code Implementations(1)

nitkannen/CONTRASTECommunity100%

Official codes for EMNLP 2023 Findings paper "CONTRASTE: Supervised Contrastive Pre-training With Aspect-based Prompts For Aspect Sentiment Triplet Extraction"

100Shell, PythonOct 11, 20232 years ago

Similar Papers

Cite this paper

@article{mukherjee2023contraste,
  title  = {CONTRASTE: Supervised Contrastive Pre-training With Aspect-based Prompts For Aspect Sentiment Triplet Extraction},
  author = {Rajdeep Mukherjee and Nithish Kannen and Saurabh Kumar Pandey and Pawan Goyal},
  year   = {2023},
  eprint = {2310.15577},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.15577v1}
}

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

Discussion