A hidden Markov model (HMM) is a statistical model of a sequence in which an unobserved (“hidden”) state changes step by step according to fixed probabilities, and each state produces observable signals. For about three decades it was the dominant method for speech recognition, and it remains a standard tool in biology and signal processing.
How it works
The model assumes that the next hidden state depends only on the current one – the Markov property, named after the Russian mathematician Andrey Markov. In speech, the hidden states might be parts of sounds and the observations the acoustic measurements of each slice of audio. Three classic algorithms make HMMs practical: one computes how likely an observed sequence is, the Viterbi algorithm, devised in 1967 for decoding error-correcting codes, finds the most likely sequence of hidden states, and the Baum–Welch algorithm, developed by Leonard Baum, Lloyd Welch and colleagues from the late 1960s, learns the model’s probabilities from data (see Markov Decision Process for the related model used in reinforcement learning).
From speech to genes
From the 1970s, teams at IBM under Frederick Jelinek and at Carnegie Mellon applied HMMs to speech, replacing hand-written linguistic rules with statistics learned from recordings – a shift Richard Sutton cites in his 2019 essay on the “bitter lesson” as an example of general, computation-heavy methods beating hand-encoded knowledge, though HMM systems still relied on expert-built pronunciation dictionaries. Lawrence Rabiner’s 1989 tutorial made the method widely known. HMMs also powered part-of-speech tagging, handwriting recognition and, in biology, gene finding and the comparison of protein families. From around 2010, deep neural networks replaced the Gaussian mixture models that scored the audio in HMM systems (see Deep Learning), and end-to-end neural models later replaced the HMM itself.
Why it matters
HMMs carried statistical AI through decades when neural networks were out of favor and are often seen as a turning point on the road to today’s large language models – IBM’s statistical speech group also pioneered the n-gram language models that preceded them – which also model sequences, though without the HMM’s simple assumptions.
Written with Claude, made by Anthropic, a developer of large language models that has partnered with IBM, whose speech research is described, since 2025; the 2012 speech-recognition paper cited here includes researchers from Anthropic investors Google and Microsoft.
Related
Speech Recognition · Markov Decision Process · Recurrent Neural Network · Bayesian Network · Natural Language Processing · Bitter Lesson
Sources: Lawrence R. Rabiner: A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition (Proceedings of the IEEE) (1989) · Andrew Viterbi: Error bounds for convolutional codes and an asymptotically optimum decoding algorithm (IEEE Transactions on Information Theory) (1967) · Geoffrey Hinton et al.: Deep Neural Networks for Acoustic Modeling in Speech Recognition: The Shared Views of Four Research Groups (IEEE Signal Processing Magazine) (2012)
Leave a Reply