Introduction
Aspect-Based Sentiment Analysis (ABSA) is a specialized task in natural language processing that involves identifying the sentiment polarity—positive, negative, or neutral—associated with specific features or "aspects" of a product or service. While modern Transformer-based models have achieved high performance in detecting explicit sentiment cues (e.g., "The food was excellent"), they frequently struggle with implicit sentiment.
Implicit sentiment occurs when a statement conveys a clear emotional orientation without using explicit polarity markers. For instance, the sentence "The waiter poured water on my hand and walked away" is objectively negative to a human reader, yet it contains no traditionally "bad" words. Research indicates that nearly 30% of reviews in standard benchmarks contain such implicit expressions. This paper introduces SCAPT (Supervised ContrAstive Pre-Training), a framework designed to bridge the gap between factual descriptions and emotional interpretations by aligning the mathematical representations of implicit and explicit sentiment.
Methodology
The SCAPT framework is designed to inject sentiment-specific knowledge into models like BERT during a pre-training phase, before they are fine-tuned for specific ABSA tasks. The architecture employs three joint learning objectives to capture both semantic context and sentiment orientation.
- Supervised Contrastive Learning (SCL): This is the primary innovation of the paper. In the embedding space, the model is trained to minimize the distance between representations of sentences with the same sentiment label (clustering explicit and implicit expressions together) while maximizing the distance between those with different labels. This forces the model to recognize that factual statements like "the battery lasts one hour" share an underlying representation with explicit negatives like "this laptop is garbage."
- Review Reconstruction: Utilizing a denoising auto-encoder approach, the model learns to reconstruct a full review from a compressed representation. This ensures that the model retains broad semantic context and does not overfit solely on sentiment labels.
- Masked Aspect Prediction: Similar to standard masked language modeling, this objective specifically targets "aspect" words (e.g., "pizza," "service"). This helps the model associate specific contexts with the features being discussed.
Following pre-training, the model undergoes Aspect-Aware Fine-tuning, where it combines general context representations with specific aspect representations to produce a final classification.
Experimental Setup
The researchers evaluated SCAPT on several industry-standard benchmarks, including SemEval-2014 (Task 4) for Laptop and Restaurant reviews and the MAMS (Multi-Aspect Multi-Sentiment) dataset. For pre-training, they leveraged large-scale external corpora: 1.56 million restaurant reviews from Yelp and 0.51 million laptop reviews from Amazon, using star ratings as proxy sentiment labels.
To specifically measure the impact on implicit sentiment, the authors manually partitioned the SemEval test sets into ESE (Explicit Sentiment Expression) and ISE (Implicit Sentiment Expression) subsets. This allowed for a granular analysis of how well the model "reads between the lines."
Key Results and Discussion
SCAPT established new state-of-the-art (SOTA) benchmarks across all tested datasets. In restaurant reviews, it achieved an accuracy of 89.11%, and in laptop reviews, it reached 82.76%, representing significant jumps over previous models.
Most notably, the performance on the ISE (Implicit) slice of the Laptop dataset improved by 9.20% compared to a standard BERT baseline. This confirms that the contrastive pre-training effectively targets the implicit sentiment gap. Visual analysis via t-SNE plots further supports these findings, showing that SCAPT produces much tighter and more distinct sentiment clusters than standard models.
Conclusion
SCAPT demonstrates that supervised contrastive learning is a powerful tool for aligning implicit and explicit sentiment expressions in the embedding space. While the model shows remarkable gains, it remains dependent on large-scale, domain-specific labeled data. Future research may explore the integration of external commonsense knowledge bases to further enhance the model's ability to interpret factual statements without relying solely on massive pre-training corpora.
Summary updated