EMNLP2025
RD-MCSA: A Multi-Class Sentiment Analysis Approach Integrating In-Context Classification Rationales and Demonstrations
Haihua Xie, Yinzhu Cheng, Yaqing Wang, Miao He, Mingming Sun
Abstract
This paper addresses the important yet underexplored task of multi-class sentiment analysis (MCSA), which remains challenging due to the subtle semantic differences between adjacent sentiment categories and the scarcity of high-quality annotated data. To tackle these challenges, we propose RD-MCSA (Rationales and Demonstrations-based Multi-Class Sentiment Analysis), an In-Context Learning (ICL) framework designed to enhance MCSA performance under limited supervision by integrating classification rationales with adaptively selected demonstrations. First, semantically grounded classification rationales are generated from a representative, class-balanced subset of annotated samples selected using a tailored balanced coreset algorithm. These rationales are then paired with demonstrations chosen through a similaritybased mechanism powered by a multi-kernel Gaussian process (MK-GP), enabling large language models (LLMs) to more effectively capture fine-grained sentiment distinctions. Experiments on five benchmark datasets demonstrate that RD-MCSA consistently outperforms both supervised baselines and standard ICL methods across various evaluation metrics. * Equal contribution.