NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unsupervised Representation Learning for Speaker Recognition via Contrastive Equilibrium Learning

Sung Hwan Mun, Woo Hyun Kang, Min Hyun Han, Nam Soo KimarXiv 2020 · OpenReview

Abstract: In this paper, we propose a simple but powerful unsupervised learning method for speaker recognition, namely Contrastive Equilibrium Learning (CEL), which increases the uncertainty on nuisance factors latent in the embeddings by employing the uniformity loss. Also, to preserve speaker discriminability, a contrastive similarity loss function is used together. Experimental results showed that the proposed CEL significantly outperforms the state-of-the-art unsupervised speaker verification systems and the best performing model achieved 8.01% and 4.01% EER on VoxCeleb1 and VOiCES evaluation sets, respectively. On top of that, the performance of the supervised speaker embedding networks trained with initial parameters pre-trained via CEL showed better performance than those trained with randomly initialized parameters.

Introduction

Deep learning models for speaker recognition typically require thousands of hours of audio labeled with specific speaker IDs. While unsupervised methods exist, they face a major hurdle: nuisance factors. When a model is trained to recognize that two segments from the same recording belong to the same person, it often "cheats" by learning shared background noise, microphone characteristics, or room reverberation instead of unique vocal features. These factors lead to high training accuracy but poor generalization in different environments. Previous attempts to mitigate this, such as adversarial training, are often unstable and difficult to tune.

The Contrastive Equilibrium Learning (CEL) Framework

The proposed CEL framework addresses these challenges by balancing the desire for similar embeddings with a drive toward "uniformity." The system uses a Fast ResNet-34 encoder trained with two primary loss functions:

  1. Uniformity Loss ($L_u$): Based on the Radial Basis Function (RBF) kernel, this loss pushes embeddings to be uniformly distributed on a unit hypersphere. By maximizing the distribution's entropy, the model is discouraged from clustering based on shared nuisance factors, forcing it to extract deeper speaker-specific features.
  2. Similarity Loss ($L_s$): To maintain discriminability, a contrastive similarity loss (Angular Prototypical or Angular Contrastive) ensures that different augmented versions of the same utterance remain close in the embedding space.
The CEL framework architecture, showing the dual augmentation pipeline and the application of uniformity and similarity losses.

The training process involves taking a single utterance, creating two distinct "crops," and applying various augmentations (e.g., MUSAN noise and Room Impulse Responses). The model then minimizes $L_s$ to keep these crops close while maximizing $L_u$ to keep the overall distribution of all speakers in the batch spread out.

Experimental Setup

  • Unsupervised Pre-training: The development set of VoxCeleb2 (~1.1 million utterances) was used without speaker labels.
  • Evaluation: Performance was measured on the VoxCeleb1 test set and the VOiCES 2019 Challenge development set, the latter testing "out-of-domain" performance in noisy, distant-microphone conditions.
  • Supervised Fine-tuning: The VoxCeleb1 development set (1,211 speakers) was used to evaluate how CEL-initialized models perform when labels are introduced.

Key Results and Discussion

CEL achieved state-of-the-art results for unsupervised speaker verification. As shown in the comparison below, the best CEL configuration reached an 8.01% Equal Error Rate (EER) on VoxCeleb1 and 4.01% on VOiCES, outperforming previous methods like Augmentation Adversarial Training (AAT).

Comparison of CEL with other unsupervised speaker verification systems on VoxCeleb1 and VOiCES datasets.

Beyond unsupervised performance, CEL serves as a powerful pre-training step. When fine-tuning on labeled data, a CEL-pre-trained model reached 2.33% EER, significantly outperforming the 5.32% EER achieved by the same architecture starting from random initialization. This suggests that CEL captures the underlying structure of speech effectively before labels are even introduced.

Insights on Hyperparameters

Ablation studies revealed that batch size is a critical factor. Unlike many contrastive learning tasks where larger batches are better, CEL performed best at a batch size of $K=200$. Larger batches (e.g., $K=800$) likely introduce more "false negatives"—statistically increasing the chance that different utterances in a batch actually belong to the same speaker—which can confuse the model.

Conclusion

Contrastive Equilibrium Learning provides a robust framework for unsupervised speaker recognition by leveraging uniformity loss to combat nuisance factors. The method not only sets new benchmarks for unsupervised performance but also provides a superior initialization for supervised fine-tuning. Future work may explore the application of CEL to more complex tasks like speaker diarization in unlabeled, multi-speaker environments.

Summary updated

BibTeX
@misc{mun2020unsupervised,
  author = {Sung Hwan Mun and Woo Hyun Kang and Min Hyun Han and Nam Soo Kim},
  title = {{Unsupervised Representation Learning for Speaker Recognition via Contrastive Equilibrium Learning}},
  year = {2020},
  eprint = {2010.11433},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11433},
}
Figure