Forward-Backward

From Cohen Courses
Revision as of 16:18, 28 September 2011 by Lingwang (talk | contribs)
Jump to navigationJump to search

Summary

This is a dynamic programming algorithm, used in Hidden Markov Models to efficiently compute the posterior marginals over all the hidden state variables.

These values are then used in Posterior Decoding, which simply chooses the state with the highest posterior marginal for each position in the sequence.

The forward-backward algorithm can be computed in linear time, where as, a brute force algorithm that checks all possible state sequences would be exponential over the length of the sequence.