Abstract
In recent years, deep-learning-based speech emotion recognition models have outperformed classical machine learning models. Previously, neural network designs, such as Multitask Learning, have accounted for variations in emotional expressions due to demographic and contextual factors. However, existing models face a few constraints: 1) they rely on a clear definition of domains (e.g. gender, noise condition, etc.) and the availability of domain labels; 2) they often attempt to learn domain-invariant features while emotion expressions can be domain-specific. In the present study, we propose the Nonparametric Hierarchical Neural Network (NHNN), a lightweight hierarchical neural network model based on Bayesian nonparametric clustering. In comparison to Multitask Learning approaches, the proposed model does not require domain/task labels. In our experiments, the NHNN models generally outperform the models with similar levels of complexity and state-of-the-art models in within-corpus and cross-corpus tests. Through clustering analysis, we show that the NHNN models are able to learn group-specific features and bridge the performance gap between groups.
Introduction
Speech Emotion Recognition (SER) is a critical component of human-computer interaction, yet it remains challenging due to the inherent variability in vocal emotional expression. Factors such as gender, cultural background, and recording environments introduce significant acoustic variance. Traditional approaches to mitigate this variability include Multitask Learning (MTL), which requires explicit domain labels that are often unavailable in real-world data, and Domain Invariance techniques, which risk discarding useful, group-specific emotional cues. This paper introduces the Nonparametric Hierarchical Neural Network (NHNN) to address these limitations by automatically discovering and leveraging latent groups within the data.
Methods
The NHNN architecture is designed to capture both shared and group-specific features without requiring manual domain labels. It consists of a shared feature encoder followed by multiple domain-specific classifiers.
Unsupervised Clustering
The model utilizes a Dirichlet Process Mixture Model (DPMM), a Bayesian nonparametric method, to cluster data. Unlike K-means, DPMM infers the optimal number of clusters directly from the data distribution. This allows the model to identify latent groups (e.g., based on gender or language) in an unsupervised manner.
Hierarchical Structure and Soft Ensemble
A shared 1D Dilated Convolutional Neural Network (DCNN) extracts general features, which are then routed to "expert" classifiers assigned to each cluster. For inference, the model calculates the probability of a sample belonging to each cluster and produces a final prediction by weighting the outputs of these domain-specific classifiers. This soft ensemble approach ensures that the model can handle samples that may share characteristics across multiple latent groups.
Experimental Setup
The NHNN was evaluated on three distinct datasets to assess its performance across varied conditions:
- IEMOCAP: A controlled laboratory dataset with scripted and improvised emotional performances.
- PRIORI Emotion: "In-the-wild" recordings of phone calls from individuals with bipolar disorder.
- PRIORI R21: A multicultural subset of PRIORI featuring native English and native Arabic speakers.
Results and Discussion
The NHNN models, particularly the "FC+Conv" variant, consistently outperformed baseline architectures, including standard DCNNs and more complex CNN-LSTM models, across all datasets in terms of Unweighted Average Recall (UAR).
Cross-Corpus and Fairness Analysis
In cross-corpus evaluations, the NHNN demonstrated superior generalizability. For example, when trained on IEMOCAP and tested on PRIORI Emotion, the NHNN achieved a UAR of 0.3873, compared to 0.3572 for the baseline DCNN. Furthermore, the model effectively bridged performance gaps between demographic groups. In the PRIORI R21 dataset, the disparity in accuracy between native and non-native speakers was significantly reduced, suggesting that the unsupervised clusters successfully captured relevant linguistic and cultural variations.
Conclusion
The Nonparametric Hierarchical Neural Network provides a robust framework for SER by automatically accounting for data variability. By learning group-specific features through unsupervised clustering, NHNN achieves state-of-the-art performance and improves fairness without the need for explicit domain labels. Future work will focus on interpreting the specific acoustic features driving the clustering process and exploring end-to-end learning of the clustering features.
Summary updated