English

Supervised Prototypical Contrastive Learning for Emotion Recognition in Conversation

Artificial Intelligence 2022-10-20 v2

Abstract

Capturing emotions within a conversation plays an essential role in modern dialogue systems. However, the weak correlation between emotions and semantics brings many challenges to emotion recognition in conversation (ERC). Even semantically similar utterances, the emotion may vary drastically depending on contexts or speakers. In this paper, we propose a Supervised Prototypical Contrastive Learning (SPCL) loss for the ERC task. Leveraging the Prototypical Network, the SPCL targets at solving the imbalanced classification problem through contrastive learning and does not require a large batch size. Meanwhile, we design a difficulty measure function based on the distance between classes and introduce curriculum learning to alleviate the impact of extreme samples. We achieve state-of-the-art results on three widely used benchmarks. Further, we conduct analytical experiments to demonstrate the effectiveness of our proposed SPCL and curriculum learning strategy. We release the code at https://github.com/caskcsg/SPCL.

Keywords

Cite

@article{arxiv.2210.08713,
  title  = {Supervised Prototypical Contrastive Learning for Emotion Recognition in Conversation},
  author = {Xiaohui Song and Longtao Huang and Hui Xue and Songlin Hu},
  journal= {arXiv preprint arXiv:2210.08713},
  year   = {2022}
}

Comments

Accepted by EMNLP 2022

R2 v1 2026-06-28T03:46:23.309Z