Abstract
Speaker verification (SV) is fundamentally a pairwise comparison task, yet most modern systems are trained using multi-class classification objectives. This paper introduces SphereFace2, a novel framework that reformulates SV training as a massive set of independent binary classification tasks. By aligning the training objective with the evaluation task, SphereFace2 achieves state-of-the-art performance on challenging benchmarks like VoxSRC and demonstrates exceptional robustness to noisy training data.
Introduction
Speaker verification aims to determine if two voice samples belong to the same identity. This is an open-set problem where the system must generalize to unseen speakers. Current methodologies typically rely on either metric learning (e.g., triplet loss) or multi-class classification (e.g., softmax-based losses). Metric learning is theoretically aligned with verification but suffers from high computational costs due to the need for mining hard samples. Conversely, multi-class classification is efficient but introduces a "close-set" bias, forcing the model to distinguish between a fixed set of training identities rather than learning generalizable similarity features.
The authors identify a fundamental mismatch: models are trained to categorize but deployed to verify. SphereFace2 bridges this gap by treating each speaker in the training set as an independent binary classification task.
Methods: The SphereFace2 Framework
SphereFace2 re-imagines the training process through several key innovations:
- Independent Binary Heads: For a training set with $K$ speakers, the model employs $K$ independent binary classifiers. Each sample is evaluated against every speaker identity ("Is this Speaker $i$?").
- Hyper-sphere Embedding: Utterances are mapped to a high-dimensional hypersphere where the angle between vectors represents speaker similarity.
- Class Balancing ($\lambda$): To address the extreme imbalance between positive and negative samples (a sample is positive for only one class but negative for thousands), a weighting parameter $\lambda$ is used to prevent the model from collapsing into a "always negative" state.
- Universal Threshold ($b$): A shared bias term across all binary heads ensures a consistent decision boundary throughout the embedding space, enhancing stability.
- Similarity Adjustment: A mapping function $g(z)$ is utilized to refine the distribution of similarity scores, improving the separation between intra-class and inter-class samples.
Experimental Results
The framework was evaluated using the VoxCeleb2 dataset for training and various Vox1 and VoxSRC subsets for testing.
Performance Benchmarks
SphereFace2 consistently outperformed established baselines, including AAM-Softmax, across all metrics. On the VoxSRC21-val set, SphereFace2 achieved an Equal Error Rate (EER) of 3.067%, a significant improvement over AAM-Softmax's 3.450%. When combined with Large Margin Fine-Tuning (LM-FT), the model reached a state-of-the-art EER of 0.670% on Vox1-O.
Robustness to Noisy Labels
A standout feature of the binary classification approach is its resilience to label noise. Unlike multi-class softmax, which is highly sensitive to mislabeled data due to its competitive nature, SphereFace2's independent heads are less affected by individual errors. In experiments with 30% noisy labels, SphereFace2 maintained an EER of 1.638% on Vox-O, whereas AAM-Softmax's performance degraded significantly to 2.005%.
Conclusion and Future Work
SphereFace2 demonstrates that binary classification is a powerful alternative to traditional multi-class objectives for speaker verification. By aligning training with the pairwise nature of the task, it provides superior accuracy and robustness. Future research may explore the scalability of this approach to datasets with millions of speakers and its potential in semi-supervised learning scenarios where noisy pseudo-labels are prevalent. While the framework introduces additional hyperparameters, its performance gains on hard, real-world benchmarks suggest it is a significant step forward for the field.
Summary updated