Emotion detection in dialogues is challenging as it often requires the identification of thematic topics underlying a conversation, the relevant commonsense knowledge, and the intricate transition patterns between the affective states. In this paper, we propose a Topic-Driven Knowledge-Aware Transformer to handle the challenges above. We firstly design a topic-augmented language model (LM) with an additional layer specialized for topic detection. The topic-augmented LM is then combined with commonsense statements derived from a knowledge base based on the dialogue contextual information. Finally, a transformer-based encoder-decoder architecture fuses the topical and commonsense information, and performs the emotion label sequence prediction. The model has been experimented on four datasets in dialogue emotion detection, demonstrating its superiority empirically over the existing state-of-the-art approaches. Quantitative and qualitative results show that the model can discover topics which help in distinguishing emotion categories.
翻译:在对话中发现情感是具有挑战性的,因为通常需要确定对话的主题、相关的常识知识以及感官状态之间的复杂转变模式。在本文中,我们建议使用一个专题驱动知识软件变换器来应对上述挑战。我们首先设计了一个专题强化语言模型(LM),并增加一个专门探测主题的层次。随后,专题增强的LM与基于对话背景信息的知识库产生的常识声明相结合。最后,基于变压器的编码器-解码器结构将时和常识信息融合在一起,并进行情感标签序列预测。模型在对话情感探测的四个数据集上进行了实验,从经验上展示了它优于现有状态方法。定量和定性结果显示,模型可以发现有助于区分情感类别的话题。