Emphasized Non-Target Speaker Knowledge in Knowledge Distillation for Automatic Speaker Verification

Duc-Tuan Truong, Ruijie Tao, Jia Qi Yip, Kong Aik Lee, Eng Siong Chng

TL;DR

Conventional knowledge distillation (KD) for automatic speaker verification focuses heavily on matching the teacher's target speaker predictions, inadvertently suppressing valuable information about non-target speakers. This paper introduces a decoupled KD approach that separates and amplifies non-target speaker probabilities, delivering an average relative improvement of 13.67% in Equal Error Rate (EER) across various lightweight student architectures.

What Problem Does This Paper Address?

Automatic Speaker Verification (ASV) systems authenticate identities based on voice characteristics. While large self-supervised learning (SSL) models achieve state-of-the-art accuracy, they are too computationally expensive for edge devices. Knowledge distillation (KD) solves this by transferring knowledge from a large "teacher" network to a compact "student" network.

However, standard label-level KD has a blind spot: it minimizes the overall discrepancy between the teacher and student's output probabilities. When a well-trained teacher model is highly confident about a target speaker's identity, its output probability for that target speaker approaches 1. Mathematically, this high confidence suppresses the gradients for all the non-target speakers. As a result, the student misses out on learning the subtle similarities and negative correlations between non-target voices, which are crucial for drawing robust decision boundaries.

Methods

The authors address this suppression by adopting and modifying Decoupled Knowledge Distillation (DKD).

  1. Mathematical Decoupling: They mathematically split the conventional Kullback-Leibler (KL) divergence loss into two distinct components:
  2. Target Speaker Knowledge Distillation (TSKD): The binary classification loss between the target speaker and all other speakers combined.
  3. Non-Target Speaker Knowledge Distillation (NSKD): The multi-class classification loss among the non-target speakers themselves.
  4. Emphasizing Non-Targets: In standard KD, the NSKD term is weighted by $(1 - p_\tau^T)$, where $p_\tau^T$ is the teacher's target probability. To prevent this term from shrinking to zero when the teacher is confident, the authors replace it with a constant hyperparameter, $\gamma$. This allows them to explicitly amplify the importance of non-target speaker knowledge.
Overview of Decoupled Knowledge Distillation vs. Conventional Methods

The framework uses a massive WavLM-TDNN model as the teacher and evaluates three distinct, lightweight student architectures: x-vector, ResNet34, and CAM++.

Datasets

  • Training: The models were trained on the VoxCeleb2 dev set, utilizing data augmentation via the MUSAN noise corpus and RIRs reverberation.
  • Evaluation: Performance was validated on three standard benchmarks: Vox1-O, Vox1-E, and Vox1-H.

Key Insights and Ideas

  • More Speakers > More Utterances: Through a clever toy experiment, the authors showed that if you hold the total number of training utterances fixed at 100,000 but increase the number of unique speakers (meaning fewer utterances per speaker), the model's EER drops significantly. Introducing more non-target classes inherently improves the model's ability to generalize and distinguish voices.
Impact of varying the number of training speakers on EER
  • The "Dark Knowledge" is in the Non-Targets: The relative probabilities that a teacher assigns to incorrect speakers (e.g., "This voice is definitely not Speaker A, but it sounds 10x more like Speaker B than Speaker C") contain vital structural information about the speaker embedding space. Unshackling this information from the teacher's target confidence allows the student to learn much faster and more effectively.

Key Results

The proposed decoupled method consistently outperformed both embedding-level (cosine similarity) and conventional label-level KD across all student models and test sets:

  • x-vector: On the Vox1-O set, the EER dropped from 1.585% (conventional KD) to 1.319% with the proposed method.
  • CAM++: The student model achieved an EER of 0.590% on Vox1-O, closing in on the teacher's performance (0.383%) despite being 97.73% smaller in parameter size and requiring 93.39% fewer FLOPs.
Performance comparison across different distillation methods

An ablation study on the hyperparameter $\gamma$ confirmed that explicitly weighting the non-target knowledge ($\gamma = 2.0$) yields the best results, whereas completely removing it ($\gamma = 0.0$) degrades performance below conventional KD baselines.

Ablation study on the hyperparameter gamma

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{truong2024emphasized,
  author = {Duc-Tuan Truong and Ruijie Tao and Jia Qi Yip and Kong Aik Lee and Eng Siong Chng},
  title = {{Emphasized Non-Target Speaker Knowledge in Knowledge Distillation for Automatic Speaker Verification}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10447160},
}
Figure