Hidden Markov model
You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.
x — states
y — possible observations
a — state 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, partial discharges and bioinformatics.
Architecture of a hidden Markov model
The diagram below shows the general architecture of an instantiated HMM. Each oval shape represents a random variable that can adopt a number of values. The random variable x(t) is the hidden state at time t (with the model from the above diagram,
). The random variable y(t) is the observation 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
of length L is given by
where the sum runs over all possible hidden node sequences
. Brute force calculation of P(Y) is intractable for most real-life problems, as the number of possible hidden node sequences is typically extremely high. The calculation can however be sped up enormously using an algorithm called the forward algorithm.[1]
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, and the probabilities of the hidden state values given that 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
- cryptanalysis
- speech recognition, Sign Language recognition, gesture and body motion recognition, optical character recognition
- machine translation
- partial discharge
- musical score following[1]
- bioinformatics and genomics
- prediction of protein-coding regions in genome sequences
- modeling families of related DNA or protein sequences
- prediction of secondary structure elements from protein primary sequences
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.[1]
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.[1]
See also
- Bayesian inference
- Estimation theory
- Hierarchical hidden Markov model
- Layered hidden Markov model
- Hidden semi-Markov model
- Variable-order Markov model
Notes
References
- Lawrence R. Rabiner, A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition. Proceedings of the IEEE, 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: [1]).
- Tutorial from University of Leeds[2].
- 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
- L.Satish and B.I.Gururaj.Use of hidden Markov models for partial discharge pattern classification.IEEE Transactions on Dielectrics and Electrical Insulation, Apr 1993.
External links
- Hidden Markov Model (HMM) Toolbox for Matlab (by Kevin Murphy)
- Hidden Markov Model Toolkit (HTK) (a portable toolkit for building and manipulating hidden Markov models)
- Hidden Markov Models (an exposition using basic mathematics)
- GHMM Library (home page of the GHMM Library project)
- Jahmm Java Library (Java library and associated graphical application)
- A step-by-step tutorial on HMMs (University of Leeds)
- Software for Markov Models and Processes (TreeAge Software)
- Hidden Markov Models (by Narada Warakagoda)
- HMM and other statistical programs (Implementation in C by Tapas Kanungo)
- A textbook explanation of HMMs (Jurafsky & Martin, 2nd edition)af:Verborge Markovmodel
ca:Model ocult de Markov de:Verborgenes Markow-Modellfr:Modèle de Markov caché id:Model Markov tersembunyi it:Modello nascosto di Markov nl:Hidden Markov Model ja:隠れマルコフモデル sl:Skriti model Markova fi:Markovin piilomalli sv:Dold Markovmodell vi:Mô hình Markov ẩn
Acknowledgement and Attribution Regarding Sources of Content
Some of the initial content on this page may be incorporated in part from copyleft sources in the public domain including wikis such as Wikipedia and AskDrWiki. Drug information for patients came from the The National Library of Medicine. Infectious disease information may have come from the Centers for Disease Control (CDC). Differential Diagnoses are drawn from clinicians as well as an amalgamation of 3 sources: 1.The Disease Database; 2. Kahan, Scott, Smith, Ellen G. In A Page: Signs and Symptoms. Malden, Massachusetts: Blackwell Publishing, 2004:3; 3. Sailer, Christian, Wasner, Susanne. Differential Diagnosis Pocket. Hermosa Beach, CA: Borm Bruckmeir Publishing LLC, 2002:7 .

