HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations

Dou Hu Yinan Bao Lingwei Wei Wei Zhou Songlin Hu

Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations

Abstract

Extracting generalized and robust representations is a major challenge in emotion recognition in conversations (ERC). To address this, we propose a supervised adversarial contrastive learning (SACL) framework for learning class-spread structured representations in a supervised manner. SACL applies contrast-aware adversarial training to generate worst-case samples and uses joint class-spread contrastive learning to extract structured representations. It can effectively utilize label-level feature consistency and retain fine-grained intra-class features. To avoid the negative impact of adversarial perturbations on context-dependent data, we design a contextual adversarial training (CAT) strategy to learn more diverse features from context and enhance the model's context robustness. Under the framework with CAT, we develop a sequence-based SACL-LSTM to learn label-consistent and context-robust features for ERC. Experiments on three datasets show that SACL-LSTM achieves state-of-the-art performance on ERC. Extended experiments prove the effectiveness of SACL and CAT.

Code Repositories

zerohd4869/sacl
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
emotion-recognition-in-conversation-onSACL-LSTM (one seed)
Accuracy: 69.62
Weighted-F1: 69.70
emotion-recognition-in-conversation-onSACL-LSTM
Accuracy: 69.08
Weighted-F1: 69.22
emotion-recognition-in-conversation-on-4SACL-LSTM (one seed)
Micro-F1: 43.19
Weighted-F1: 40.47
emotion-recognition-in-conversation-on-4SACL-LSTM
Micro-F1: 42.21
Weighted-F1: 39.65
emotion-recognition-in-conversation-on-7SACL-LSTM
Accuracy: 80.70
Weighted F1: 80.74
emotion-recognition-in-conversation-on-cmu-2SACL-LSTM
Accuracy: 38.60
Weighted F1: 25.95
emotion-recognition-in-conversation-on-meldSACL-LSTM
Accuracy: 67.51
Weighted-F1: 66.45
emotion-recognition-in-conversation-on-meldSACL-LSTM (one seed)
Accuracy: 67.89
Weighted-F1: 66.86

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp