Modelcore
GMM-HMM acoustic model
Also called GMM-HMM.
Model each phone by a left-to-right HMM, usually three states, whose emissions are Gaussian mixtures over feature vectors.
A GMM-HMM acoustic model gives the density of the feature frames of an utterance for a word sequence , as the channel of the source-channel model. Each phone is a left-to-right hidden Markov model, usually with three emitting states, and each state emits feature vectors from a Gaussian mixture with diagonal covariances. The pronunciation lexicon turns into phones, and the phone HMMs joined in that order give the HMM of the utterance. From the 1980s to about 2010 almost every large vocabulary recognizer used this model, mostly with triphone states tied by decision trees.
The machine
The frames are vectors , one every 10 ms, for example 13 MFCC values with their first and second differences, so .
One phone. A phone HMM has three emitting states in a chain, for the start, the middle and the end of the phone. State has a self loop with probability and an arc to the next state with probability ; the arc out of state 3 leaves the phone. There are no arcs back, so the model is left-to-right, and a phone takes at least 3 frames.
One state. State emits a frame with the density
a mixture of Gaussians with diagonal covariances . With natural logs, one component has
and is a log-sum-exp over the components.
One utterance. For a transcript , the lexicon gives a phone sequence, and the phone HMMs joined in that order give one chain of states, with optional silence models between the words. The density of the frames is the sum over the state paths of the chain:
The frames are independent given the states. The forward algorithm computes this sum, and the Viterbi algorithm gives the best path, which is the forced alignment of the utterance.
Training. Baum-Welch, which is EM for this model, re-estimates the transitions, the mixture weights, the means and the variances from the posteriors of the states and the components (Juang, Levinson and Sondhi 1986). Training runs on the chain of each training utterance, built from its transcript, so the phone boundaries are not needed. A common recipe starts from one Gaussian per state, often from a Viterbi training start, and splits the components of each state in two between rounds of Baum-Welch until is reached.
What it counts
The model gives , a sum over the frames, for the decoder to add to the language model score. The cost of the model is the evaluation of the emission densities: a state with diagonal Gaussians of dimension takes operations per frame. A decoder evaluates the states that are active in its beam at each frame, and this term often dominates the cost of the search.
The number of parameters is the number of states times , for the means, the variances and the weights, plus the transitions. For example, 5000 tied states with 16 components of dimension 39 have parameters. The number of tied states and the number of components are chosen to fit the amount of training data, which is a heuristic.
Relation to other models
- Hidden Markov model. A GMM-HMM is an HMM with continuous emissions. A mixture state is the same as states with one Gaussian each, entered with the probabilities , so the HMM algorithms apply with a larger state set.
- Gaussian mixture model. Each state is a GMM over the frames that the state emits. With one state and no time structure, the model is a plain GMM, as used for speaker verification.
- Triphone model. The phone HMMs can depend on the neighboring phones. The structure of the model is the same, with many more states, and the states are tied by phonetic decision trees.
- Hybrid DNN-HMM. Keeps the HMM, the tied states and the lexicon, and replaces the Gaussian mixtures by a neural network that predicts the state posteriors. Hybrid systems are usually trained on alignments from a GMM-HMM.
- Adaptation. MLLR moves the Gaussian means of the model by shared affine maps, and MAP adaptation moves them toward the data of a new speaker with the model as the prior.
- Discriminative training. Maximum mutual information training keeps the model and changes the training goal from the likelihood to the posterior of the correct transcript.
- Template matching. Dynamic time warping aligns the frames with stored examples in place of a statistical model. The Viterbi alignment of a GMM-HMM is its statistical counterpart.
Known results in the model
- EM never lowers the likelihood. Baum-Welch re-estimation for HMMs with Gaussian mixture outputs never decreases the likelihood of the training data (Juang, Levinson and Sondhi 1986, a theorem). It finds a local maximum, not in general the global one.
- Geometric durations. A state with self loop probability stays for frames with probability , a geometric distribution with mean (a theorem of the model). The most likely duration is one frame, which does not match real phones. A hidden semi-Markov model models durations directly.
- Diagonal covariances. Diagonal Gaussians assume that the features are uncorrelated within a component. The discrete cosine transform of the MFCCs makes the features nearly uncorrelated, and a mixture of diagonal Gaussians can model the correlation that is left. This is a heuristic justification, and full or structured covariances give small gains at a much larger cost.
- Measured accuracy. With tied-state triphones, the GMM-HMM system of Young, Odell and Woodland 1994 had a word error rate of 3.87 percent on the Resource Management Feb'89 test set, and 4.90 percent on the Wall Street Journal Nov'93 5k test (measurements). Hybrid DNN-HMM systems later reduced the error rates on most tasks.
References
- Lawrence R. Rabiner, A tutorial on hidden Markov models and selected applications in speech recognition, Proceedings of the IEEE 77(2), 1989, pages 257 to 286, the sections on continuous observation densities, left-to-right models and the re-estimation of mixture densities
- Biing-Hwang Juang, Stephen E. Levinson and Man Mohan Sondhi, Maximum likelihood estimation for multivariate mixture observations of Markov chains, IEEE Transactions on Information Theory 32(2), 1986, pages 307 to 309, the re-estimation formulas for HMMs with Gaussian mixture outputs and their convergence
- Mark Gales and Steve Young, The application of hidden Markov models in speech recognition, Foundations and Trends in Signal Processing 1(3), 2008, pages 195 to 304, the chapters on the architecture of an HMM-based recognizer and on parameter estimation
- Xuedong Huang, Alex Acero and Hsiao-Wuen Hon, Spoken Language Processing, Prentice Hall PTR, 2001, Chapter 8 (hidden Markov models) and Chapter 9 (acoustic modeling)
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 7V4M5X Edit this page History Report an error Markdown