MelTrans: Mel-Spectrogram Relationship-Learning for Speech Emotion Recognition via Transformers

Hui Li, Jiawen Li, Hai Liu, Tingting Liu, Qiang Chen, Xinge You2024 · DOI

TL;DR

This paper introduces MelTrans, a novel dual-stream Transformer-based model for speech emotion recognition (SER). MelTrans effectively captures both subtle emotional cues and long-range dependencies in speech mel-spectrograms, achieving state-of-the-art results on the IEMOCAP and EmoDB datasets.

What Problem Does This Paper Address?

Speech emotion recognition (SER) is crucial for human-computer interaction, enabling systems to understand and respond to human emotions. However, SER faces significant challenges:

  • Emotional Subtleties: Emotions are often conveyed through minute variations in vocal attributes (pitch, tone, intensity) that are easily masked by noise or more overt expressions.
  • Noisy Environments: Real-world audio often contains overlapping sounds, making it difficult to isolate the target speech and extract reliable emotional information.
  • Feature Representation: Effectively capturing both local, critical cues and long-range dependencies within speech signals remains a complex task.

Existing deep learning methods have shown promise, but there's a need for models that can robustly handle these challenges, particularly by learning from both fine-grained details and broader contextual information within speech.

Methods

The core of MelTrans is a dual-stream Transformer architecture:

  • Crucial Cue Stream: This stream focuses on identifying and learning the most important, subtle emotional cues. It employs a masking strategy: a portion of the input mel-spectrogram is masked, and the model is trained to predict the missing information. This forces the model to learn robust representations of the remaining critical features.
  • Relationship Stream: This stream is designed to capture long-range dependencies within the speech signal. It utilizes a standard Transformer encoder to process the entire mel-spectrogram, allowing it to learn relationships across extended temporal segments.

These two streams are then fused to provide a comprehensive understanding of the speech emotion. The Transformer architecture is chosen for its proven ability to model sequential data and capture long-range dependencies.

Datasets

The MelTrans model was trained and evaluated on two widely used SER datasets:

  • IEMOCAP (Interactive Emotional Dyadic Motion Capture Database): Contains approximately 12 hours of dialogue from 10 actors (5 male, 5 female) annotated with four emotional labels: happy, neutral, angry, and sad.
  • EmoDB (German Emotional Speech Database): A collection of 535 sentences with 302 female and 233 male emotional utterances.

Key Insights and Ideas

  • Dual-Stream Synergy: The paper highlights that combining a stream focused on "crucial cues" (via masking) with a stream capturing "long-range relationships" is key to robust SER.
  • Masking for Robustness: The masking strategy in the crucial cue stream is not just for feature learning but also acts as a form of data augmentation, simulating noisy environments and forcing the model to rely on more invariant emotional features.
  • Transformer's Long-Range Power: The Transformer's inherent ability to model long-range dependencies is leveraged to overcome the challenge of subtle, spread-out emotional cues.
  • Subtle Discrepancies Matter: The authors emphasize that even minor differences in mel-spectrograms can carry significant emotional information, and their model is designed to capture these.

Key Results

  • IEMOCAP: MelTrans achieved an accuracy of 76.52%, outperforming several state-of-the-art methods like TRIN and ICAnet.
  • EmoDB: MelTrans achieved an accuracy of 92.52%, demonstrating strong performance on this dataset as well.
  • Ablation Studies: Analysis showed that the dual-stream design, particularly the crucial cue stream, significantly contributes to the model's overall performance, enhancing its ability to distinguish between similar emotions like neutral and happy, especially in challenging acoustic conditions.

Limitations and Future Work

The authors acknowledge several limitations:

  • Dataset Specificity: Experiments were conducted on German datasets (IEMOCAP and EmoDB), limiting generalizability to other languages, cultures, and spontaneous speech scenarios.
  • Computational Complexity: Transformer-based models can be computationally intensive, potentially hindering real-time applications.
  • Feature Extraction: There's room for further improvement in feature extraction.

Future work directions include:

  • Validating the model on more diverse datasets and languages.
  • Optimizing the model architecture for reduced computational load (e.g., pruning, quantization) for real-time deployment.
  • Exploring multi-modal approaches by integrating other modalities like facial expressions or physiological signals to enrich emotion understanding.

Summary updated

BibTeX
@misc{li2024meltrans,
  author = {Hui Li and Jiawen Li and Hai Liu and Tingting Liu and Qiang Chen and Xinge You},
  title = {{MelTrans: Mel-Spectrogram Relationship-Learning for Speech Emotion Recognition via Transformers}},
  year = {2024},
  doi = {10.3390/s24175506},
}
Figure