[Paper Review] Distilling Multi-Level X-vector Knowledge for Small-footprint Speaker Verification
This paper proposes knowledge distillation using multi-level x-vector embeddings—combining frame-level and utterance-level representations from a large teacher model—to train compact student models for small-footprint speaker verification. The method achieves 85%-91% model size reduction while maintaining performance comparable to the teacher, with composite embeddings via concatenation reducing size by 75% and matching the teacher's EER of 1.88%.
Even though deep speaker models have demonstrated impressive accuracy in speaker verification tasks, this often comes at the expense of increased model size and computation time, presenting challenges for deployment in resource-constrained environments. Our research focuses on addressing this limitation through the development of small footprint deep speaker embedding extraction using knowledge distillation. While previous work in this domain has concentrated on speaker embedding extraction at the utterance level, our approach involves amalgamating embeddings from different levels of the x-vector model (teacher network) to train a compact student network. The results highlight the significance of frame-level information, with the student models exhibiting a remarkable size reduction of 85%-91% compared to their teacher counterparts, depending on the size of the teacher embeddings. Notably, by concatenating teacher embeddings, we achieve student networks that maintain comparable performance to the teacher while enjoying a substantial 75% reduction in model size. These findings and insights extend to other x-vector variants, underscoring the broad applicability of our approach.
Motivation & Objective
- Address the challenge of deploying large, accurate deep speaker models on resource-constrained embedded devices.
- Reduce the performance gap between large teacher models and small student models in speaker verification.
- Explore whether multi-level embeddings (frame-level and utterance-level) from a teacher network improve student model performance.
- Develop a simple, practical distillation framework that does not require joint optimization of teacher and student networks.
- Demonstrate generalizability across different x-vector architectures, including ECAPA-TDNN and DTDNN.
Proposed method
- Train a large, pre-trained teacher x-vector model (e.g., TDNN, ETDNN, ECAPA, DTDNN) to extract both frame-level and utterance-level embeddings.
- Use knowledge distillation to transfer knowledge from multiple layers of the teacher model to a smaller student network.
- Concatenate frame-level and utterance-level embeddings from the teacher as composite supervision signals for the student.
- Train the student network using a loss that minimizes the difference between its output and the distilled teacher embeddings.
- Apply mean normalization only to the student’s final embedding during inference, not to the teacher embeddings used in distillation.
- Evaluate student models using standard metrics (EER, minDCF) on the VoxCeleb corpus, comparing to both teacher and baseline student models.

Experimental results
Research questions
- RQ1Can multi-level embeddings (frame-level and utterance-level) from a teacher x-vector model improve the performance of a small student model in speaker verification?
- RQ2Does concatenating embeddings from different layers of the teacher network lead to better generalization and reduced performance gap compared to using a single embedding type?
- RQ3How does the model size reduction of the student network compare to the teacher when using multi-level distillation?
- RQ4Does the performance of the student model depend on the depth or architecture of the teacher network’s frame-level layers?
- RQ5Can the proposed distillation framework be generalized across different x-vector variants, such as ECAPA-TDNN and DTDNN?
Key findings
- The student models achieved an 85% to 91% reduction in model size compared to the teacher, depending on the teacher’s embedding size.
- Composite student models trained on concatenated frame-level and utterance-level embeddings achieved an EER of 2.04%, closely matching the teacher’s EER of 1.88%.
- The composite student model reduced model size by 75% while maintaining performance comparable to the teacher, significantly narrowing the performance gap.
- Among single embedding types, SP Aggr achieved the lowest EER (2.04%) and minDCF (0.462), outperforming other individual embeddings.
- The DTDNN-based teacher, with a deeper frame-level architecture, outperformed other teachers in both EER and minDCF, indicating that deeper frame-level networks provide richer distillation signals.
- The method generalizes across different x-vector variants, including ECAPA-TDNN and DTDNN, showing consistent performance gains with multi-level distillation.
![Figure 2 : The x-vector model and the various types of embedding that are extracted from its layers. The TDNN and fully connected layers, if not marked, are all 512-dimensional. ‘AAM softmax’ denotes additive angular margin softmax [ 47 ] . The pooling layer on the left-hand side can be either stati](https://ar5iv.labs.arxiv.org/html/2303.01125/assets/figs/xvector.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.