forwardback
Forwardback refers to the forward-backward algorithm, a dynamic programming method used to compute the posterior probabilities of hidden states in sequential probabilistic models such as hidden Markov models (HMMs) and related dynamic Bayesian networks. The method relies on two passes over an observation sequence: a forward pass that aggregates information from the start up to each time step, and a backward pass that propagates information from the end back to each time step. By combining the results of these passes, the algorithm yields the smoothed probability of each state at each time given the entire sequence of observations.
In practice, the forward-backward algorithm computes, for each time and state, the probability of being in that
Applications include speech recognition, biological sequence analysis, part-of-speech tagging, and financial time-series analysis. The algorithm is
Originated in the study of HMMs in the late 1980s, the forward-backward approach remains a foundational technique
See also: forward algorithm, backward algorithm, Baum-Welch, hidden Markov model.