Cluster-Level Contrastive Learning for Emotion Recognition in Conversations

Kailai Yang, Tianlin Zhang, Hassan Alhuzali, Sophia Ananiadou

Introduction

Emotion Recognition in Conversations (ERC) is a critical task in natural language processing, yet it remains challenging because emotions exist on a continuous spectrum rather than in discrete, isolated categories. Traditional approaches often employ Supervised Contrastive Learning (SCL) to map text embeddings into a high-dimensional semantic space. However, SCL suffers from "categorical blindness"—treating all non-matching emotion pairs as equally different—and the "curse of dimensionality," which makes the learning process sparse and inefficient. Furthermore, these high-dimensional spaces lack interpretability, making it difficult to understand the model's decision-making process.

The SCCL Framework

To address these limitations, researchers have developed Supervised Cluster-level Contrastive Learning (SCCL). This method shifts the contrastive learning process from a high-dimensional hidden space to a psychologically grounded 3D space defined by Valence, Arousal, and Dominance (VAD).

The SCCL architecture integrates context-aware utterance encoding with VAD-based cluster-level contrastive learning and knowledge adapters.

The SCCL framework consists of three core innovations:

  1. VAD Space Projection: Utterances are projected into a 3D space where Valence measures pleasantness, Arousal measures intensity, and Dominance measures control.
  2. Emotion Prototypes: Using the NRC-VAD lexicon, the model establishes fixed "prototypes" for each emotion. These act as gravitational anchors, ensuring that related emotions like "happy" and "excited" are geometrically closer to each other than to "sad."
  3. Knowledge Infusion: To enhance contextual understanding, the model utilizes "plug-and-play" Knowledge Adapters (LinAdapter for linguistic structure and FacAdapter for factual knowledge) alongside a RoBERTa backbone.

Key Results and Insights

The SCCL method achieved new state-of-the-art (SOTA) results across major benchmarks, including IEMOCAP (69.81% Weighted-F1) and MELD (65.70% Weighted-F1). Qualitatively, the model produces highly interpretable emotional landscapes.

3D visualization of emotion clusters in the VAD space, showing clear separation between distinct emotional states.

Beyond raw performance, the study yielded several key insights:

  • Stability at Scale: SCCL is remarkably stable with small batch sizes. While standard SCL performance often plummets without large batches to provide "hard negatives," the fixed VAD prototypes provide enough guidance for the model to converge even with a batch size of one.
  • Linguistic vs. Factual Knowledge: Linguistic knowledge (syntax and structure) generally benefits ERC more than factual knowledge. Understanding how someone says something is often more indicative of emotion than the specific facts they state.
  • The "Fuzzy" Emotion Trap: The model struggled with "fuzzy" emotions like peaceful or powerful, which can vary wildly in VAD space depending on context, making a single fixed prototype less effective.

Conclusion and Future Work

SCCL provides a more interpretable and efficient approach to ERC by grounding emotional embeddings in psychological theory. Future work will focus on developing more dynamic, context-dependent prototypes and integrating multi-modal data (acoustic and visual) to further refine the model's understanding of the emotional landscape.

Summary updated

BibTeX
@article{yang2023cluster,
  author = {Kailai Yang and Tianlin Zhang and Hassan Alhuzali and Sophia Ananiadou},
  title = {{Cluster-Level Contrastive Learning for Emotion Recognition in Conversations}},
  journal = {IEEE Trans. Affect. Comput.},
  year = {2023},
}
Figure