Abstract
While Large Language Models (LLMs) have achieved remarkable fluency, they often struggle with emotional resonance, frequently falling into an "emotional uncanny valley." This paper introduces CAPE, a novel Chinese dataset designed to ground LLM responses in Cognitive Appraisal Theory (CAT). By shifting from simple keyword-to-label mapping to a simulated psychological evaluation process, the researchers developed the CAT-BEAR framework to generate nuanced emotional dialogues. Experimental results demonstrate that a model fine-tuned on CAPE, named ChatEMO, significantly outperforms GPT-4 in generating contextually appropriate and emotionally authentic responses.
Introduction
Modern LLMs are highly capable of generating factually correct and contextually relevant text, yet they often lack the emotional nuance required for truly human-like interaction. When a user shares a personal struggle, a standard LLM might provide a generic, empathetic-sounding template that fails to account for the specific personality, goals, and situational appraisals of the speaker.
Existing emotional datasets suffer from two primary limitations: a lack of psychological depth, often relying on simple labels derived from media scripts, and a heavy linguistic bias toward English. To address these gaps, this research introduces the CAPE dataset, the first Chinese corpus to explicitly incorporate intra-individual factors like personal beliefs and the psychological appraisal process.
The CAT-BEAR Framework and CAPE Dataset
The researchers developed a two-stage framework called CAT-BEAR (Cognitive Appraisal Theory Based Emotionally Appropriate Response) to synthetically generate the CAPE dataset using GPT-4-turbo, followed by rigorous human refinement.
Stage 1: Persona and Belief Generation
Unlike traditional datasets that use static prompts, CAT-BEAR assigns each speaker a distinct personality based on the Big Five traits, specific goals (such as achievement or affiliation), and a situational context. The model then generates specific "beliefs" and "knowledge" for that persona. For instance, a persona might believe that "individual effort is the only path to success," which fundamentally changes how they appraise a failure compared to a persona who values collective support.
Stage 2: The Appraisal Process
Following Cognitive Appraisal Theory, the model evaluates situations across six critical dimensions:
- Unpleasantness
- Effort
- Attention
- Certainty
- Control
- Responsibility
This evaluation determines the final emotion label from a set of 15 complex emotions (including pride, shame, and frustration) and dictates the resulting utterance. This process ensures that the emotion is a logical consequence of the character's internal state rather than an arbitrary label.
Dataset Scale and Diversity
The resulting CAPE corpus consists of 2,848 multi-turn dialogues, totaling 28,643 utterances. It covers 89 unique "seed situations" and was manually refined by native Chinese speakers to ensure colloquial authenticity and emotional alignment.
Experimental Results
The researchers fine-tuned a GLM-4-9B model, dubbed ChatEMO, on the CAPE dataset. The model was evaluated on its ability to predict emotions and generate appropriate responses.
Quantitative Performance
ChatEMO achieved an Accuracy of 0.36 and an F1 score of 0.28 on emotion prediction tasks. In comparison, zero-shot GPT-4 achieved only 0.21 Accuracy and 0.14 F1. This suggests that the structured appraisal data in CAPE provides a superior training signal for emotional intelligence than general-purpose pre-training.
Human Evaluation
In blind tests, human raters evaluated models based on SettingMatch (alignment with persona), Coherence, and Fluency. ChatEMO consistently outscored GPT-4 and other baselines, particularly in its ability to maintain a consistent persona throughout a dialogue.
Key Insights
- Process over Labels: The research highlights that emotions are the result of an evaluation process. By forcing the model to "think" through appraisal dimensions (e.g., "Who is responsible for this situation?"), the generated text becomes significantly more authentic.
- The Role of Beliefs: Ablation studies revealed that removing the "belief and knowledge" step resulted in the most significant drop in dialogue coherence. Personal values act as the necessary filter through which humans—and now models—experience and react to the world.
- Emotional Distance (CAT-Dist): The authors introduced a new metric to measure emotional distance based on the six appraisal dimensions. This metric recognizes that certain emotions are psychologically closer (e.g., frustration and anger) than others, allowing for more nuanced model evaluation.
Conclusion and Future Work
CAPE and the ChatEMO model represent a significant step toward closing the emotional gap in Chinese-language AI. By moving beyond surface-level patterns and into the psychological processes that drive human emotion, this work provides a blueprint for more empathetic and personified AI. Future research will look toward expanding this appraisal-based approach to other languages and exploring how cultural nuances influence the six dimensions of appraisal.
Summary updated