Enhancing Speech Emotion Recognition Through Differentiable Architecture Search

Thejan Rajapakshe, Rajib Rana, Sara Khalifa, Berrak Sisman, Björn SchullerarXiv 2023

TL;DR

This paper introduces a more autonomous way to design neural networks for Speech Emotion Recognition (SER) using Differentiable Architecture Search (DARTS). By allowing the algorithm to determine the optimal order of operations within a joint CNN-LSTM framework, the researchers discovered architectures that significantly outperform hand-engineered models and previous automated designs while maintaining a surprisingly small parameter footprint.

What Problem Does This Paper Address?

Speech Emotion Recognition (SER) is a cornerstone of natural human-computer interaction, yet it remains a "hard" problem due to the subtle, non-linear nature of emotional expression in audio. While deep learning has pushed the state-of-the-art, finding the "perfect" architecture—the right combination of convolutional layers for local features and recurrent layers for temporal context—is largely a manual process of trial and error.

Traditional Neural Architecture Search (NAS) can automate this, but it often requires thousands of GPU days. Differentiable Architecture Search (DARTS) is a much faster alternative that treats the search space as continuous. However, previous attempts to use DARTS for SER still relied heavily on human intuition, pre-defining the order of layers (e.g., forcing a convolution before a pooling layer). This paper aims to remove those "training wheels," giving the DARTS algorithm more autonomy to discover unconventional but high-performing structures.

Methods

The authors propose a hybrid architecture consisting of a DARTS-optimized CNN component followed by a bi-directional LSTM layer with an attention mechanism.

Fig. 1. The proposed model architecture comprises input features processed through CNN, LSTM, and Dense layers, and utilises DARTS for optimising the CNN component.

The core innovation lies in the DARTS CNN component:

  1. Cell-Based Search: The network is built from "cells" (Normal and Reduction). DARTS searches for the best operations (convolutions, pooling, identity) to connect nodes within these cells.
  2. Continuous Relaxation: Instead of picking one operation at a time, DARTS assigns weights to all possible operations and uses gradient descent to optimize them simultaneously.
  3. Increased Autonomy: Unlike prior work, the authors do not constrain the sequence of layers. The algorithm is free to place pooling before convolution or stack dilated convolutions in any order it finds optimal.
  4. Joint Training: Once the CNN cell structure is found, the entire CNN-LSTM-Attention pipeline is trained end-to-end to minimize emotion classification loss.

Datasets

The researchers evaluated their approach on two benchmark datasets:

  • IEMOCAP: A widely used dataset of improvised and scripted dyadic interactions. The study focused on the improvised subset across four categories: happiness, sadness, anger, and neutral.
  • MSP-IMPROV: An acted corpus designed to capture naturalistic emotional dyadic interactions.

Input features were standard Mel Frequency Cepstral Coefficients (MFCCs), processed into $128 \times 128$ spectrogram-like representations.

Key Insights and Ideas

  • Unconventional is Better: The discovered "Normal Cell" (see Figure 4/6) actually chose to use pooling layers as the initial set of layers. This deviates from standard manual design practices, which almost always start with a convolution to extract low-level features.
  • The Overfitting Trap: The authors found that increasing model complexity (moving from 4 cells to 8 cells) actually decreased performance. In the world of SER, a leaner, well-searched model often generalizes better than a massive one.
  • Efficiency Gains: The DARTS-generated model achieved superior accuracy to previous state-of-the-art NAS models (like EmotionNAS) while using roughly 82% fewer parameters (417k vs 2.37M). This suggests that DARTS is finding highly efficient ways to represent emotional features.

Key Results

The DARTS-optimized models consistently outperformed hand-engineered (HE) baselines across both datasets:

  • IEMOCAP: The best model (CNN+LSTM with attention) achieved 73.23% Unweighted Accuracy (UA), a massive jump from the 53.55% achieved by the hand-engineered equivalent.
  • MSP-IMPROV: The model reached 63.86% UA, compared to 42.31% for the baseline.
Fig. 3. Comparison of UA% and Number of Parameters between the DARTS generated (DARTS)(C = 4) and Hand Engineered (HE), CNN, CNN+LSTM and CNN+LSTM with attention models for (a) IEMOCAP and (b) MSP-IMPROV datasets.

As shown in Figure 3, the DARTS-optimized models (labeled DARTS) provide a significant performance boost over hand-engineered (HE) versions, even when the parameter count (the blue dotted bars) increases, though they remain much smaller than other automated approaches in the literature.

Limitations and Future Work

While the CNN component was highly optimized, the LSTM and attention layers were still manually integrated. The authors acknowledge that a "full-stack" NAS approach that also searches for the optimal recurrent structure or attention mechanism could yield even better results.

Additionally, the study focused on single-modal audio. Future work could explore using DARTS to optimize multi-modal architectures that combine audio with text or video features, which are increasingly common in modern emotion recognition tasks.

Summary updated

BibTeX
@misc{rajapakshe2023enhancing,
  author = {Thejan Rajapakshe and Rajib Rana and Sara Khalifa and Berrak Sisman and Björn Schuller},
  title = {{Enhancing Speech Emotion Recognition Through Differentiable Architecture Search}},
  year = {2023},
  eprint = {2305.14402},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.14402},
}
Figure