Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversation

Fangxu Yu, Junjie Guo, Zhen Wu, Xinyu Dai
3/29/2024
cs.CLcs.SDeess.AS

Official code: Yu-Fangxu/EACL (40 stars, last commit 2024-11-23).

Abstract

Emotion Recognition in Conversation (ERC) involves detecting the underlying emotion behind each utterance within a conversation. Effectively generating representations for utterances remains a significant challenge in this task. Recent works propose various models to address this issue, but they still struggle with differentiating similar emotions such as excitement and happiness. To alleviate this problem, We propose an Emotion-Anchored Contrastive Learning (EACL) framework that can generate more distinguishable utterance representations for similar emotions. To achieve this, we utilize label encodings as anchors to guide the learning of utterance representations and design an auxiliary loss to ensure the effective separation of anchors for similar emotions. Moreover, an additional adaptation process is proposed to adapt anchors to serve as effective classifiers to improve classification performance. Across extensive experiments, our proposed EACL achieves state-of-the-art emotion recognition performance and exhibits superior performance on similar emotions. Our code is available at https://github.com/Yu-Fangxu/EACL.

View on arXivView PDF

Code Implementations(1)

Yu-Fangxu/EACLOfficial100%

[Findings of NAACL 2024] Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversation

402Shell, PythonMar 15, 20241 years ago

Similar Papers

Cite this paper

@article{yu2024emotionanchored,
  title  = {Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversation},
  author = {Fangxu Yu and Junjie Guo and Zhen Wu and Xinyu Dai},
  year   = {2024},
  eprint = {2403.20289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.20289v1}
}

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/2403.20289.svg)](https://codeofpaper.com/paper/2403.20289)

Discussion