Abstract
Deep speaker embedding represents the state-of-the-art technique for speaker recognition. A key problem with this approach is that the resulting deep speaker vectors tend to be irregularly distributed. In previous research, we proposed a deep normalization approach based on a new discriminative normalization flow (DNF) model, by which the distributions of individual speakers are arguably transformed to homogeneous Gaussians. This normalization was demonstrated to be effective, but despite this remarkable success, we empirically found that the latent codes produced by the DNF model are generally neither homogeneous nor Gaussian, although the model has assumed so. In this paper, we argue that this problem is largely attributed to the maximum-likelihood (ML) training criterion of the DNF model, which aims to maximize the likelihood of the observations but not necessarily improve the Gaussianality of the latent codes. We therefore propose a new Maximum Gaussianality (MG) training approach that directly maximizes the Gaussianality of the latent codes. Our experiments on two data sets, SITW and CNCeleb, demonstrate that our new MG training approach can deliver much better performance than the previous ML training, and exhibits improved domain generalizability, particularly with regard to cosine scoring.
Introduction
In modern speaker recognition, deep learning has revolutionized voice representation through "speaker embeddings"—high-dimensional vectors such as x-vectors. While these embeddings are powerful, the statistical models used for scoring, such as Probabilistic Linear Discriminant Analysis (PLDA), rely on the assumption that data follows a homogeneous Gaussian distribution. In practice, however, deep speaker vectors are often messy and irregularly distributed, violating the core assumptions of linear Gaussian models and degrading recognition performance.
The Problem with Maximum Likelihood
Previous attempts to address this distributional mismatch utilized Normalization Flows trained with a Maximum Likelihood (ML) objective. While ML training aims to make the training data highly probable under the model, it does not explicitly enforce Gaussianality in the latent space.
As illustrated above, ML training can be a "selfish" objective. It often results in "spurious modes" where the model overfits to the training data's specific distribution rather than learning a generalizable Gaussian transformation. This leads to poor performance when the system encounters out-of-domain data, as the latent codes produced are generally neither homogeneous nor Gaussian.
Maximum Gaussianality (MG) Training
To overcome the limitations of ML, we propose the Maximum Gaussianality (MG) training criterion. Instead of maximizing probability, MG training optimizes the latent space based on the geometric properties of high-dimensional Gaussians, specifically the Gaussian Annulus Theorem. The MG objective focuses on two key metrics:
- The Length Metric: Encourages vectors to concentrate on a thin spherical shell (annulus) with a specific radius.
- The Angle Metric: Ensures that latent vectors are nearly orthogonal, preventing the "clumping" often seen in ML-trained models.
By utilizing a hinge loss to balance these metrics, the DNF model transforms irregular speaker vectors into a latent space that closely approximates the homogeneous Gaussian distribution required by PLDA and cosine scoring models.
Experimental Evaluation
The approach was evaluated using the VoxCeleb dataset for training, with testing conducted on two major benchmarks:
- SITW (Speakers in the Wild): An "in-domain" test set with acoustic conditions matching the training data.
- CNCeleb: A challenging "out-of-domain" test set featuring Chinese celebrities across 11 genres (interviews, movies, singing, etc.), testing how well the model generalizes to new environments.
Results and Discussion
The MG training approach (DNF-G-G) consistently outperformed both the baseline and previous ML-based normalization methods:
- In-Domain Performance (SITW): Using Cosine scoring, the Equal Error Rate (EER) dropped significantly from 17.20% (baseline) to 6.30%. PLDA scoring improved from 5.30% to 3.37%.
- Out-of-Domain Generalization (CNCeleb): The MG approach demonstrated superior robustness. On this difficult dataset, the EER improved from 16.32% to 12.13% using Cosine scoring.
- Efficiency: The model achieved high performance with only 1,000 training speakers, indicating that MG training is more stable than ML when training data is limited.
Conclusion
Maximum Gaussianality training provides a robust alternative to Maximum Likelihood for normalizing deep speaker vectors. By focusing on the geometric properties of the target distribution, the resulting latent space is better suited for standard scoring models. Future work will explore applying this philosophy to other fields, such as anomaly detection, where transforming complex data into a simple, standard distribution is beneficial.
Summary updated