Decoding Emotions: A comprehensive Multilingual Study of Speech Models for Speech Emotion Recognition

Anant Singh, Akshat GuptaarXiv 2023 · DOI

Introduction

Transformer-based models like wav2vec2 and HuBERT have revolutionized Speech AI, primarily through their success in Automatic Speech Recognition (ASR). However, understanding the emotional nuance behind spoken words—Speech Emotion Recognition (SER)—remains a significant challenge. A recent study by researchers from NYU and JP Morgan Chase explores where "emotion" resides within these massive neural networks. By benchmarking eight major models across six languages, the authors demonstrate that the final layer is rarely the most informative for emotion; instead, the "middle" layers are key.

Methodology

The researchers evaluated eight pre-trained models, including wav2vec2, XLS-R, and HuBERT, as frozen feature extractors. To identify the "emotion center," they utilized two primary techniques:

  1. Edge Probing: Attaching a simple classification head (Linear or Dense) to every individual layer to measure its specific emotional intelligence.
  2. Aggregation: Comparing layer-specific performance against the industry standard of using a learnable weighted average of all layers.

The study spanned seven datasets across six languages: English (IEMOCAP, RAVDESS), French (CaFE), German (EmoDB), Greek (AESDD), Italian (EMOVO), and Persian (ShEMO). A standardized 60/20/20 speaker-independent split was used to ensure robust evaluation.

The "Goldilocks" Zone of Emotion

A core finding of the research is that emotional information follows a bell curve across transformer layers. Initial layers capture raw audio features, while final layers become overly specialized for phonetic reconstruction (ASR). The middle layers represent a "Goldilocks" zone, containing the richest contextual and prosodic features necessary for SER.

Accuracy across layers for various models and datasets, highlighting the peak performance in middle layers.

Interestingly, models fine-tuned for ASR showed a significant performance drop in their final layers. This "ASR Penalty" occurs because ASR training encourages models to ignore emotional "noise" to focus strictly on text transcription.

Results and Multilingual Performance

The study found that simply selecting the single optimal middle layer outperformed the standard aggregation approach, reducing the error rate by an average of 32% across all datasets. This approach led to new state-of-the-art (SOTA) results for German (EmoDB) and Persian (ShEMO).

Error reduction achieved by using the optimal layer (Probing Linear/Dense) compared to the aggregate approach.

The wav2vec2 XLSR-300M model, trained on 128 languages, emerged as the most robust feature extractor. Its multilingual pre-training provided a significant advantage even on English-only datasets, suggesting that exposure to diverse linguistic prosody enhances emotional understanding.

Conclusion

This comprehensive study highlights that for Speech Emotion Recognition, more complexity in the output head or aggregating all layers is often less effective than identifying the right internal representation. By focusing on the middle layers of large-scale multilingual models, researchers can significantly improve SER performance without the need for expensive fine-tuning. Future work will look toward automating the identification of these optimal layers and testing these findings on spontaneous, non-scripted speech.

Summary updated

BibTeX
@misc{singh2023decoding,
  author = {Anant Singh and Akshat Gupta},
  title = {{Decoding Emotions: A comprehensive Multilingual Study of Speech Models for Speech Emotion Recognition}},
  year = {2023},
  eprint = {2308.08713},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.08713},
}
Figure