Abstract
Meta-learning (ML) has recently become a research hotspot in speaker verification (SV). We introduce two methods to improve the meta-learning training for SV in this paper. For the first method, a backbone embedding network is first jointly trained with the conventional cross entropy loss and prototypical networks (PN) loss. Then, inspired by speaker adaptive training in speech recognition, additional transformation coefficients are trained with only the PN loss. The transformation coefficients are used to modify the original backbone embedding network in the x-vector extraction process. Furthermore, the random erasing (RE) data augmentation technique is applied to all support samples in each episode to construct positive pairs, and a contrastive loss between the augmented and the original support samples is added to the objective in model training. Experiments are carried out on the Speaker in the Wild (SITW) and VOiCES databases. Both of the methods can obtain consistent improvements over existing meta-learning training frameworks. By combining these two methods, we can observe further improvements on these two databases.
1. Introduction
Speaker Verification (SV) is the task of determining whether two speech samples belong to the same individual. Modern SV systems typically utilize Deep Neural Networks (DNNs) to extract speaker-discriminative embeddings, such as x-vectors. Traditionally, these networks are trained using Cross-Entropy (CE) loss, treating the task as a large-scale classification problem. However, SV is fundamentally a metric learning problem, where the goal is to minimize the distance between embeddings of the same speaker and maximize it for different speakers.
Meta-learning, particularly Prototypical Networks (PN), addresses this by training the model in "episodes" that simulate the test-time verification task. Despite its promise, standard meta-learning can be sensitive to noise and may struggle to balance global speaker knowledge with episodic discriminative power. This paper introduces two refinements to bridge this gap: Meta-Learning with Transformation Coefficients (MLTC) and Addition Contrastive Loss (ACL).
2. Proposed Methodology
2.1 Meta-Learning with Transformation Coefficients (MLTC)
Directly fine-tuning a pre-trained backbone with episodic loss often leads to overfitting or the loss of robust features learned during global training. To mitigate this, the authors propose MLTC, a two-stage approach:
- Backbone Training: A ResNet34 backbone is trained using a joint loss function combining CE and PN loss.
- Coefficient Adaptation: The backbone is frozen, and lightweight learnable transformation coefficients ($M_1$ for scaling and $M_2$ for shifting) are introduced to the convolutional filters. These coefficients are then trained using only the PN loss.
This mechanism allows the model to "nudge" its internal representations for better episodic discrimination without disrupting the underlying feature extractor's stability.
2.2 Addition Contrastive Loss (ACL)
To improve robustness against noise and acoustic variations, the authors incorporate Random Erasing (RE) augmentation within the meta-learning framework. In each training episode, RE is applied to the support set—the reference samples used to define a speaker's prototype.
A contrastive loss term is then added to the objective function, forcing the model to maintain proximity between the embeddings of the original support samples and their augmented versions. This stabilizes the speaker prototypes, making the system more resilient to local feature distortions.
3. Experiments and Results
The models were trained on the VoxCeleb1 and VoxCeleb2 datasets and evaluated on the Speaker in the Wild (SITW) and VOiCES benchmarks. The latter is particularly challenging due to its focus on noisy and reverberant "far-field" environments.
3.1 Performance Analysis
The proposed methods demonstrated consistent improvements across all evaluation metrics, including Equal Error Rate (EER) and minimum Detection Cost Function (minDCF).
Key findings from the experimental results include:
- MLTC vs. Fine-tuning: Results indicated that directly fine-tuning the backbone (MLFT) actually degraded performance compared to the proposed MLTC method, highlighting the importance of the "anchor" provided by the frozen global features.
- Support Set Stability: Applying contrastive augmentation to the support set (ACL) was significantly more effective than applying it to the query set. This suggests that refining the speaker's average representation (the prototype) is critical for robust verification.
- Synergy: Combining MLTC and ACL, followed by score fusion, resulted in a 22.8% relative reduction in EER on the SITW Eval set compared to the standard ResNet34 baseline.
4. Conclusion
This paper presents two effective strategies to enhance meta-learning for speaker verification. MLTC provides a stable way to adapt pre-trained models to episodic tasks, while ACL leverages contrastive learning on augmented support samples to build more robust speaker prototypes. Together, these methods set a new performance standard for meta-learning in SV, particularly in challenging, real-world acoustic environments.
Summary updated