Skip to main content
QUICK REVIEW

[Paper Review] DialogXL: All-in-One XLNet for Multi-Party Conversation Emotion Recognition

Weizhou Shen, Junqing Chen|arXiv (Cornell University)|Dec 16, 2020
Sentiment Analysis and Opinion MiningComputer Science24 references17 citations
TL;DR

This paper introduces DialogXL, the first all-in-one XLNet-based model for multi-party conversation emotion recognition, enhancing XLNet with utterance-level recurrence and dialog-aware self-attention to capture intra- and inter-speaker dependencies. It achieves state-of-the-art performance across four ERC benchmarks by effectively modeling long-range context and speaker roles without hierarchical architectures.

ABSTRACT

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.

Motivation & Objective

  • To address the limitations of pre-trained language models like XLNet in modeling multi-party, multi-turn conversations for emotion recognition.
  • To overcome the constraints of segment-level recurrence and vanilla self-attention in capturing long-range and speaker-dependent dependencies.
  • To design a unified, non-hierarchical framework that directly applies pre-trained models to conversational emotion recognition.
  • To validate the effectiveness of utterance-level recurrence and dialog-aware self-attention through extensive ablation and error analysis.

Proposed method

  • Replaced XLNet’s segment-level recurrence with utterance-level recurrence to store and reuse hidden states of historical utterances in a memory bank, enabling longer context modeling.
  • Introduced dialog-aware self-attention that computes attention across four types: local, global, speaker, and listener self-attention, to model dependencies within and across speakers.
  • Enhanced the memory mechanism to reduce padding overhead and improve efficiency in storing historical utterance representations.
  • Designed a unified architecture that processes entire conversations in a single input sequence, avoiding complex hierarchical modeling.
  • Integrated speaker role awareness directly into attention computation, rather than relying on external embeddings.
  • Applied the model to four public ERC benchmarks with end-to-end fine-tuning for emotion classification.

Experimental results

Research questions

  • RQ1Can a pre-trained language model like XLNet be effectively adapted to multi-party conversation emotion recognition without hierarchical modeling?
  • RQ2How does utterance-level recurrence compare to segment-level recurrence in preserving long-range conversational context?
  • RQ3To what extent does dialog-aware self-attention improve performance by modeling intra- and inter-speaker dependencies?
  • RQ4How do the individual components of DialogXL (e.g., speaker vs. listener attention) contribute to overall performance?
  • RQ5What are the failure modes of the model, and can attention mechanisms alone reliably capture emotional context in dialogue?

Key findings

  • DialogXL outperforms all baselines on four ERC benchmarks, achieving state-of-the-art results with an F1 score of 65.94 on IEMOCAP and 54.93 on DailyDialog.
  • The ablation study shows that removing any component of dialog-aware self-attention leads to a significant drop in performance, with listener self-attention causing the largest drop (↓3.07 F1 on IEMOCAP).
  • The utterance-level recurrence mechanism reduces memory padding by over 60% compared to segment-level recurrence, improving efficiency and context retention.
  • Dialog-aware self-attention outperforms speaker role embedding by 2.63 F1 points on IEMOCAP, indicating its superiority in modeling speaker dynamics.
  • Error analysis reveals that the model is prone to overfitting on semantic similarity between query and historical utterances, leading to misclassification in 45% of emotional shift cases.
  • The model’s reliance on attention alone can be misleading when emotional context shifts occur, suggesting the need for complementary mechanisms in future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.