CONTRASTE: Supervised Contrastive Pre-training With Aspect-based Prompts For Aspect Sentiment Triplet Extraction
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| aspect sentiment triplet extraction | 16Rest ASTE-DATA-V2 (test) | Precision72.2 | 32 | |
| aspect sentiment triplet extraction | 14Rest ASTE-DATA-V2 (test) | Precision73.6 | 32 | |
| aspect sentiment triplet extraction | 14Lap ASTE-DATA-V2 (test) | Precision64.2 | 32 | |
| aspect sentiment triplet extraction | 15Rest ASTE-DATA-V2 (test) | Precision65.3 | 32 | |
| aspect sentiment triplet extraction | Rest 15 (test) | F1 Score66.4 | 26 | |
| Aspect Sentiment Quad Prediction | Rest15 (test) | F1 Score0.478 | 25 | |
| Aspect Extraction and Sentiment Classification (AESC) | 14lap (test) | F1 Score73.1 | 22 | |
| Aspect Sentiment Quad Prediction | Rest16 (test) | F1 Score59.8 | 21 | |
| Aspect-Based Sentiment Analysis (ABSA) | ACOS Rest | F1 Score60.5 | 20 | |
| Aspect Category Opinion Sentiment Quad Prediction | Lap-ACOS (test) | F1 Score44.6 | 16 |