Deep Normalization for Speaker Vectors

Yunqi Cai, Lantian Li, Dong Wang, Andrew Abel

TL;DR

This paper tackles the problem of irregular, non-Gaussian, and non-homogeneous distributions in deep speaker embeddings, which hinder the performance of standard scoring methods like PLDA. They propose a novel Discriminative Normalization Flow (DNF) model to normalize these distributions, achieving significant performance gains and improved generalization, especially in out-of-domain scenarios.

What Problem Does This Paper Address?

Speaker recognition systems rely on extracting unique "speaker vectors" from audio. Deep learning models have achieved state-of-the-art results by learning these vectors. However, a critical issue arises: the vectors produced by these deep models often don't follow the ideal statistical assumptions required by common scoring techniques, particularly Probabilistic Linear Discriminant Analysis (PLDA). Specifically, the distributions of vectors for individual speakers can be complex and non-Gaussian, and the distributions across different speakers can vary significantly (non-homogeneous). This "data irregularity" degrades the accuracy of speaker recognition. Traditional methods like Linear Discriminant Analysis (LDA) offer some normalization, but they are linear and struggle with the complex, non-linear nature of deep embeddings.

Methods

The core contribution of this paper is the Discriminative Normalization Flow (DNF) model. Normalization Flows (NF) are a class of generative models that can transform a simple distribution (like a Gaussian) into a complex one, or vice-versa. The authors leverage this invertible property to "normalize" the complex speaker vector distributions into simpler, more regular ones.

What makes DNF novel is its discriminative aspect. Unlike standard NFs that learn a single latent space for all data, DNF allows for class-specific (speaker-specific) prior distributions in the latent space. This means DNF can normalize the distributions of individual speakers while keeping them distinct from each other. This is achieved by allowing each speaker's latent representation to be modeled as a Gaussian with its own mean but a shared covariance.

The DNF model is trained using a maximum likelihood criterion, aiming to transform complex, irregular speaker vectors into a latent space where each speaker's distribution is a homogeneous Gaussian. This process is essentially a deep, non-linear extension of LDA's normalization capabilities.

Datasets

The experiments were conducted using the following datasets:

  • VoxCeleb: A large-scale audiovisual dataset used for training all models (i-vector, x-vector, LDA, PLDA, and DNF). It comprises over 2000 hours of speech from 7000+ speakers, with rich variations in acoustic conditions. Data augmentation was applied using the MUSAN corpus for noise and RIRS corpus for reverberation.
  • SITW (Speakers in the Wild): A standard evaluation dataset excerpted from VoxCeleb, containing 299 speakers. This was used as an in-domain test set, meaning its acoustic conditions are similar to the training data.
  • CNCeleb: A challenging, large-scale free speaker recognition dataset collected from Chinese celebrity audio. It covers 11 diverse genres and is significantly different in acoustic conditions from VoxCeleb, making it an ideal out-of-domain test set.

Key Insights and Ideas

  • Deep embeddings are inherently irregular: The paper strongly demonstrates that deep speaker vectors are not only non-Gaussian but also non-homogeneous, posing a significant challenge for traditional scoring methods.
  • LDA's limitations: While LDA improves homogeneity and Gaussianality, its linear nature limits its effectiveness with the complex, non-linear distributions of deep embeddings. It primarily helps by discarding less discriminative dimensions, which can inadvertently remove useful information.
  • DNF's advantage in within-speaker normalization: DNF excels at normalizing the distributions of individual speakers, making them more Gaussian and homogeneous. This is crucial because it addresses the core issue of irregular distributions that PLDA struggles with.
  • Generalizability of DNF: The DNF approach shows remarkable robustness in out-of-domain testing (CNCeleb), where LDA-based methods falter significantly. This suggests DNF's normalization is more fundamental and less dependent on dataset-specific global statistics.
  • Complementary roles of DNF and LDA: Combining DNF for non-linear normalization with LDA for linear dimension reduction (DNF-LDA) yields the best performance, highlighting that both approaches have complementary strengths.

Key Results

The paper reports significant improvements in Equal Error Rate (EER) across various configurations:

  • In-domain (SITW) with cosine scoring: DNF achieved an EER of 8.53%, outperforming LDA (5.82%) and LDA/N (9.19%). DNF-LDA achieved the best result at 5.41%.
  • In-domain (SITW) with PLDA scoring: DNF achieved an EER of 3.66%, outperforming LDA (4.65%) and LDA/N (5.30%). DNF-LDA achieved the best result at 3.42%.
  • Out-of-domain (CNCeleb) with cosine scoring: DNF achieved an EER of 14.22%, significantly better than LDA (17.52%) and LDA/N (16.36%). DNF-LDA achieved 15.18%.
  • Out-of-domain (CNCeleb) with PLDA scoring: DNF achieved an EER of 11.82%, outperforming LDA (13.50%) and LDA/N (13.03%). DNF-LDA achieved 13.22%.
  • Comparison with SOTA x-vectors: DNF and DNF-LDA consistently outperformed baseline and LDA-based normalization on more advanced x-vector architectures, especially on the challenging CNCeleb dataset.

Limitations and Future Work

  • Between-class covariance: The paper notes that DNF, by focusing on within-speaker normalization, does not explicitly normalize the between-speaker covariance. This can lead to performance degradation when using scoring methods that assume feature independence (like cosine distance). The DNF-LDA combination attempts to mitigate this.
  • Joint training: The authors suggest that future work could investigate the joint training of the DNF normalizer and the speaker embedding model, rather than training them separately.
  • Application to raw acoustic features: Applying DNF directly to raw acoustic features is also proposed as a future research direction.
  • Generalizability of DNF: While DNF shows good out-of-domain performance, the paper acknowledges that there is still a mismatch in between-class distributions, which warrants further investigation.

Summary updated

BibTeX
@article{cai2020deep,
  author = {Yunqi Cai and Lantian Li and Dong Wang and Andrew Abel},
  title = {{Deep Normalization for Speaker Vectors}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2020},
  url = {https://openreview.net/forum?id=a8rl4bZsHJm},
}
Figure