VoxCeleb2: Deep Speaker Recognition

Joon Son Chung, Arsha Nagrani, Andrew Zisserman

Introduction

Speaker recognition in unconstrained, real-world environments—often referred to as "in the wild"—presents a significant challenge for machine learning models. Unlike controlled laboratory settings, real-world audio is frequently degraded by background noise, overlapping speech, varying room acoustics, and hardware-induced channel effects. While fields such as face recognition have seen rapid advancement due to the availability of massive, diverse datasets, speaker recognition has historically been limited by smaller, more restricted datasets.

In this work, the authors introduce VoxCeleb2, a large-scale audio-visual dataset designed to bridge this gap. By leveraging an automated collection pipeline, the authors curated over a million utterances from more than 6,000 speakers. Alongside the dataset, they propose VGGVox, a ResNet-based architecture that achieves state-of-the-art performance by treating audio recognition as a visual pattern matching problem.

Automated Dataset Curation

To overcome the bottleneck of manual annotation, the authors developed a fully automated computer vision pipeline to extract speaker data from YouTube videos. The process involves several sophisticated stages:

  1. Candidate Selection: Using the VGGFace2 dataset as a starting point, the authors identified "Persons of Interest" to search for on YouTube.
  2. Face Tracking and Verification: Face detection and tracking were used to isolate individuals in video streams.
  3. Active Speaker Detection (SyncNet): To ensure the audio track actually belonged to the person on screen (and was not a voice-over or dubbed content), the authors employed "SyncNet," a two-stream audio-visual CNN. SyncNet verifies synchronization between lip movements and audio signals.

This pipeline resulted in VoxCeleb2, which contains 1.12 million utterances from 6,112 speakers. The dataset is notably diverse, featuring speakers from 145 nationalities, which provides a rich distribution of accents and ethnicities essential for training robust, globally applicable models.

The VGGVox Architecture

The core philosophy of the proposed model, VGGVox, is to treat audio signals as images. Raw audio is converted into short-term magnitude spectrograms, which are then processed by deep Convolutional Neural Networks (CNNs) originally designed for computer vision.

Architectural Modifications

The authors adapted standard architectures, including VGG-M, ResNet-34, and ResNet-50. A critical modification was made to the final layers: the standard fully connected layers were replaced with a global average pooling layer across the temporal dimension. This change makes the network invariant to the length of the input speech segment while preserving the frequency-domain features necessary for identifying unique vocal characteristics.

Training Strategy

Training a network for verification (determining if two samples are the same person) using contrastive loss from scratch is often unstable. To address this, the authors utilized a two-stage training regime:

  1. Identification Pre-training: The network is first trained to classify speakers using a standard softmax loss. This encourages the model to learn discriminative features.
  2. Verification Fine-tuning: The classification layer is removed, and the network is fine-tuned using a contrastive loss with offline hard-negative mining. This process maps voices into a compact 512-dimensional Euclidean space where the distance between embeddings represents speaker similarity.

Evaluation and Results

The authors evaluated their models on the original VoxCeleb1 test set and introduced two new, more rigorous benchmarks to prevent overfitting and test generalization:

  • VoxCeleb1-E: Evaluates pairs sampled from the entire 1,251-speaker VoxCeleb1 dataset.
  • VoxCeleb1-H: A "hard" set where pairs are matched by nationality and gender to test the model's ability to distinguish between similar-sounding individuals.

Performance Metrics

The ResNet-50 model trained on VoxCeleb2 demonstrated a significant leap in performance over previous methods:

  • Original VoxCeleb1: Achieved an Equal Error Rate (EER) of 3.95%, compared to 7.8% for the older VGG-M model and 8.8% for traditional i-vector approaches.
  • VoxCeleb1-E: Achieved an EER of 4.42%.
  • VoxCeleb1-H: Achieved an EER of 7.33%.

These results confirm that the scale and diversity of VoxCeleb2 allow deep architectures to learn highly robust speaker embeddings that outperform traditional signal processing techniques.

Conclusion

VoxCeleb2 represents a major milestone in speaker recognition research. By providing a dataset five times larger than its predecessor and demonstrating the efficacy of ResNet-based architectures, the authors have set a new standard for the field. Furthermore, because VoxCeleb2 includes both audio and video tracks, it serves as a foundation for future multi-modal research, including audio-visual speech separation, cross-modal biometric matching, and visual speech synthesis.

Summary updated

BibTeX
@inproceedings{chung2018voxceleb,
  author = {Joon Son Chung and Arsha Nagrani and Andrew Zisserman},
  title = {{VoxCeleb2: Deep Speaker Recognition}},
  booktitle = {Interspeech},
  year = {2018},
  doi = {10.21437/interspeech.2018-1929},
}
Figure