Forward-Backward Algorithm
Section 1 - Page 2
1
2
The forward-backward algorithm is not unduly hard to comprehend,
but is more complex in nature than the forward algorithm and the
Viterbi algorithm. For this reason, it will not be presented
here in full (any standard reference on HMMs will provide - see
the Summary section).
In summary, the algorithm proceeds by making an initial guess of
the parameters (which may well be entirely wrong) and then
refining it by assessing its worth, and attempting to reduce the
errors it provokes when fitted to the given data. In this sense,
it is performing a form of gradient descent, looking for a
minimum of an error measure.
It derives its name from the fact
that, for each state in an execution trellis, it computes the
`forward' probability of arriving at that state (given the
current model approximation) and the `backward' probability of
generating the final state of the model, again given the current
approximation. Both of these may be computed advantageously by
exploiting recursion, much as we have seen already. Adjustments
may be made to the approximated HMM parameters to improve these
intermediate probabilities, and these adjustments form the basis
of the algorithm iterations.
|