# Supervised Contrastive Learning with Nearest Neighbor Search for Speech Emotion Recognition

arXiv: https://arxiv.org/abs/2308.16485 · HTML: https://mlsanity.com/paper/2308.16485/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 31 Aug 2023.

## Built on by (most cited first, 3 of 3)

- [Enhancing Multimodal Emotion Recognition through Multi-Granularity Cross-Modal Alignment](https://mlsanity.com/paper/2412.20821/) (2024)
- [Enhancing Dysarthric Speech Recognition for Unseen Speakers via Prototype-Based Adaptation](https://mlsanity.com/paper/2407.18461/) (2024)
- [Enhancing Speech Emotion Recognition through Segmental Average Pooling of Self-Supervised Learning Features](https://mlsanity.com/paper/2410.12416/) (2024)

## Abstract (arXiv)

Speech Emotion Recognition (SER) is a challenging task due to limited data and blurred boundaries of certain emotions. In this paper, we present a comprehensive approach to improve the SER performance throughout the model lifecycle, including pre-training, fine-tuning, and inference stages. To address the data scarcity issue, we utilize a pre-trained model, wav2vec2.0. During fine-tuning, we propose a novel loss function that combines cross-entropy loss with supervised contrastive learning loss to improve the model's discriminative ability. This approach increases the inter-class distances and decreases the intra-class distances, mitigating the issue of blurred boundaries. Finally, to leverage the improved distances, we propose an interpolation method at the inference stage that combines the model prediction with the output from a k-nearest neighbors model. Our experiments on IEMOCAP demonstrate that our proposed methods outperform current state-of-the-art results.
