DialogXL: All-in-One XLNet for Multi-Party Conversation Emotion Recognition

16 Dec 2020  ·  Weizhou Shen, Junqing Chen, Xiaojun Quan, Zhixian Xie ·

This paper presents our pioneering effort for emotion recognition in conversation (ERC) with pre-trained language models. Unlike regular documents, conversational utterances appear alternately from different parties and are usually organized as hierarchical structures in previous work. Such structures are not conducive to the application of pre-trained language models such as XLNet. To address this issue, we propose an all-in-one XLNet model, namely DialogXL, with enhanced memory to store longer historical context and dialog-aware self-attention to deal with the multi-party structures. Specifically, we first modify the recurrence mechanism of XLNet from segment-level to utterance-level in order to better model the conversational data. Second, we introduce dialog-aware self-attention in replacement of the vanilla self-attention in XLNet to capture useful intra- and inter-speaker dependencies. Extensive experiments are conducted on four ERC benchmarks with mainstream models presented for comparison. The experimental results show that the proposed model outperforms the baselines on all the datasets. Several other experiments such as ablation study and error analysis are also conducted and the results confirm the role of the critical modules of DialogXL.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Emotion Recognition in Conversation CPED DialogXL Accuracy of Sentiment 51.24 # 2
Macro-F1 of Sentiment 46.96 # 2
Emotion Recognition in Conversation DailyDialog DialogXL Micro-F1 54.93 # 15
Emotion Recognition in Conversation EmoryNLP DialogXL Weighted-F1 34.73 # 23
Emotion Recognition in Conversation IEMOCAP DialogXL Weighted-F1 66.2 # 32
Accuracy 66.3 # 18
Emotion Recognition in Conversation MELD DialogXL Weighted-F1 62.41 # 39

Methods