Coupling a Generative Model With a Discriminative Learning Framework for Speaker Verification

Xugang Lu, Peng Shen, Yu Tsao, Hisashi Kawai

Abstract

The speaker verification (SV) task is to decide whether an utterance is spoken by a target or an imposter speaker. For most studies, a log-likelihood ratio (LLR) score is estimated based on a generative probability model on speaker features and compared with a threshold for making a decision. However, the generative model usually focuses on individual feature distributions, does not have the discriminative feature selection ability, and is easy to be distracted by nuisance features. The SV could be formulated as a binary discrimination task where neural network-based discriminative learning could be applied. In discriminative learning, the nuisance features could be removed with the help of label supervision. However, discriminative learning pays more attention to classification boundaries and is prone to overfitting to a training set which may result in bad generalization on a test set. Thus, we propose a hybrid learning framework, i.e., coupling a joint Bayesian (JB) generative model structure and parameters with a neural discriminative learning framework for SV. A two-branch Siamese neural network is built with dense layers that are coupled with factorized affine transforms as used in the JB model. The LLR score estimation in the JB model is formulated according to the distance metric in the discriminative learning framework. By initializing the two-branch neural network with the generatively learned model parameters of the JB model, we train the model parameters with the pairwise samples as a binary discrimination task. Moreover, a direct evaluation metric in SV based on minimum empirical Bayes risk is designed and integrated as an objective function in discriminative learning. We carried out SV experiments on Speakers in the wild and Voxceleb. Experimental results showed that our proposed model improved the performance with a large margin compared with state-of-art models for SV.

Introduction

In Speaker Verification (SV), the primary objective is to determine whether two voice samples belong to the same individual. Historically, this has been addressed using generative models, such as Probabilistic Linear Discriminant Analysis (PLDA) or Joint Bayesian (JB) models. These models excel at capturing the underlying statistical distributions of speaker features but often struggle to isolate "nuisance" variability—such as background noise or channel distortions—from the actual speaker identity.

Conversely, discriminative models (neural networks) are highly effective at identifying clear classification boundaries and ignoring noise through supervised learning. However, they are susceptible to overfitting and typically require vast amounts of labeled data to generalize effectively. This paper proposes a hybrid framework that bridges this gap by using the structural prior knowledge of a generative model to regularize and initialize a discriminative neural network.

Methodology

The proposed hybrid framework utilizes a three-step "coupling" strategy to combine the strengths of both modeling paradigms:

  1. Structural Mapping: The researchers reformulated the Log-Likelihood Ratio (LLR) of a Joint Bayesian model into a distance metric. This allowed for the design of a two-branch Siamese Neural Network (comprising LDA_net and JB_net) where the dense layers correspond exactly to the factorized affine transforms used in the JB model.
  2. Generative Initialization: Rather than starting with random weights, the Siamese network is initialized with parameters pre-trained using the Expectation-Maximization (EM) algorithm on the generative JB model. This provides a "warm start" based on the actual probability distributions of the training data.
  3. Direct Evaluation Metric (DEM): Standard neural networks often use Cross-Entropy loss, which may not align perfectly with SV goals like minimizing false alarms and misses. The authors introduced a new objective function based on minimum Empirical Bayes Risk (EBR), allowing the model to be optimized directly for the Detection Cost Function (DCF) used in real-world evaluations.
Architecture of the proposed hybrid model showing the coupling of JB and LDA structures into a neural network.

Experimental Setup

The models were evaluated on industry-standard benchmarks:

  • Training: VoxCeleb 1 and 2, encompassing over 7,000 speakers and 1.2 million utterances.
  • Evaluation: The Speakers in the Wild (SITW) dataset for unconstrained environments and the VoxCeleb1 Test Set for large-scale verification.
  • Features: The backend was tested using both standard X-vectors and advanced ECAPA-TDNN embeddings.

Key Results and Discussion

The hybrid approach demonstrated significant performance gains across all primary metrics, including Equal Error Rate (EER) and Minimum Detection Cost Function (minDCF).

As shown in the results table below, the "Hybrid (JB init)" model outperformed both the standard generative baselines and the randomly initialized hybrid model. On the VoxCeleb1 test set, the EER dropped from 3.105% (standard JB) to 2.837% with the hybrid approach.

Performance comparison of different backends on the VoxCeleb1 test set.

A critical insight from the study is that initialization is paramount. A hybrid model with random initialization actually performed worse (3.340% EER) than the standard generative model (3.105% EER). The performance leap only occurred when the network was seeded with the generative model's parameters, proving that generative models can serve as effective architectural templates and regularizers for neural networks.

Conclusion

By coupling a Joint Bayesian generative model with a discriminative neural framework, this research provides a principled way to improve speaker verification performance. While the current model still relies on certain Gaussian assumptions inherited from the JB framework, the results on SITW and VoxCeleb demonstrate that this hybrid approach significantly enhances robustness against nuisance variability. Future work will explore non-Gaussian distributions to further capture non-linear variability in human speech.

Summary updated

BibTeX
@inproceedings{lu2021coupling,
  author = {Xugang Lu and Peng Shen and Yu Tsao and Hisashi Kawai},
  title = {{Coupling a Generative Model With a Discriminative Learning Framework for Speaker Verification}},
  booktitle = {IEEE/ACM},
  year = {2021},
  doi = {10.1109/taslp.2021.3129360},
}
Figure