Abstract
As Large Language Models (LLMs) become ubiquitous in human-centric applications, understanding their "emotional intelligence" is paramount. This paper, authored by researchers at ByteDance, investigates whether LLMs possess a genuine sensitivity to sentiment or merely act as "stochastic parrots" replicating training data patterns. By introducing a novel "Sentiment Knowledge Workflow," the study evaluates models like GPT-4, Llama, and Doubao across diverse datasets. Findings indicate that while LLMs exhibit emergent sentiment sensitivity, they struggle with linguistic nuances such as sarcasm and irony.
Introduction
The integration of LLMs into customer service, mental health support, and social media monitoring necessitates a robust ability to "read the room." Traditional sentiment analysis often relies on rigid classification, which fails to capture the complexity of human emotion. This research addresses the gap in our understanding of how LLMs process emotional cues, testing if these models truly comprehend sentiment or simply predict the next token based on statistical probability.
Methodology
The researchers propose the Sentiment Knowledge Workflow, a systematic approach designed to elicit and evaluate nuanced emotional responses. Unlike standard classification, this workflow employs:
- Persona-based Prompting: Assigning roles (e.g., psychologist, film critic) to models to encourage descriptive, "soft" outputs.
- Soft Output Generation: Models generate descriptive text rather than single-word labels.
- Word Vector Similarity: Pretrained embedding models calculate the mathematical similarity between LLM responses and target sentiment labels.
- Multi-label Classification: Allowing models to associate queries with multiple emotional labels simultaneously.
Datasets
The evaluation spans three distinct datasets to capture various linguistic styles:
- Sentiment140: 1.6 million tweets containing noisy text, abbreviations, and emoticons.
- MyPersonality: Facebook data linked to the "Big Five" personality traits (OCEAN model).
- IMDB Reviews: 50,000 movie reviews featuring complex emotional arcs and arguments.
Analysis of Sentiment Sensitivity
Several key insights emerged from the study regarding how models handle emotional data:
- Emergent Sensitivity: Sentiment detection appears to be an emergent property in LLMs, varying significantly between models of similar sizes.
- Robustness to Prompting: Models maintained sensitivity even when presented with "neutral" prompts, suggesting that emotional representation is deeply embedded in their learned weights rather than being a result of prompt engineering.
- The Sarcasm Barrier: A consistent failure mode was identified where models misclassified sarcastic text as "neutral," failing to reconcile literal word meanings with contradictory emotional subtext.
- Architecture over Scale: Refined training procedures (as seen in "Pro" model versions) proved more critical for sentiment accuracy than raw parameter count.
Experimental Results
The comparative analysis of models including GPT-3.5/4, Llama 2/3, Mistral, and Doubao revealed significant performance disparities.
As shown in the table above, Doubao-pro led the field on the Sentiment140 dataset with an accuracy of 0.77. GPT-4o and Llama-8b-v3 followed with 0.72. Notably, precision generally exceeded recall across the board, indicating that while models are often correct when they identify a sentiment, they frequently overlook more subtle emotional cues.
Conclusion
While LLMs demonstrate a baseline sensitivity to sentiment, significant hurdles remain. Current architectures lack the "common sense" required to consistently interpret irony and sarcasm. Future work should focus on refining training processes to specifically capture subtle emotional cues and investigating the architectural factors that enhance emotional intelligence.
Summary updated