Projects per year
Abstract
While sentiment analysis has advanced significantly, fine-grained sentiment classification such as aspect-based sentiment analysis (ABSA), continues to present challenges. These difficulties primarily stem from data scarcity and the inherent complexities of identifying sentiments specific to different aspects within a text. The recent emergence of generative artificial intelligence (AI), particularly large language models (LLMs), has fundamentally altered the landscape of data management and integration. To better capture nuanced sentiment differences, this paper proposes a novel approach that leverages LLMs to generate “hard negatives” for ABSA. We introduce the sentiment-aware chain-of-thought (SACoT) framework, which emulates a human-like reasoning process to manipulate the sentiment polarity of aspect terms. This is achieved by integrating chain-of-thought (CoT) reasoning with a few-shot prompting strategy, guiding the LLM to produce sentences with the desired sentiment towards specific aspects. Furthermore, we employ an LLM-as-a-Judge framework to refine these generated hard negatives, thereby enhancing their quality for subsequent use in supervised fine-tuning and contrastive learning. Extensive experiments on benchmark datasets demonstrate that our proposed approach, LLM-SCADA (LLM-guided sentiment-context-aspect data augmentation), significantly improves model performance, especially in transitioning from neutral to positive sentiments (NEU→POS). An in-depth ablation study further underscores the distinct contributions of the generated hard negatives, the contrastive learning approach, and the refinement process. These findings highlight the potential of LLMs to create sentiment-shifted samples based on aspect terms, paving the way for more robust and sophisticated techniques in the field of ABSA.
| Original language | English |
|---|---|
| Number of pages | 15 |
| Journal | Web Intelligence |
| DOIs | |
| Publication status | E-pub ahead of print - 3 Sept 2026 |
Funding
The research described in this article has been supported the Research Impact Fund from the Research Grants Council of the Hong Kong Special Administrative Region, China (R1015-23); the Faculty Research Grants (SDS24A8, SDS25A15 and SDS24A19), Interdisciplinary & Strategic Research Grant (ISRG252606), and the Direct Grants (DR25E8 and DR26F2) of Lingnan University, Hong Kong.
Keywords
- large language models
- hard negatives
- CoT reasoning
- contrastive learning
- aspect-based sentiment analysis
Fingerprint
Dive into the research topics of 'Large Language Model-Driven Hard Negatives Generation for Contrastive Aspect-Based Sentiment Analysis'. Together they form a unique fingerprint.Projects
- 6 Active
-
LLM-Augmented News Terminal: Entity Annotations, Explanation Quality, and Interest‑Aware Conversational Recommendation
1/01/26 → 31/12/27
Project: Grant Research
-
Large Language Models for Aspect-Based Sentiment Analysis
XIE, H. (PI)
1/01/26 → 31/12/27
Project: Grant Research
-
An Integrated Fake Financial News Detection Framework: Knowledge Graph, Large Language Models, Uncertainty Modeling, and Contrastive Learning
XIE, H. (PI)
1/07/25 → 30/06/27
Project: Grant Research
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver