Integrated Multi-Level Knowledge Distillation for Enhanced Speaker Verification

Wenhao Yang, Jianguo Wei, Wenhuan Lu, Xugang Lu, Lei LiarXiv 2024 · DOI

Integrated Multi-Level Knowledge Distillation for Enhanced Speaker Verification

Introduction

Speaker Verification (SV) systems are critical for identity confirmation in various applications. While large-scale architectures like ECAPA-TDNN and ResNet34 provide state-of-the-art accuracy, their computational demands often preclude deployment on resource-constrained mobile devices or in real-time environments. Knowledge Distillation (KD) offers a solution by transferring "dark knowledge" from a large teacher model to a compact student. However, traditional KD methods, primarily developed for computer vision, often struggle with the temporal nature of audio signals. In SV, discriminative information is distributed across varying durations, and standard KD fails to ensure the student model learns the underlying feature extraction process of the teacher.

Proposed Method: IML-KD

To address these challenges, this paper introduces Integrated Multi-level Knowledge Distillation (IML-KD). The framework focuses on aligning the student with the teacher across both temporal scales and structural feature distributions.

Overview of the Integrated Multi-level Knowledge Distillation (IML-KD) framework, illustrating the alignment of integrated inputs and multi-level structural features.

The IML-KD approach consists of two primary components:

  1. Integrated Inputs Alignment: Leveraging Integrated Gradients (InteGrad) from interpretability research, the authors generate "step-wise" inputs consisting of audio segments with varying durations. The student is trained to align its outputs with the teacher's across these different temporal scales. This process forces the student to learn where and when the teacher identifies speaker-relevant information, rather than just matching a final label.
  2. Multi-Level Alignment: Beyond simple logit matching, the framework enforces structural alignment at three levels:
  3. Instance-level: Direct alignment of specific logits and speaker embeddings.
  4. Class-level: Alignment of correlation matrices between different speaker classes, capturing the teacher's perception of inter-speaker distances.
  5. Batch-level: Alignment of the relationships between different samples within a training batch to preserve the global feature distribution.

Experimental Setup

The framework was evaluated using the VoxCeleb1 dataset. The training set comprised 148,642 utterances from 1,211 speakers, while testing was conducted on 4,870 utterances from 40 speakers. Input features were 80-dimensional Mel-filterbanks extracted from the raw audio.

Key Results and Discussion

IML-KD demonstrated significant performance improvements over baseline models and standard KD techniques. For an ECAPA-TDNN teacher distilling to an ECAPA-C128 student, the baseline Equal Error Rate (EER) of 3.59% was reduced to 3.02% using IML-KD, outperforming standard KD (3.48%). Similar gains were observed in ResNet configurations, where IML-KD achieved an EER of 3.51% compared to 4.01% for standard KD.

Qualitative comparison of saliency maps showing that the IML-KD student's attention regions more closely mirror the teacher's compared to a standard KD student.

Qualitative analysis via saliency maps (Figure 4) confirms that IML-KD successfully transfers the teacher's "attention" patterns. While standard KD students often exhibit "tunnel vision"—focusing on narrow segments—the IML-KD student learns to utilize a broader temporal context, mirroring the teacher's feature extraction process. Furthermore, the study found that distillation quality improves with the duration of integrated inputs, peaking at approximately 6 seconds, highlighting the importance of long-term temporal context in speaker modeling.

Conclusion

The IML-KD framework effectively bridges the gap between large-scale teacher models and compact students for speaker verification. By integrating temporal attribution alignment with multi-level structural constraints, it produces students that inherit the teacher's internal logic. While the use of Integrated Gradients increases training complexity and computational cost, the resulting models maintain high accuracy with significantly reduced parameters. Future work will explore the generalizability of this approach to other complex audio tasks such as speech recognition and emotion detection.

Summary updated

BibTeX
@misc{yang2024integrated,
  author = {Wenhao Yang and Jianguo Wei and Wenhuan Lu and Xugang Lu and Lei Li},
  title = {{Integrated Multi-Level Knowledge Distillation for Enhanced Speaker Verification}},
  year = {2024},
  eprint = {2409.09389},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.09389},
}
Figure