Enhancing Emotion Recognition in Conversation Through Emotional Cross-Modal Fusion and Inter-class Contrastive Learning

Haoxiang Shi, Xulong Zhang, Ning Cheng, Yong Zhang, Jun Yu, Jing Xiao, Jianzong Wang

Researchers at Ping An Technology and the University of Science and Technology of China have developed a more nuanced approach to how machines "listen" to and "read" human emotions during conversations. Their framework addresses the dual challenges of inefficient multi-modal fusion and dataset class imbalance in Emotion Recognition in Conversation (ERC).

Abstract

Emotion Recognition in Conversation (ERC) is a critical task for developing empathetic AI, yet it faces challenges in multi-modal fusion and class imbalance. This paper introduces a novel framework that utilizes Joint-based Multi-modal Fusion (JFM) to bridge text and audio modalities via a mediator "joint vector." Additionally, the framework incorporates Inter-class Contrastive Learning (ICL) to improve the separation of emotional categories, particularly for rare classes. Evaluated on the IEMOCAP and MELD datasets, the proposed model achieves state-of-the-art performance, demonstrating the effectiveness of maintaining modality independence while facilitating targeted emotional information exchange.

Introduction

Identifying emotional states in human conversation is a complex task that requires integrating verbal content with non-verbal cues like prosody and tone. While humans excel at this naturally, machine learning models often struggle with two primary hurdles:

  1. Inefficient Fusion: Traditional "lazy" fusion methods—such as simple concatenation—often lead to information redundancy or cause the model to ignore modality-specific nuances (like the specific tone of a voice vs. the literal meaning of the words).
  2. Class Imbalance: In real-world datasets, some emotions are much more common than others (e.g., "Neutral" vs. "Fear"). Standard training often leads models to ignore rare emotions to maximize overall accuracy.

Methods

The proposed architecture utilizes a two-pronged solution to enhance emotional understanding.

The proposed framework architecture featuring the Joint-based Multi-modal Fusion (JFM) and Inter-class Contrastive Learning (ICL) modules.

Joint-based Multi-modal Fusion (JFM)

Instead of merging text and audio into a single vector immediately, the framework employs separate pre-trained backbones: RoBERTa for text and a Visual Transformer (ViT) style approach for audio mel-spectrograms.

The core innovation is the Joint Vector ($v_j$). Acting as a dedicated mediator or bridge, this vector allows text and audio transformers to exchange essential emotional information without talking to each other directly. This "bottleneck" approach ensures that only the most relevant emotional cues are passed, reducing noise and preserving the independent integrity of each modality.

Inter-class Contrastive Learning (ICL)

To tackle the imbalance problem, the authors implemented a supervised contrastive learning module. During training, the model is forced to pull together representations of utterances that share the same emotion label (intra-class) and push apart representations of utterances with different labels (inter-class). This creates clearer decision boundaries, making it harder for the model to misclassify rare emotions as common ones.

Results and Discussion

The model was evaluated on two gold-standard benchmarks: IEMOCAP (high-quality dyadic interactions) and MELD (noisy, multi-speaker data from the TV show Friends).

Comparison of the proposed method against baselines (SCFA and MultiEMO) across different modalities and datasets.

Key results include:

  • State-of-the-Art Performance: The model outperformed the SCFA baseline on MELD by 4.50% in accuracy for the text modality and 1.24% for the audio modality. On IEMOCAP, the multi-modal (Text+Audio) version achieved an accuracy of 68.77%.
  • Ablation Success: Removing the joint vector ($v_j$) led to an accuracy drop of roughly 2%, proving that the mediator approach is critical. Removing the fusion module entirely resulted in a 4.67% drop.
  • Robustness: The use of supervised contrastive learning proved highly effective at combating dataset bias and class imbalance, yielding more distinct emotional clusters.

Conclusion

This research demonstrates that treating audio and text as fundamentally different data types—rather than just vectors to be concatenated—yields superior results in conversational emotion recognition. While the current model focuses on text and audio, future work will look toward incorporating visual data (facial expressions) into this joint-vector framework and optimizing computational overhead for real-time applications.

Summary updated

BibTeX
@inproceedings{shi2024enhancing,
  author = {Haoxiang Shi and Xulong Zhang and Ning Cheng and Yong Zhang and Jun Yu and Jing Xiao and Jianzong Wang},
  title = {{Enhancing Emotion Recognition in Conversation Through Emotional Cross-Modal Fusion and Inter-class Contrastive Learning}},
  booktitle = {ICIC (LNAI 3)},
  year = {2024},
  doi = {10.1007/978-981-97-5669-8\_32},
}
Figure