Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations

About

Messages in human conversations inherently convey emotions. The task of detecting emotions in textual conversations leads to a wide range of applications such as opinion mining in social networks. However, enabling machines to analyze emotions in conversations is challenging, partly because humans often rely on the context and commonsense knowledge to express emotions. In this paper, we address these challenges by proposing a Knowledge-Enriched Transformer (KET), where contextual utterances are interpreted using hierarchical self-attention and external commonsense knowledge is dynamically leveraged using a context-aware affective graph attention mechanism. Experiments on multiple textual conversation datasets demonstrate that both context and commonsense knowledge are consistently beneficial to the emotion detection performance. In addition, the experimental results show that our KET model outperforms the state-of-the-art models on most of the tested datasets in F1 score.

Peixiang Zhong, Di Wang, Chunyan Miao• 2019

Related benchmarks

TaskDatasetResultRank
Emotion Recognition in ConversationIEMOCAP (test)
Weighted Average F1 Score59.56
154
Emotion Recognition in ConversationMELD
Weighted Avg F158.18
137
Conversational Emotion RecognitionIEMOCAP
Weighted Average F1 Score59.56
129
Emotion Recognition in ConversationMELD (test)
Weighted F158.18
118
Emotion DetectionEmoryNLP (test)
Weighted-F10.3439
96
Dialogue Emotion DetectionEmoryNLP
Weighted Avg F134.39
80
Emotion DetectionDailyDialog (test)
Micro-F10.5337
53
Emotion ClassificationIEMOCAP (test)
Weighted-F159.56
36
Emotion DetectionMELD (test)
Weighted-F10.5818
32
Dialogue Emotion DetectionDailyDialog
Micro F1 (- neutral)0.5348
27
Showing 10 of 18 rows

Other info

Code

Follow for update