Skip to main content
QUICK REVIEW

[Paper Review] PT-CoDE: Pre-trained Context-Dependent Encoder for Utterance-level Emotion Recognition

Wenxiang Jiao, Michael R. Lyu|arXiv (Cornell University)|Oct 20, 2019
Topic ModelingComputer Science28 references8 citations
TL;DR

This paper proposes PT-CoDE, a pre-trained context-dependent encoder for utterance-level emotion recognition (ULER) that uses a hierarchical architecture with an utterance encoder and conversation encoder. It introduces the 'conversation completion' (CoCo) pre-training task on movie subtitles to learn contextual representations, significantly boosting performance across five ULER datasets through unsupervised pre-training.

ABSTRACT

Utterance-level emotion recognition (ULER) is a significant research topic for understanding human behaviors and developing empathetic chatting machines in the artificial intelligence area. Unlike traditional text classification problem, this task is supported by a limited number of datasets, among which most contain inadequate conversations or speeches. Such a data scarcity issue limits the possibility of training larger and more powerful models for this task. Witnessing the success of transfer learning in natural language process (NLP), we propose to pre-train a context-dependent encoder (CoDE) for ULER by learning from unlabeled conversation data. Essentially, CoDE is a hierarchical architecture that contains an utterance encoder and a conversation encoder, making it different from those works that aim to pre-train a universal sentence encoder. Also, we propose a new pre-training task named "conversation completion" (CoCo), which attempts to select the correct answer from candidate answers to fill a masked utterance in a question conversation. The CoCo task is carried out on pure movie subtitles so that our CoDE can be pre-trained in an unsupervised fashion. Finally, the pre-trained CoDE (PT-CoDE) is fine-tuned for ULER and boosts the model performance significantly on five datasets.

Motivation & Objective

  • To address the limited labeled data in utterance-level emotion recognition (ULER), which hinders training of context-dependent models.
  • To develop a hierarchical encoder architecture that captures both utterance-level and conversation-level context, differing from universal sentence encoders.
  • To enable unsupervised pre-training for ULER using a new task—'conversation completion'—on large-scale movie subtitles.
  • To improve model generalization and performance on low-resource ULER datasets through transfer learning.

Proposed method

  • Proposes a two-stage hierarchical encoder: an utterance encoder for context-independent embeddings and a conversation encoder for context-aware representations.
  • Introduces the 'conversation completion' (CoCo) pre-training task, where a masked utterance in a conversation is predicted from candidate responses.
  • Pre-trains the model on pure movie subtitles without human annotations, leveraging the natural conversational structure for self-supervised learning.
  • Fine-tunes the pre-trained model (PT-CoDE) on five ULER datasets to adapt to emotion classification.
  • Uses a contrastive learning setup in CoCo where the correct response is selected from a set of candidates including the original and noisy utterances.
  • Employs a bidirectional transformer-based architecture for both utterance and conversation encoders to capture long-range dependencies.

Experimental results

Research questions

  • RQ1Can a context-dependent encoder pre-trained on large-scale unlabeled conversations improve performance on low-resource utterance-level emotion recognition tasks?
  • RQ2How effective is the proposed 'conversation completion' (CoCo) task in learning meaningful contextual representations for ULER?
  • RQ3Does pre-training the utterance encoder and conversation encoder separately yield better performance than training from random initialization?
  • RQ4To what extent does PT-CoDE mitigate class imbalance and improve detection of minor emotion classes in ULER?
  • RQ5How does model scale affect the performance gain from pre-training in the context of limited ULER datasets?

Key findings

  • PT-CoDE achieves significant performance gains across five ULER datasets, outperforming the base CoDE model in all cases.
  • On the IEMOCAP dataset, PT-CoDE achieves an F1-score of 81.5±0.4, a 2.9% absolute improvement over the base CoDE (78.6±1.3).
  • On the Friends dataset, PT-CoDE achieves an F1-score of 65.9±0.7, a 3.5% absolute improvement over CoDE (62.4±0.4).
  • Pre-training the utterance encoder alone (CoDE+PT-U) improves F1 by 1.5% on IEMOCAP and 2.4% on Friends, showing the benefit of pre-trained utterance features.
  • Re-training the word embedding layer (PT-CoDE+RT-W) leads to a 1.4% performance drop on Friends, indicating that fine-tuning word embeddings may disrupt learned representations.
  • Qualitative analysis shows PT-CoDE better identifies minor emotion classes like Sad and Joy, especially in low-punctuation or ambiguous utterances, compared to CoDE.

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.