Modeladvanced
i-vector
Also called identity vector, total variability model.
A low-dimension vector for an utterance, the posterior mean of a latent factor in a factor analysis model of GMM supervectors.
An i-vector is a fixed-length vector, typically of 400 to 600 numbers, that summarizes one utterance of any length. A universal background model (a Gaussian mixture) turns the frames into statistics, and a factor analysis model says that the stacked means of the utterance's mixture lie near a low-dimension subspace of the background means. The i-vector is the posterior mean of the coordinates in that subspace. It carries the speaker and also the channel, so a back end such as PLDA separates the two.
The machine
Let the universal background model (UBM) have Gaussians with weights, means and diagonal covariances . Stack the means into a supervector . The total variability model says that the supervector of the mixture that generated an utterance is
where is a matrix with , and is its block of rows for component . The frames of the utterance are then drawn from the mixture with means and the UBM weights and covariances.
Given the frames , compute the occupation of each component under the UBM and the Baum-Welch statistics
With the occupations held fixed, the posterior of is Gaussian, with precision and mean
The i-vector is . The matrix is trained by EM on many utterances, with every utterance treated as its own source, so no speaker labels are needed. EM is often started from a random .
What it counts
- One vector per utterance. has the same dimension for an utterance of 2 seconds and one of 2 minutes.
- Shrinkage with little data. The posterior covariance is . It depends only on the counts , not on the values of the frames, and it shrinks as the counts grow. With little data the i-vector is pulled toward 0, the prior mean.
- An example. Take , , , and . An utterance with and gives , so with posterior variance . Ten times as much data of the same kind gives , and variance . As the data grow, goes to , the maximum likelihood value.
- Cost. The statistics cost for frames. With the matrices stored ( memory), costs and solving for costs . For large and this is more than the cost of the statistics, and fast approximations exist.
Relation to other models
- Factor analysis. The total variability model is factor analysis of the supervector, with a hidden assignment of frames to components. Its posterior has the same form as in factor analysis, weighted by the counts.
- MAP adaptation. Relevance MAP of the means is the model with and a diagonal with . It is full rank and has no shared subspace; the i-vector model is low rank.
- Joint factor analysis. JFA writes , with a speaker subspace and a channel subspace . The i-vector model uses one subspace for both, because the channel subspace of JFA also carried speaker information.
- The back end. The i-vector carries channel effects. LDA, within-class covariance normalization (WCCN), length normalization and PLDA or the cosine score handle them. Dehak et al. 2011 used LDA, WCCN and the cosine.
- x-vectors. x-vectors replace the UBM statistics and the subspace with a network trained to classify speakers, and keep the same back end.
- GMM-UBM. Both start from the same UBM. GMM-UBM keeps a whole adapted mixture per speaker; the i-vector keeps numbers per utterance.
Known results in the model
- Exact posterior (a theorem). With the occupations fixed, the prior of is conjugate to the Gaussian likelihood of the frames, so the posterior is exactly . Writing the log posterior as a quadratic in gives and above.
- EM for . Each EM iteration does not decrease the likelihood of the training statistics, by the usual argument for EM. The E-step needs the posterior mean and the posterior covariance of for every utterance.
- Length normalization (a measurement). Garcia-Romero and Espy-Wilson 2011 found that i-vectors are far from Gaussian, and that scaling them to unit length after centering and whitening lets Gaussian PLDA reach the accuracy of heavy-tailed PLDA.
- Accuracy (a measurement). Dehak et al. 2011 compare the system with JFA on NIST SRE 2008 data and report better results for the i-vector system. Error rates depend on the data set and the conditions. Snyder et al. 2018 found x-vectors more accurate than i-vectors on their test sets, especially when the training data were augmented.
- Other uses. The same vector is used for language identification, for diarization and as an input that adapts neural acoustic models to the speaker.
References
- Najim Dehak, Patrick J. Kenny, Réda Dehak, Pierre Dumouchel and Pierre Ouellet, Front-end factor analysis for speaker verification, IEEE Transactions on Audio, Speech, and Language Processing 19(4), 2011, pages 788 to 798, the total variability model, the extraction of the i-vector from the Baum-Welch statistics, and the cosine scoring with LDA and WCCN
- Tomi Kinnunen and Haizhou Li, An overview of text-independent speaker recognition, from features to supervectors, Speech Communication 52(1), 2010, pages 12 to 40, the sections on GMM supervectors and on factor analysis
- Daniel Garcia-Romero and Carol Y. Espy-Wilson, Analysis of i-vector length normalization in speaker recognition systems, Interspeech 2011, the length normalization of i-vectors before Gaussian PLDA
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag Y9F5Q0 Edit this page History Report an error Markdown