Multi-Level Knowledge Distillation for Speech Emotion Recognition in Noisy Conditions

Yang Liu, Haoqin Sun, Geng Chen, Qingyue Wang, Zhen Zhao, Xugang Lu, Longbiao Wang · DOI

Abstract

Speech Emotion Recognition (SER) systems often struggle with the dual challenges of environmental noise and high computational requirements. This paper presents a Multi-Level Knowledge Distillation (MLKD) framework designed to bridge the gap between high-performance, large-scale models and the practical constraints of edge deployment. By distilling knowledge from a 12-layer wav2vec-2.0 teacher model trained on clean audio into a 6-layer student model trained on noisy audio, we achieve an 18.23% improvement in accuracy over traditional baselines. The resulting student model is 45% smaller and 52% faster than the teacher, demonstrating a robust solution for real-world SER applications.

Introduction

While Speech Emotion Recognition (SER) has reached high levels of accuracy in laboratory settings, its real-world utility is often hampered by background noise—such as traffic, machinery, or babble—and the heavy computational load of state-of-the-art architectures. Large pre-trained models like wav2vec-2.0 provide excellent feature extraction but are often too resource-intensive for mobile or edge devices. Furthermore, these models are typically optimized for clean speech, causing their performance to degrade significantly in noisy environments.

To address these issues, this research proposes a Multi-Level Knowledge Distillation (MLKD) approach. The goal is to create a lightweight student model that can maintain high accuracy in noisy conditions by mimicking the internal representations of a larger teacher model trained on clean speech, effectively bypassing the need for computationally expensive speech enhancement pre-processing.

Methodology

The Teacher-Student Framework

The core of the proposed method is a "Teacher-Student" architecture utilizing a specialized distillation process:

  1. The Teacher Model: A full-sized wav2vec-2.0 model consisting of 12 transformer blocks. This model is pre-trained on clean speech to serve as an expert in identifying emotional acoustic features.
  2. The Student Model: A "distil wav2vec-2.0" variant, which is a compressed version featuring only 6 transformer blocks.

Multi-Level Knowledge Distillation (MLKD)

Unlike standard distillation techniques that only align the final output layer, MLKD enforces alignment at multiple intermediate stages. The student’s 6 layers are trained to approximate the hidden states of the teacher’s even-numbered layers (2, 4, 6, 8, 10, and 12). This ensures that the feature extraction process is corrected from "shallow to deep."

During training, the student is exposed to speech contaminated with various noise types at different Signal-to-Noise Ratios (SNRs). By attempting to match the teacher's "clean" logic while processing "noisy" input, the student learns to inherently filter out noise and extract robust emotional features.

Loss Function

The training objective is a weighted combination of three distinct loss components:

  • Mean Squared Error (MSE): To align intermediate hidden states between the student and teacher.
  • Kullback–Leibler (KL) Divergence: To match the teacher's final soft probability distributions.
  • Cross-Entropy: To ensure the student model remains grounded in the actual emotion labels (ground truth).

Experimental Design

Datasets

The framework was evaluated using the IEMOCAP dataset, a standard benchmark for SER containing approximately 12 hours of data. The study focused on four primary emotional categories: happiness, anger, neutral, and sadness.

Noise Simulation

To simulate realistic environments, the researchers utilized the Noisex-92 database, incorporating noise profiles such as background babble, F-16 fighter jet noise, factory floor noise, HF radio interference, and engine noise. These were mixed with the clean IEMOCAP audio using the FANT Toolkit at SNRs ranging from 0dB (high noise) to 20dB (low noise).

Results and Discussion

Performance and Efficiency

The MLKD framework demonstrated significant improvements across all metrics:

  • Accuracy: The method achieved an average absolute gain of 18.23% in Unweighted Accuracy (UA) across all noise types compared to the VAD + NMF baseline.
  • Model Size: The student model requires only 197 MB of memory, a 45% reduction from the teacher's 360.17 MB.
  • Inference Speed: The student model processed 507 samples in 444 seconds, compared to 926 seconds for the teacher—a 52% speedup.

The Clean Guidance Paradox

A key insight from the study is that the teacher’s internal representations of clean speech are so robust that they provide a "gold standard" for the student, even though the teacher never encountered noise during its own training. Interestingly, at very high noise levels (0dB), the student model actually outperformed the teacher, suggesting that the distillation process successfully specialized the student for noise robustness in a way the original architecture could not.

Stability

The student model showed remarkable stability. When the SNR dropped from 20dB to 15dB, the student's accuracy decreased by only 1%, whereas the baseline model's performance dropped by over 2.2%.

Conclusion and Future Work

The Multi-Level Knowledge Distillation framework successfully addresses the trade-off between model size and noise robustness in Speech Emotion Recognition. While the student model exhibits a slight performance sacrifice (approximately 5%) in perfectly clean conditions compared to the teacher, the gains in speed, memory efficiency, and low-SNR accuracy make it far more suitable for real-world deployment.

Future research will focus on testing the framework's generalization to "unseen" noise types not present in the training data and performing cross-corpus validation on datasets such as RAVDESS or MELD to further confirm the versatility of the MLKD approach.

Summary updated

BibTeX
@inproceedings{liu2023multi,
  author = {Yang Liu and Haoqin Sun and Geng Chen and Qingyue Wang and Zhen Zhao and Xugang Lu and Longbiao Wang},
  title = {{Multi-Level Knowledge Distillation for Speech Emotion Recognition in Noisy Conditions}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-300},
}
Figure