Skip to main content
QUICK REVIEW

[Paper Review] A Siamese Neural Network with Modified Distance Loss For Transfer Learning in Speech Emotion Recognition

Kexin Feng, Theodora Chaspari|arXiv (Cornell University)|Jun 4, 2020
Emotion and Mood RecognitionPsychology12 references6 citations
TL;DR

This paper proposes a Siamese neural network with a modified distance loss to improve few-shot transfer learning in speech emotion recognition. By optimizing relative distances between same-class and different-class pairs during fine-tuning, the method achieves up to a 7% improvement in unweighted average recall compared to standard fine-tuning, with source data selection proving more impactful than hyperparameter tuning of frozen layers.

ABSTRACT

Automatic emotion recognition plays a significant role in the process of human computer interaction and the design of Internet of Things (IOT) technologies. Yet, a common problem in emotion recognition systems lies in the scarcity of reliable labels. By modeling pairwise differences between samples of interest, a Siamese network can help to mitigate this challenge since it requires fewer samples than traditional deep learning methods. In this paper, we propose a distance loss, which can be applied on the Siamese network fine-tuning, by optimizing the model based on the relevant distance between same and difference class pairs. Our system use samples from the source data to pre-train the weights of proposed Siamese neural network, which are fine-tuned based on the target data. We present an emotion recognition task that uses speech, since it is one of the most ubiquitous and frequently used bio-behavioral signals. Our target data comes from the RAVDESS dataset, while the CREMA-D and eNTERFACE'05 are used as source data, respectively. Our results indicate that the proposed distance loss is able to greatly benefit the fine-tuning process of Siamese network. Also, the selection of source data has more effect on the Siamese network performance compared to the number of frozen layers. These suggest the great potential of applying the Siamese network and modelling pairwise differences in the field of transfer learning for automatic emotion recognition.

Motivation & Objective

  • Address the challenge of limited labeled data in speech emotion recognition by leveraging transfer learning.
  • Improve knowledge transfer efficiency when only a few target samples are available.
  • Explore the effectiveness of Siamese networks in few-shot emotion recognition using pairwise similarity learning.
  • Investigate the impact of source dataset selection versus architectural hyperparameters (e.g., number of frozen layers) on fine-tuning performance.
  • Develop a novel distance loss that models relative inter-class and intra-class distances to enhance feature discrimination.

Proposed method

  • A Siamese neural network is pre-trained on source datasets (CREMA-D and eNTERFACE’05) and fine-tuned on the target RAVDESS dataset.
  • The proposed modified distance loss optimizes the relative distance between feature embeddings of same-class and different-class pairs during fine-tuning.
  • The loss function is applied only to the feature extraction layers to preserve decision-making capacity while improving embedding quality.
  • Speech features are extracted using openSMILE, resulting in a 64-dimensional feature vector including MFCCs, energy, zero-crossing rate, and their first-order derivatives.
  • Fine-tuning is performed with varying numbers of frozen layers and different numbers of target speakers (3–5) to evaluate generalization and data efficiency.
  • Performance is evaluated using unweighted average recall (UAR) on the RAVDESS dataset across multiple source-target combinations.

Experimental results

Research questions

  • RQ1Can a modified distance loss improve the performance of Siamese networks in few-shot transfer learning for speech emotion recognition?
  • RQ2How does the selection of source data influence the fine-tuning performance of Siamese networks in cross-domain emotion recognition?
  • RQ3Does the number of frozen layers during fine-tuning have a greater impact on performance than the choice of source dataset?
  • RQ4To what extent can pairwise similarity learning via Siamese networks mitigate domain shift with minimal labeled target data?
  • RQ5Can the proposed loss function enhance knowledge transfer efficiency without increasing computational cost?

Key findings

  • The proposed modified distance loss improved unweighted average recall (UAR) by up to 7% compared to standard fine-tuning, achieving 43.4% UAR when using CREMA-D as the source dataset.
  • Fine-tuning with the modified loss outperformed both baseline fine-tuning and out-of-domain training, which achieved only 32.8% and 29.3% UAR, respectively.
  • Source data selection had a more significant impact on performance than the number of frozen layers, with CREMA-D yielding better results than eNTERFACE’05.
  • Including 3–5 target speakers in the fine-tuning process yielded the best performance-to-data ratio, suggesting an optimal balance between data scarcity and distribution coverage.
  • The Siamese network with modified loss showed strong potential despite not surpassing in-domain training (50.0% UAR), indicating room for further improvement.
  • The method demonstrated that modeling relative pairwise distances enhances feature discrimination and knowledge transfer in low-resource settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.