Abstract
While Large Language Models (LLMs) have become remarkably adept at mimicking specific characters, current evaluation frameworks focus primarily on personality traits and linguistic style, often neglecting the nuances of emotional dynamics. This paper introduces EmoCharacter, a novel benchmark designed to measure "emotional fidelity"—the accuracy with which a role-playing agent (RPA) replicates a character's emotional shifts. Our evaluation reveals that standard role-playing techniques can paradoxically decrease emotional accuracy, frequently causing models to default to overly positive or neutral states due to safety-alignment biases.
Introduction
Human-like interaction is defined by complex emotional transitions. For instance, a character like Chandler Bing from Friends uses sarcasm to mask insecurity; an RPA that captures his jokes but fails to reflect this underlying vulnerability lacks emotional fidelity. Current metrics for RPAs overlook these transitions. EmoCharacter addresses this gap by providing quantitative tools to measure whether an AI truly "feels" the way a character should within a given dialogue context.
The EmoCharacter Framework
The authors propose a multi-dimensional framework to evaluate RPAs across three primary areas:
- Evaluation Settings: To ensure robustness against prompt formatting, the framework tests three configurations: Emotion First (stating emotion before responding), Emotion & Response (simultaneous), and Response First (labeling emotion after responding).
- Micro-Level Metrics: The Emotional Consistency (EC) score is introduced. Unlike standard F1 scores, EC utilizes the Valence-Arousal-Dominance (VAD) emotional state space to provide partial credit for "close" emotions (e.g., predicting 'Surprise' instead of 'Joy' is penalized less than predicting 'Sadness').
- Macro-Level Metrics: Emotional Distribution Divergence (EDD) and Relative Character Divergence (RCD) compare the AI's overall emotional transition matrix against the character's ground truth. This identifies if an AI is generally too positive or fails to exhibit a character's signature emotional volatility.
Datasets
The study utilizes two datasets derived from the TV show Friends:
- PELD-single: 6,510 single-turn dialogue triplets.
- PELD-multi: 1,391 multi-turn dialogues designed to test emotional consistency over extended conversations. Both datasets feature manual annotations for seven core emotions: Joy, Surprise, Neutral, Anger, Disgust, Fear, and Sadness.
Key Insights: The Role-Playing Penalty and Positivity Bias
The Role-Playing Penalty
Counterintuitively, applying role-playing prompts (such as RoleLLM) often lowers the emotional consistency of LLMs compared to base models. Agents become so focused on imitating catchphrases and tone that they lose track of the underlying emotional context.
Positivity Bias and RLHF
Models like GPT-4o exhibit a strong "positivity bias," tending toward "Neutral" or "Joy" even when the character (e.g., Ross Geller) should express negative emotions like "Anger" or "Sadness." This is likely a side effect of Reinforcement Learning from Human Feedback (RLHF) designed to ensure model politeness.
General Intelligence vs. Fidelity
Scaling general capabilities does not automatically improve emotional fidelity. Specialized, smaller models (e.g., Westlake-7b) trained specifically for role-play often outperform much larger foundation models like GPT-4o in emotional consistency.
Key Results
- Performance Drop: GPT-4o's EC score dropped from 0.484 (without role-playing instructions) to 0.422 when using the RoleLLM strategy.
- Fine-Tuning Efficacy: Supervised Fine-Tuning (SFT) proved most effective. A Llama3-8b model fine-tuned on PELD data reached an EC of 0.499, surpassing base GPT-4o.
- In-Context Learning (ICL): While few-shot examples helped, improvements plateaued quickly, suggesting emotional dynamics are harder to learn through prompting than linguistic styles.
Conclusion and Future Work
EmoCharacter highlights the current limitations of RPAs in capturing emotional depth. Future research should explore multimodal EmoCharacter to include voice and facial expressions, address potential human label bias in datasets, and investigate whether massive models (70B+) benefit more significantly from emotion-specific tuning.
Summary updated