Abstract: We investigate the importance of temporal context for speech emotion recognition (SER). Two SER systems trained on traditional and learned features, respectively, are developed to predict categorical labels of emotion. For traditional acoustical features, we study the combination of filterbank features and prosodic features and the impact on SER when the temporal context of these features is expanded by learnable spectro-temporal receptive fields (STRFs). Experiments show that the system trained on learnable STRFs outperforms other reported systems evaluated with a similar setup. We also demonstrate that the wav2vec features, pretrained with long temporal context, are superior to traditional features. We then introduce a novel segment-based learning objective to constrain our classifier to extract local emotion features from the large temporal context. Combined with the learning objective and fine-tuning strategy, our top-line system using wav2vec features reaches state-of-the-art performance on the IEMOCAP dataset.
Introduction
Speech emotion recognition (SER) is a complex task because emotional cues are manifested across various temporal scales. These range from micro-fluctuations in vocal fold vibrations (jitter and shimmer) to macro-rhythms spanning entire sentences (prosody). A fundamental question in the field is: how much temporal context does a model need to accurately identify an emotion? While long context windows provide more information, they also introduce "spurious correlations"—patterns that might correlate with a label in a small dataset but do not represent actual emotional content.
This research from Carnegie Mellon University addresses these challenges by comparing engineered acoustic features with self-supervised "learned" features like wav2vec. The authors explore how to leverage long temporal context while implementing architectural constraints to prevent the model from over-relying on noise.
Methodology
The researchers developed two parallel systems to investigate the impact of feature selection and temporal context.
Feature Extraction Paths
- Engineered Feature Path: This path tested combinations of log-mel filterbanks (spectral info), pitch pulses (prosodic features focusing on voice quality), and learnable Spectro-Temporal Receptive Fields (STRFs). STRFs utilize a constrained CNN to automatically extract modulation patterns—the way speech energy changes over time and frequency.
- Learned Feature Path (wav2vec): This path utilized wav2vec, a model pre-trained on 960 hours of Librispeech. Wav2vec provides high-level representations with a large temporal context of approximately 810ms.
Segment-Based Learning Objective
To mitigate the risk of overfitting to spurious correlations in long-context features, the authors introduced a novel segment-based classification objective. Unlike standard approaches that generate a single prediction from a BiLSTM at the end of a sequence, this method adds an auxiliary loss. This loss forces individual frames of the feature sequence to predict the overall emotion, acting as a regularizer that ensures the model learns local, meaningful emotional evidence throughout the audio segment.
Experimental Setup
The study utilized the IEMOCAP (Interactive Emotional Dyadic Motion Capture) dataset, a benchmark consisting of five sessions of scripted and improvised dialogues. The evaluation focused on four categorical labels: Neutral, Happy (including Excited), Sad, and Angry. Performance was measured using Unweighted Accuracy (UA).
Results and Discussion
The experiments revealed several key insights regarding context and regularization:
- Context Scaling: While performance generally improves with context length, it is not a linear relationship. For instance, modulation features have a long context (200ms) but lose fine-grained spectral detail, making them less effective than shorter-context spectrograms when used in isolation.
- Regularization for wav2vec: Due to its high dimensionality, wav2vec is prone to overfitting on small SER datasets. The segment-based loss proved essential for allowing the model to generalize by focusing on local emotional "hits."
- Fine-tuning Strategy: Fine-tuning the entire wav2vec model was found to be brittle. The best results were achieved by fine-tuning only the context network (which aggregates information over time) while keeping the low-level encoder fixed.
As shown in the results, the combination of wav2vec features, segment-based regularization, and targeted fine-tuning achieved a state-of-the-art UA of 66.9%, significantly outperforming previous high-performing models like FCN+Attention (63.9%).
Conclusion
This work demonstrates that while long temporal context is powerful for SER, it requires careful regularization to be effective. The introduced segment-based learning objective successfully constrains the model to find local emotional cues within large windows. Future work will explore how these temporal constraints perform in natural, non-scripted conversational settings where emotional expression is more subtle and overlapping.
Summary updated