[Paper Review] Generative Aspect-Based Sentiment Analysis with Contrastive Learning and Expressive Structure
This paper proposes GEN-SCL-NAT, a novel approach for generative Aspect-Based Sentiment Analysis (ABSA) that improves ACOS quadruple extraction by combining a supervised contrastive learning objective (GEN-SCL) and a natural, structured generation format (GEN-NAT). GEN-SCL enhances model representations for sentiment polarity, aspect, and opinion types—especially implicit ones—while GEN-NAT improves autoregressive decoding through human-readable category descriptions, scan-based ordering, and causal quadruple formatting. The method achieves state-of-the-art performance, with a 1.73% F1 gain on LAPTOP-L1 and 1.48% average F1 improvement across three datasets, including significant gains on implicit sentiment examples.
Generative models have demonstrated impressive results on Aspect-based Sentiment Analysis (ABSA) tasks, particularly for the emerging task of extracting Aspect-Category-Opinion-Sentiment (ACOS) quadruples. However, these models struggle with implicit sentiment expressions, which are commonly observed in opinionated content such as online reviews. In this work, we introduce GEN-SCL-NAT, which consists of two techniques for improved structured generation for ACOS quadruple extraction. First, we propose GEN-SCL, a supervised contrastive learning objective that aids quadruple prediction by encouraging the model to produce input representations that are discriminable across key input attributes, such as sentiment polarity and the existence of implicit opinions and aspects. Second, we introduce GEN-NAT, a new structured generation format that better adapts autoregressive encoder-decoder models to extract quadruples in a generative fashion. Experimental results show that GEN-SCL-NAT achieves top performance across three ACOS datasets, averaging 1.48% F1 improvement, with a maximum 1.73% increase on the LAPTOP-L1 dataset. Additionally, we see significant gains on implicit aspect and opinion splits that have been shown as challenging for existing ACOS approaches.
Motivation & Objective
- To address the challenge of implicit sentiment expressions in Aspect-Based Sentiment Analysis (ABSA), which remain difficult for existing generative models.
- To improve structured generation in ACOS quadruple extraction by aligning the model’s output format with the autoregressive decoding process of encoder-decoder models.
- To enhance model representations for key ACOS characteristics—sentiment polarity, aspect type, and opinion type—especially for implicit cases.
- To develop a more natural and interpretable output format that improves generation quality and consistency in multi-quadruple scenarios.
Proposed method
- Introduces GEN-SCL, a supervised contrastive learning objective that trains the model to produce discriminative representations for three key input characteristics: sentiment polarity, aspect term type, and opinion term type.
- Projects mean-pooled encoder final hidden states into 1024-dimensional representations via fully connected layers for each characteristic, then applies a contrastive loss to maximize similarity between same-label examples and minimize it between different-label examples.
- Proposes GEN-NAT, a new structured generation format that replaces abstract category labels with human-readable descriptions, enforces a scan-based ordering of multiple quadruples, and reorders components within each quadruple to reflect a natural causal flow.
- Combines GEN-SCL and GEN-NAT into a unified training objective, fine-tuning a T5-based model for end-to-end ACOS quadruple generation.
- Uses a temperature-scaled contrastive loss formulation to optimize representation learning, with the loss function defined over positive and negative pairs within a mini-batch.
- Employs t-SNE visualization to demonstrate that GEN-SCL leads to more separable and discriminative representations in the hidden space for the three key characteristics.
Experimental results
Research questions
- RQ1Can a supervised contrastive learning objective improve representation learning for key ACOS characteristics such as sentiment polarity, aspect type, and opinion type?
- RQ2Does reformulating the generation target format to be more natural and structured enhance the performance of autoregressive models in ACOS quadruple extraction?
- RQ3To what extent do GEN-NAT’s components—natural category descriptions, scan-based ordering, and intra-quadruple causal ordering—contribute to performance gains?
- RQ4How effective is the proposed method on implicit sentiment expressions, which are known to be challenging for existing ABSA models?
- RQ5Do GEN-SCL and GEN-NAT components act synergistically, or do they provide independent gains?
Key findings
- GEN-SCL-NAT achieves a 1.73% F1 improvement on the LAPTOP-L1 dataset, the highest gain among the three evaluated datasets.
- The method achieves an average 1.48% F1 improvement across the REST, LAPTOP, and LAPTOP-L1 datasets compared to prior state-of-the-art methods.
- Significant gains of 1.47% average F1 improvement are observed on the implicit aspect and opinion subset, demonstrating effectiveness on challenging cases.
- The ablation study shows that the opinion-related SCL loss is the most impactful, with a 1.03% average F1 drop when removed, followed by aspect and sentiment SCL components.
- GEN-NAT’s scan-based multi-quad ordering has the largest individual impact, especially on the REST dataset (62.62 → 59.92 F1), which has a higher average number of quadruples per example.
- The full GEN-SCL-NAT model shows complementary behavior between GEN-NAT and GEN-SCL, with both components contributing synergistically to overall performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.