Sentiment Analysis in the Era of Large Language Models: A Reality Check
Preprint
Abstract
Sentiment analysis (SA) has been a long-standing research area in natural language processing. It can offer rich insights into human sentiments and opinions and has thus seen considerable interest from both academia and industry. With the advent of large language models (LLMs) such as ChatGPT, there is a great potential for their employment on SA problems. However, the extent to which existing LLMs can be leveraged for different sentiment analysis tasks remains unclear. This paper aims to provide a comprehensive investigation into the capabilities of LLMs in performing various sentiment analysis tasks, from conventional sentiment classification to aspect-based sentiment analysis and multifaceted analysis of subjective texts. We evaluate performance across 13 tasks on 26 datasets and compare the results against small language models (SLMs) trained on domain-specific datasets. Our study reveals that while LLMs demonstrate satisfactory performance in simpler tasks, they lag behind in more complex tasks requiring deeper understanding or structured sentiment information. However, LLMs significantly outperform SLMs in few-shot learning settings, suggesting their potential when annotation resources are limited. We also highlight the limitations of current evaluation practices in assessing LLMs' SA abilities and propose a novel benchmark, \textsc{SentiEval}, for a more comprehensive and realistic evaluation. Data and code during our investigations are available at \url{https://github.com/DAMO-NLP-SG/LLM-Sentiment}.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- LLMs to the Moon? Reddit Market Sentiment Analysis with Large Language Models2023
- Beneath the Tip of the Iceberg: Current Challenges and New Directions in Sentiment Analysis ResearchIEEE Transactions on Affective Computing, 2023
- A Survey on Aspect-Based Sentiment Analysis: Tasks, Methods, and ChallengesIEEE Transactions on Knowledge and Data Engineering, 2022
- Stance DetectionACM Computing Surveys, 2020
- A Review on Offensive Language Detection2020
- Sentiment analysis using deep learning architectures: a reviewArtificial Intelligence Review, 2019
- A survey of sentiment analysis in social mediaKnowledge and Information Systems, 2018
- Emotion detection from text and speech: a surveySocial Network Analysis and Mining, 2018
- Comparative opinion mining: A reviewJournal of the Association for Information Science and Technology, 2016
- Mining and summarizing customer reviews2004