Sentiment Analysis through LLM Negotiations
Authors:
- Xiaofei SunXSXiaofei Sun
- Xiaoya LiXLXiaoya Li
- Shengyu ZhangSZShengyu Zhang
- Shuhe WangSWShuhe Wang
- Fei WuFWFei Wu
- Jiwei LiJLJiwei Li
- Tianwei ZhangTZTianwei Zhang
- Guoyin WangGWGuoyin Wang
Preprint
Abstract
A standard paradigm for sentiment analysis is to rely on a singular LLM and makes the decision in a single round under the framework of in-context learning. This framework suffers the key disadvantage that the single-turn output generated by a single LLM might not deliver the perfect decision, just as humans sometimes need multiple attempts to get things right. This is especially true for the task of sentiment analysis where deep reasoning is required to address the complex linguistic phenomenon (e.g., clause composition, irony, etc) in the input. To address this issue, this paper introduces a multi-LLM negotiation framework for sentiment analysis. The framework consists of a reasoning-infused generator to provide decision along with rationale, a explanation-deriving discriminator to evaluate the credibility of the generator. The generator and the discriminator iterate until a consensus is reached. The proposed framework naturally addressed the aforementioned challenge, as we are able to take the complementary abilities of two LLMs, have them use rationale to persuade each other for correction. Experiments on a wide range of sentiment analysis benchmarks (SST-2, Movie Review, Twitter, yelp, amazon, IMDB) demonstrate the effectiveness of proposed approach: it consistently yields better performances than the ICL baseline across all benchmarks, and even superior performances to supervised baselines on the Twitter and movie review datasets.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- ChatLLM network: More brains, more intelligenceAI Open, 2025
- Generated Knowledge Prompting for Commonsense Reasoning2022
- ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Information2021
- BertGCN: Transductive Text Classification by Combining GNN and BERT2021
- SpanBERT: Improving Pre-training by Representing and Predicting SpansTransactions of the Association for Computational Linguistics, 2020
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages2020
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- Deep learning for sentiment analysis: A surveyWIREs Data Mining and Knowledge Discovery, 2018
- Sentiment analysis algorithms and applications: A surveyAin Shams Engineering Journal, 2014
- Opinion Mining and Sentiment AnalysisFoundations and Trends® in Information Retrieval, 2008