English

Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations

Computation and Language 2019-10-02 v2 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.1909.10681,
  title  = {Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations},
  author = {Peixiang Zhong and Di Wang and Chunyan Miao},
  journal= {arXiv preprint arXiv:1909.10681},
  year   = {2019}
}

Comments

EMNLP 2019

R2 v1 2026-06-23T11:23:50.061Z