Beyond Isolated Utterances: Conversational Emotion Recognition

Raghavendra Pappagari, Piotr Zelasko, Jesús Villalba, Laureano Moro-Velázquez, Najim Dehak · DOI

TL;DR

This paper tackles the challenge of recognizing emotions in conversations, arguing that isolated utterance analysis is insufficient. They propose transformer-based models that leverage conversational context and introduce a novel data augmentation technique (DCA) to improve performance, achieving state-of-the-art results on the IEMOCAP dataset.

What Problem Does This Paper Address?

Traditional speech emotion recognition (SER) typically focuses on analyzing individual, short audio clips (utterances) in isolation. The assumption is that a single utterance contains a single emotion. However, human emotions in real-world conversations are dynamic and influenced by the ongoing interaction. Recognizing emotions in a conversational setting (Conversational Emotion Recognition or CER) requires understanding the broader context, including previous utterances, speaker interactions, and the flow of the conversation. Existing CER approaches often rely on fixed context windows or struggle with multi-party conversations. This paper aims to bridge this gap by developing models that can effectively capture and utilize conversational context for more accurate emotion recognition.

Methods

The authors propose several transformer-based approaches for CER, framing it as a sequence labeling task where frames within a conversation are assigned emotion labels.

  • Transformer Architecture: They employ a standard transformer encoder with 12 self-attention layers, which excels at capturing long-range dependencies in sequential data. Positional embeddings are used to retain sequence order information, as self-attention itself is permutation-invariant.
  • ResNet+Transformer: To leverage both local and global context, they combine a pre-trained ResNet-34 (known for its ability to extract local features) with the transformer. The ResNet processes MFCC features to produce contextualized embeddings, which are then fed into the transformer.
  • Interlocutor-aware ResNet+Transformer: Recognizing that speaker identity and interaction play a role, they extend the ResNet+Transformer model by incorporating interlocutor information. This is achieved by learning interlocutor index embeddings and adding them to the input embeddings, allowing the model to distinguish between speakers in a conversation. This approach requires speaker-diarized audio.
  • DiverseCatAugment (DCA): A novel data augmentation technique is introduced, inspired by the self-attention mechanism. DCA aims to increase the diversity of emotion categories within training sequences. For conversations, it involves concatenating different conversations. For isolated utterances, it concatenates multiple utterances to create longer sequences with varied emotional content. The hypothesis is that sequences with more emotional diversity lead to better transformer performance.

Datasets

  • IEMOCAP (Interactive Emotional Dyadic Motion Capture Database): This is the primary dataset used for training and evaluation. It contains 150 dyadic conversations between 5 male and 5 female speakers, with utterances labeled for emotions like Angry, Frustration, Happy, Neutral, and Sad. The authors merged "Excitation" with "Happy" and filtered out segments not belonging to the target emotions. They used a 3-session training, 1-session development, and 1-session testing split, with 5-fold cross-validation.

Key Insights and Ideas

  • Context is Crucial: The paper strongly demonstrates that conversational context significantly improves emotion recognition performance compared to analyzing isolated utterances.
  • Emotional Inertia: The authors observe that many conversations exhibit "emotional inertia," where one emotion dominates for extended periods. This can make it challenging for models to detect subtle emotional shifts.
  • Diversity Aids Transformers: The DCA augmentation scheme highlights that increasing the emotional diversity within training sequences, even without explicit conversational context, can boost transformer performance. This suggests that transformers benefit from varied input patterns.
  • Interlocutor Awareness Matters: Incorporating speaker identity information (interlocutor index) leads to further performance gains, particularly for emotions like Neutral and Angry, which are more prone to confusion due to their heterogeneous trigram patterns.

Key Results

  • Transformer Superiority: The transformer model consistently outperformed baseline BiLSTM and ResNet-34 models across various training conditions.
  • DCA Impact: DCA augmentation improved the transformer model's performance by an absolute 3.3% micro-f1 on conversations and 3.6% on isolated utterances.
  • ResNet+Transformer: Combining ResNet-34 with the transformer yielded a 4.5% absolute improvement in micro-f1 compared to the transformer alone.
  • Interlocutor-Aware Model: The interlocutor-aware ResNet+Transformer model achieved a 3.2% absolute improvement in micro-f1 over the non-interlocutor-aware version.
  • Best Performance: The transformer model trained with DCA on conversations achieved the highest micro-f1 score of 45.3%. The ResNet+Transformer model with DCA on conversations reached 49.8%.
  • Confusion Analysis: The model showed confusion between Angry and Frustration, and between Neutral and other emotions, which the authors attribute partly to inherent ambiguities in the ground truth annotations and emotional inertia.

Limitations and Future Work

  • Interlocutor Model Dependency: The interlocutor-aware transformer model requires speaker-diarized audio and is limited by the maximum number of speakers seen during training. The authors plan to propose models to overcome this limitation.
  • Dataset Limitations: The IEMOCAP dataset, while widely used, has a limited number of speakers and was collected in controlled settings.
  • Future Directions: The authors plan to evaluate their models on more spontaneous conversation datasets with a larger number of speakers, such as MELD. They also intend to further investigate the acoustic characteristics of emotions like Neutral that contribute to confusion.

Summary updated

BibTeX
@inproceedings{pappagari2021beyond,
  author = {Raghavendra Pappagari and Piotr Zelasko and Jesús Villalba and Laureano Moro-Velázquez and Najim Dehak},
  title = {{Beyond Isolated Utterances: Conversational Emotion Recognition}},
  booktitle = {ASRU},
  year = {2021},
  doi = {10.1109/asru51503.2021.9687971},
}
Figure