CTSM: Combining Trait and State Emotions for Empathetic Response Model

Yufeng Wang, Chao Chen, Zhou Yang, Shuhui Wang, Xiangwen Liao · DOI

Abstract

Empathetic response generation is a critical challenge in building human-like dialogue systems. Traditional models often struggle to capture the multi-layered nature of human emotions, which can be categorized into inherent "trait" emotions and context-dependent "state" emotions. We present the CTSM (Combining Trait and State emotions for Empathetic Response Model) framework, which simultaneously models these two emotional dimensions. By employing a teacher-student guidance module and a cross-contrastive learning decoder, CTSM achieves significant improvements in emotional accuracy and response diversity over existing state-of-the-art models.

Introduction

Human emotion is inherently complex. Psychological research distinguishes between two primary types of emotional manifestations:

  1. Trait Emotions: Static and context-independent inherent meanings of words. For instance, "excited" typically denotes a high-energy, positive state.
  2. State Emotions: Dynamic feelings that fluctuate based on context. The same word "excited" can shift from happy anticipation to anxiety or terror depending on the situation (e.g., "I was too excited to shake my legs before bungee jumping").

Most existing empathetic models focus on either trait or state emotions, often leading to generic or emotionally mismatched responses. CTSM addresses this by integrating both dimensions to capture the full emotional profile of a conversation.

The CTSM Framework

The CTSM architecture consists of four integrated components designed to enrich the model's emotional understanding and generation capabilities.

The overall architecture of the CTSM model, featuring dual emotion encoding and a teacher-student guidance module.
  • Inference-Enriched Context Encoder: Utilizes the COMET framework to incorporate external common-sense knowledge, allowing the model to infer the underlying causes of a speaker's emotional state.
  • Emotion Encoding Module: Generates dual embeddings for each token. Trait embeddings are derived from the VAD (Valence, Arousal, and Dominance) lexicon, while State embeddings are calculated via cosine similarity between emotion words and the dialogue context.
  • Emotion Guidance Module: Employs a teacher-student setup where a "teacher" component provides "dark knowledge" (soft labels) to guide the "student" model in perceiving subtle emotional nuances.
  • Cross-Contrastive Learning Decoder: Aligns the emotional trajectory of the generated response with the speaker's trait and state emotions by minimizing their distance in vector space.

Key Insights: Trait vs. State Discrepancy

A core finding of this research is the frequent discrepancy between inherent word meaning and contextual usage. Analysis of the EMPATHETICDIALOGUES (ED) dataset revealed that approximately 48.75% of words exhibit a conflict between their trait polarity and contextual state polarity.

Comparison of Trait and State emotion representations for the word "excited". While the trait representation (a) shows high valence and arousal, the state representation (c) shifts significantly between a positive context (A) and a more anxious context (B).

As shown in the figure above, while "excited" has a strongly positive trait profile, its state representation in Context B (bungee jumping) leans heavily toward negative emotions like "anxious" or "terrified." Models that ignore this discrepancy often fail to provide appropriate empathetic responses in high-stakes or nuanced situations.

Experimental Results

CTSM was evaluated on the EMPATHETICDIALOGUES dataset, outperforming six state-of-the-art baselines (including CASE, CEM, and KEMP) across multiple metrics:

  • Emotion Recognition Accuracy: CTSM achieved 43.41% accuracy, representing an 8% relative improvement over the previous best model.
  • Response Diversity: The model showed dramatic gains in variety, with Dist-1 and Dist-2 scores increasing by 170.27% and 83.04% respectively, reducing the frequency of generic "robotic" replies.
  • Human Evaluation: In professional A/B testing, CTSM was preferred for its Empathy, Relevance, and Fluency. In head-to-head comparisons with KEMP, CTSM was judged more empathetic in 48.6% of cases.

Conclusion and Future Work

CTSM demonstrates that combining trait and state emotional representations significantly enhances the quality of empathetic dialogue systems. While the model shows strong performance, future work will focus on reducing noise in contrastive learning samples and refining the calculation of state inclination to further bridge the gap between automatic metrics and human-perceived empathy.

Summary updated

BibTeX
@inproceedings{wang2024ctsm,
  author = {Yufeng Wang and Chao Chen and Zhou Yang and Shuhui Wang and Xiangwen Liao},
  title = {{CTSM: Combining Trait and State Emotions for Empathetic Response Model}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure