Introduction
Speaker verification (SV) is the task of determining whether two speech segments belong to the same individual. While traditionally approached as a classification problem using Cross-Entropy (CE) loss, SV is fundamentally a metric learning challenge. The objective is to learn an embedding space where within-class variance is minimized and between-class variance is maximized.
Prototypical Networks (PN) have emerged as a popular meta-learning framework for this task, training on "episodes" that mimic the verification scenario. However, standard PN training often struggles to balance global speaker discriminability with episodic task performance. This paper proposes two enhancements: Meta-Learning with additional Transformation Coefficients (MLTC) and Addition Contrastive Loss (ACL).
Methodology
Meta-Learning with Transformation Coefficients (MLTC)
The authors identify a gap between global classification and episodic verification tasks. To bridge this, they propose a two-step adaptive training process.
In the first step, a ResNet34 backbone is jointly optimized using both a global CE loss and an episodic PN loss. This ensures the model learns broad discriminative features. In the second step, the backbone parameters are frozen, and learnable transformation coefficients ($M_1$ and $M_2$) are introduced to each layer. These coefficients are then fine-tuned using only the PN loss, allowing the model to adapt its feature extraction specifically for verification without losing the general knowledge acquired in the first stage.
Addition Contrastive Loss (ACL)
To improve the robustness of speaker "prototypes" (the centroids of support embeddings), the authors introduce Addition Contrastive Loss. During each episode, support samples undergo Random Erasing (RE) augmentation. The original sample and its augmented counterpart are treated as a "positive pair." By adding a contrastive loss to the objective, the model is forced to produce invariant embeddings, leading to more stable prototypes even in the presence of noise or feature loss.
Experimental Results
The proposed methods were evaluated on the Speaker in the Wild (SITW) and VOiCES datasets, using VoxCeleb1 and VoxCeleb2 for training.
Performance of MLTC
A critical finding was that full backbone fine-tuning (MLFT) on the episodic task actually degrades performance compared to the baseline PN. In contrast, the MLTC approach yields significant improvements by only adapting the transformation coefficients.
As shown in the results, MLTC achieves a lower Equal Error Rate (EER) and Detection Cost Function (DCF) across both evaluation sets. Specifically, on SITW (Eval), MLTC reduced the EER to 1.640% compared to 1.751% for the standard PN.
Combined Impact
When MLTC and ACL are combined and further enhanced with score fusion, the system achieves state-of-the-art results. On the SITW Eval Core set, the combined approach reached an EER of 1.476%, representing a ~23% relative improvement over the ResNet34 baseline. Similar gains were observed on the VOiCES dataset, which features challenging background noise and reverberation, where the combined system reached an EER of 5.096%.
Conclusion
This work demonstrates that meta-learning for speaker verification can be significantly improved by decoupling global feature learning from task-specific adaptation. MLTC provides a robust mechanism for this adaptation, while ACL enhances feature invariance in the support set. Together, these techniques provide a more effective pipeline for producing discriminative and robust speaker embeddings.
Summary updated