[Paper Review] Semi-Supervised Contrastive Learning with Generalized Contrastive Loss and Its Application to Speaker Recognition
This paper proposes a unified semi-supervised contrastive learning framework using Generalized Contrastive Loss (GCL) for text-independent speaker verification. GCL seamlessly integrates supervised metric learning and unsupervised contrastive learning into a single loss function, enabling effective training across supervised, semi-supervised, and unsupervised settings without architectural or loss function changes. On the VoxCeleb dataset, the method achieves an EER of 6.01% in semi-supervised learning and 15.26% in unsupervised learning, outperforming prior unsupervised methods without using visual data.
This paper introduces a semi-supervised contrastive learning framework and its application to text-independent speaker verification. The proposed framework employs generalized contrastive loss (GCL). GCL unifies losses from two different learning frameworks, supervised metric learning and unsupervised contrastive learning, and thus it naturally determines the loss for semi-supervised learning. In experiments, we applied the proposed framework to text-independent speaker verification on the VoxCeleb dataset. We demonstrate that GCL enables the learning of speaker embeddings in three manners, supervised learning, semi-supervised learning, and unsupervised learning, without any changes in the definition of the loss function.
Motivation & Objective
- To unify supervised metric learning and unsupervised contrastive learning into a single framework for semi-supervised learning.
- To develop a loss function that naturally supports all three learning paradigms—supervised, semi-supervised, and unsupervised—without modification.
- To improve speaker verification performance using unlabeled data in the absence of pre-trained models or auxiliary signals like video.
- To evaluate the effectiveness of GCL in low-resource labeled scenarios common in real-world speaker recognition.
Proposed method
- The proposed framework uses Generalized Contrastive Loss (GCL), which unifies supervised metric learning and unsupervised contrastive learning into a single objective function.
- GCL defines similarity-based loss terms using cosine similarity between embeddings, with learnable scaling and shifting parameters: $ s(\mathbf{z}, \mathbf{z}^\prime) = \exp(\gamma \cos(\mathbf{z}, \mathbf{z}^\prime) + \beta) $.
- The loss function incorporates both positive and negative pairs, with labels indicating whether pairs are from the same speaker (1) or different speakers (0), and assigns appropriate loss weights based on label confidence.
- For semi-supervised learning, the framework treats unlabeled samples as negative pairs by default, using a consistent labeling strategy across all settings.
- The method applies data augmentation (MUSAN, RIR) to create positive pairs from unlabeled utterances, enabling contrastive learning without labels.
- The model uses a ResNet18 architecture with 40-dimensional filter bank features as input, trained end-to-end with GCL.
Experimental results
Research questions
- RQ1Can a single loss function effectively support supervised, semi-supervised, and unsupervised learning in speaker embedding learning?
- RQ2How does the proposed GCL-based framework perform in semi-supervised speaker verification when no pre-trained models or auxiliary data (e.g., video) are used?
- RQ3To what extent can unlabeled data improve performance in low-resource labeled settings?
- RQ4How does the GCL-based method compare to state-of-the-art unsupervised and semi-supervised speaker verification methods without visual supervision?
Key findings
- The proposed GCL framework achieves an equal error rate (EER) of 6.01% in semi-supervised speaker verification on VoxCeleb, matching the performance of a prior method that used a pre-trained ASR model.
- In unsupervised learning, the method achieves an EER of 15.26%, outperforming the cross-modal self-supervised method in [19] which used face images for supervision.
- The framework enables consistent training across all three learning modes—supervised, semi-supervised, and unsupervised—without modifying the loss function or network architecture.
- Performance improvement is most significant when labeled data is scarce, demonstrating the effectiveness of unlabeled data in low-resource settings.
- The method achieves a 2.56% EER in supervised training without data augmentation, though it remains below the 1.81% EER achieved with AM-Softmax and fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.