Vesper: A Compact and Effective Pretrained Model for Speech Emotion Recognition

Weidong Chen, Xiaofen Xing, Peihao Chen, Xiangmin Xu · DOI

Introduction

Large-scale Pretrained Models (PTMs) such as WavLM and HuBERT have set new benchmarks across various speech processing tasks. However, these models present two significant hurdles for practical deployment: their immense size makes them computationally prohibitive for real-time applications, and their general-purpose training objectives often overlook the subtle acoustic nuances critical for Speech Emotion Recognition (SER).

To address these challenges, we introduce Vesper, a task-specific pretrained model designed to be both lean and highly effective. Vesper bridges the gap between general-purpose pretraining and specialized emotion recognition by employing a novel two-step paradigm: Compression at Initialization followed by Task-Specific Pretraining.

The Vesper paradigm: combining compression at initialization with task-specific self-supervised pretraining.

Methodology

1. Compression at Initialization

Rather than training a compact model from scratch, Vesper leverages the rich representations of a larger teacher model (WavLM Large). Through a process of uniform extraction, a smaller architecture (e.g., 4 or 12 layers) is initialized by selecting specific layers from the 24-layer teacher. This "inheritance" provides a high-quality starting point, ensuring the compact model retains foundational speech knowledge before task-specific tuning begins.

2. Emotion-Guided Masking

Traditional self-supervised learning (SSL) masks random segments of the audio signal. Vesper introduces Emotion-Guided Masking, which uses Root Mean Square (RMS) energy as a proxy for emotional salience. High-energy regions (often associated with anger or excitement) and specific low-energy regions (associated with sadness) are prioritized for masking. This forces the model to learn to reconstruct the most emotionally significant parts of the acoustic signal, effectively injecting domain knowledge into the SSL framework without requiring manual labels.

Emotion-guided masking strategy using RMS energy to identify and prioritize salient acoustic regions for reconstruction.

3. Hierarchical and Cross-Layer Supervision

To maintain a balance between low-level acoustic features (pitch, rhythm) and high-level semantic features, Vesper employs a dual-supervision strategy:

  • Hierarchical Supervision: Shallow and deep layers of Vesper are supervised by corresponding layers of the frozen WavLM Large teacher.
  • Cross-Layer Supervision: The final layer of Vesper is tasked with predicting intermediate acoustic representations from the teacher, preventing the "forgetting" of low-level details that are often more important for emotion than the literal spoken content.

Experimental Evaluation

Vesper was pretrained on the LSSED (Large-scale English Speech Emotion Dataset) and evaluated on three benchmark datasets: IEMOCAP (dyadic interactions), MELD (noisy multi-party dialogue), and CREMA-D (varied emotional intensities).

Key Results

  • Superior Efficiency: Vesper-4, with only 63.5M parameters, achieved a 2.5% gain in Weighted Accuracy (WA) over the 94.7M parameter WavLM Base on IEMOCAP. It also reduced computational FLOPs by approximately 22%.
  • State-of-the-Art Performance: Vesper-12 (164.3M parameters) outperformed the much larger WavLM Large (316.6M parameters) across all datasets. Notably, on CREMA-D, Vesper-12 reached a WA of 77.2%, compared to 75.7% for WavLM Large, while reducing FLOPs by nearly 42%.

Conclusion

Vesper demonstrates that for specialized tasks like emotion recognition, a well-compressed, task-specific model can significantly outperform general-purpose models twice its size. By utilizing energy-guided masking and hierarchical distillation, Vesper provides a blueprint for creating efficient, high-performance speech models that are ready for real-world deployment.

Summary updated

BibTeX
@article{chen2024vesper,
  author = {Weidong Chen and Xiaofen Xing and Peihao Chen and Xiangmin Xu},
  title = {{Vesper: A Compact and Effective Pretrained Model for Speech Emotion Recognition}},
  journal = {IEEE Trans. Affect. Comput.},
  year = {2024},
  doi = {10.1109/taffc.2024.3369726},
}
Figure