Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations

Dou Hu, Yinan Bao, Lingwei Wei, Wei Zhou, Songlin Hu
6/2/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: zerohd4869/SACL (35 stars, MIT, last commit 2023-11-02).

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.

View on arXivView PDF

Code Implementations(1)

zerohd4869/SACLCommunity100%
MIT

The repository for ACL 2023 paper "Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations", and SemEval 2023 paper "UCAS-IIE-NLP at SemEval-2023 Task 12: Enhancing Generalization of Multilingual BERT for Low-resource Sentiment Analysis"

356Shell, PythonMay 24, 20232 years agoMIT
emotion-recognitionrepresentation-learningsentiment-analysis

Similar Papers

Cite this paper

@article{hu2023supervised,
  title  = {Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations},
  author = {Dou Hu and Yinan Bao and Lingwei Wei and Wei Zhou and Songlin Hu},
  year   = {2023},
  eprint = {2306.01505},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.01505v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.01505.svg)](https://codeofpaper.com/paper/2306.01505)

Discussion