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.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Builds on11
- Automatic Chain of Thought Prompting in Large Language ModelsZhuosheng Zhang, Aston Zhang, Mu Li, Alex SmolaICLR 2023 · 234 citations
- Complexity-Based Prompting for Multi-step ReasoningYao Fu, Hao Peng, Ashish Sabharwal, Peter Clark et al.ICLR 2023 · 73 citations
- Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and OrderingZhiyong Wu, Yaoxiang Wang, Jiacheng Ye, Lingpeng KongACL 2023 · 50 citations
- Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
- Active Learning Principles for In-Context Learning with Large Language ModelsKaterina Margatina, Timo Schick, Nikolaos Aletras, Jane Dwivedi-YuEMNLP Findings 2023 · 32 citations
Related papers
- An Empirical Study on Configuring In-Context Learning Demonstrations for Unleashing MLLMs' Sentimental Perception CapabilityDaiqing Wu, Dongbao Yang, Sicheng Zhao, Can Ma et al.ICML 2025
- Resource-Limited Joint Multimodal Sentiment Reasoning and Classification via Chain-of-Thought Enhancement and DistillationHaonan Shangguan, Xiaocui Yang, Shi Feng, Daling Wang et al.ACL Findings 2026 · 2 citations
- In-Context Learning with Iterative Demonstration SelectionChengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar et al.EMNLP Findings 2024 · 19 citations
- Boosting Large Language Models with Continual Learning for Aspect-based Sentiment AnalysisXuanwen Ding, Jie Zhou, Liang Dou, Qin Chen et al.EMNLP Findings 2024 · 24 citations
- Improving In-Context Learning with Prediction Feedback for Sentiment AnalysisHongling Xu, Qianlong Wang, Yice Zhang, Min Yang et al.ACL Findings 2024 · 7 citations
