Baum-Welch algorithm

from Wikipedia, the free encyclopedia

In computer science and in statistical calculation models, the Baum-Welch algorithm is used to find the unknown parameters of a Hidden Markov Model  (HMM). It uses the forward-backward algorithm to calculate intermediate results, but is not identical to it.

The Baum-Welch algorithm is an expectation-maximizing algorithm . It calculates the maximum likelihood estimates ( maximum likelihood estimates ) and the so-called posterior mode estimates for the given parameters (transition and emission probability) of an HMM if only the emissions are given as training data.

The algorithm works in two steps: First, it calculates the forward probability and the backward probability for each state of the HMM. Second, on the basis of this first step, it calculates the frequency of the transition-emission pair values ​​and divides this by the probability of the entire string (so-called posterior decoding ). This leads to the calculation of the expected count of the single transition emission pair. Every time a single transition is found, the value of the quotient of the transition and the probability of the entire string increases. This value can then be made the new value of the transition.

The Baum-Welch algorithm is an instance of the EM algorithm and was named after Leonard E. Baum and Lloyd R. Welch .

literature

Web links