Abstract
This paper introduces Neural Predictive Coding (NPC), a novel unsupervised framework for learning speaker-discriminative embeddings from raw, unlabeled audio. By leveraging the short-term active-speaker stationarity hypothesis, we generate millions of contrastive pairs from unlabeled streams to train a Siamese Convolutional Neural Network (CNN). Our results demonstrate that NPC can learn robust speaker characteristics from diverse, noisy datasets like YouTube, achieving performance comparable to or exceeding supervised baselines in speaker identification tasks.
Introduction
Modern speaker recognition systems typically rely on supervised deep neural network (DNN) embeddings, such as x-vectors, which require vast amounts of human-annotated data. This dependency limits the scalability of these models and often leads to domain mismatch issues. We propose an unsupervised alternative that exploits the temporal structure of natural speech to learn speaker identity without explicit labels. The goal is to tap into the virtually infinite supply of unlabeled audio available online to build more robust and generalizable models.
Methodology
The core of NPC is the short-term active-speaker stationarity hypothesis: in a continuous audio stream, segments close in time are likely from the same speaker (Genuine Pairs), while segments from different streams are almost certainly from different speakers (Impostor Pairs).
As shown in Figure 1, the system extracts 1-second segments and converts them into Mel-frequency cepstral coefficients (MFCCs). These are fed into a Siamese CNN—twin networks with shared weights. The network maps inputs to a 512-dimensional embedding space, and a binary classifier trained on the L1 distance between embeddings distinguishes between pair types. This contrastive learning objective forces the network to ignore environmental noise and focus on invariant speaker characteristics.
Experimental Setup
We trained NPC models on three distinct unsupervised datasets to test robustness:
- Tedlium (100h): Clean TED talk audio.
- Tedlium-Mix (110h): Artificially mixed TED talks with frequent speaker changes to stress-test the stationarity hypothesis.
- YoUSCTube (584h): Large-scale, noisy, multilingual data scraped from YouTube.
Evaluation was conducted using the Tedlium test set for closed-set speaker identification and the VoxCeleb v1 benchmark for speaker verification.
Results and Discussion
The training process proved highly stable across all datasets. Figure 3 illustrates the binary classification accuracy during training, showing that even the noisy and diverse YoUSCTube dataset allows the model to reach high validation accuracy (~92%), indicating successful learning of speaker-discriminative features.
Key Insights
- Robustness to Noise: The model trained on diverse YouTube data (NPC YoUSCTube) outperformed those trained on cleaner, smaller datasets. This suggests that the sheer volume and variety of unlabeled data can compensate for the lack of human labels.
- State-of-the-Art Performance: On frame-level speaker identification, NPC YoUSCTube achieved 90.34% accuracy, surpassing supervised i-vector baselines (88.13%).
- Complementarity: Combining NPC embeddings with traditional i-vectors improved identification accuracy to 98.09%, highlighting that unsupervised features capture unique, localized acoustic information that statistical models miss.
Conclusion and Future Work
NPC demonstrates the feasibility of learning high-quality speaker embeddings from massive, unlabeled datasets without any human intervention. While currently limited by short-term 1-second windows, the system provides a powerful foundation for scalable speaker recognition. Future work will focus on integrating longitudinal context via Recurrent Neural Networks (RNNs) and addressing channel entanglement through advanced data augmentation techniques.
Summary updated