Hidden Markov Model Article Index for
Hidden
Website Links For
Hidden
 

Information About

Hidden Markov Model




State transitions in a hidden Markov model (example)

''x'' — hidden states

''y'' — observable outputs

''a'' — transition probabilities

''b'' — output probabilities]]
A hidden Markov model ('''HMM''') is a Statistical Model in which the system being modeled is assumed to be a Markov Process with unknown parameters, and the challenge is to determine the hidden parameters from the Observable parameters. The extracted model parameters can then be used to perform further analysis, for example for Pattern Recognition applications. A HMM can be considered as the simplest Dynamic Bayesian Network .

In a regular Markov model, the state is directly visible to the observer, and therefore the state transition probabilities are the only parameters. In a ''hidden'' Markov model, the state is not directly visible, but variables influenced by the state are visible. Each state has a probability distribution over the possible output tokens. Therefore the sequence of tokens generated by an HMM gives some information about the sequence of states.

Hidden Markov models are especially known for their application in Temporal pattern recognition such as speech, handwriting, gesture recognition, musical score following and Bioinformatics .


ARCHITECTURE OF A HIDDEN MARKOV MODEL

The diagram below shows the general architecture of an HMM. Each oval shape represents a random variable that can adopt a number of values. The random variable x(t) is the value of the hidden variable at time t. The random variable y(t) is the value of the observed variable at time t. The arrows in the diagram (often called a trellis diagram) denote conditional dependencies.

From the diagram, it is clear that the value of the hidden variable x(t) (at time t) ''only'' depends on the value of the hidden variable x(t-1) (at time t-1). This is called the Markov Property . Similarly, the value of the observed variable y(t) only depends on the value of the hidden variable x(t) (both at time t).






PROBABILITY OF AN OBSERVED SEQUENCE

The probability of observing a sequence Y=y(0), y(1),\dots,y(L-1) of length L is given by

:P(Y)=\sum_{X}P(Y\mid X)P(X),

where the sum runs over all possible hidden node sequences X=x(0), x(1), \dots, x(L-1). Although it is straight-forward to compute P(Y) by matrix multiplication of (submatricies of) the transition matrix, doing so for many real-life problems requires potentialy (very) large amounts of compute storage and compute time. There exist a variety of algorithms that, while not providing exact results, do provide reasonably good results, with considerably less demand on storage and compute time. These include the s, a well-designed application of the Viterbi algorithm will provide results within a fraction of a Decibel of the exact results; a fraction of a decibel is "good enough" in this context.


USING HIDDEN MARKOV MODELS


There are three Canonical problems associated with HMM:
  • Given the parameters of the model, compute the probability of a particular output sequence. This problem is solved by the Forward-backward Algorithm .

  • Given the parameters of the model, find the most likely sequence of hidden states that could have generated a given output sequence. This problem is solved by the Viterbi Algorithm .

  • Given an output sequence or a set of such sequences, find the most likely set of state transition and output probabilities. In other words, discover the parameters of the HMM given a dataset of sequences. This problem is solved by the Baum-Welch Algorithm .



A concrete example


''This example is further elaborated in the Viterbi Algorithm page.''


Applications of hidden Markov models



HISTORY


Hidden Markov Models were first described in a series of statistical papers by Leonard E. Baum and other authors in the second half of the 1960s . One of the first applications of HMMs was Speech Recognition , starting in the mid- 1970s .Rabiner, p. 258

In the second half of the 1980s , HMMs began to be applied to the analysis of biological sequences, in particular DNA . Since then, they have become ubiquitous in the field of Bioinformatics .Durbin et al.


SEE ALSO



NOTES



REFERENCES


  • '', 77 (2), p. 257–286, February 1989.

  • Richard Durbin, Sean R. Eddy, Anders Krogh, Graeme Mitchison. ''Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids''. Cambridge University Press, 1999. ISBN 0-521-62971-3.

  • Lior Pachter and Bernd Sturmfels. "Algebraic Statistics for Computational Biology". Cambridge University Press, 2005. ISBN 0-521-85700-7.

  • Olivier Cappé, Eric Moulines, Tobias Rydén. ''Inference in Hidden Markov Models'', Springer, 2005. ISBN 0-387-40264-0.

  • Kristie Seymore, Andrew McCallum, and Roni Rosenfeld. ''Learning Hidden Markov Model Structure for Information Extraction''. AAAI 99 Workshop on Machine Learning for Information Extraction, 1999 ''(also at CiteSeer : {Link without Title} )''.

  • Tutorial from University of Leeds {Link without Title} .

  • J. Li , A. Najmi, R. M. Gray, Image classification by a two dimensional hidden Markov model, ''IEEE Transactions on Signal Processing'', 48(2):517-33, February 2000.

  • Y. Ephraim and N. Merhav, Hidden Markov processes, IEEE Trans. Inform. Theory, vol. 48, pp. 1518-1569, June 2002.

  • B. Pardo and W. Birmingham. Modeling Form for On-line Following of Musical Performances . AAAI-05 Proc., July 2005.

  • http://citeseer.ist.psu.edu/starner95visual.html



EXTERNAL LINKS