Common · Knowledge
Forward–backward algorithm
Hidden Markov model inference algorithm which computes the posterior marginals of all hidden state variables given a sequence of observations, making use of dynamic programming to make only 2 passes: one forward, one backward
The forward–backward algorithm is an inference algorithm for hidden Markov models which computes the posterior marginals of all hidden state variables given a sequence of observations/emissions o 1 : T := o 1 , … , o T {\displaystyle o_{1:T}:=o_{1},\dots ,o_{T}} , i.e. it computes, for all hidden state variables X t ∈ { X 1 , … , X T } {\displaystyle X_{t}\in \{X_{1},\dots ,X_{T}\}} , the distribution P ( X t | o 1 : T ) {\displaystyle P(X_{t}\ |\ o_{1:T})} . This inference task is usually called smoothing.
From Wikipedia
The forward–backward algorithm is an inference algorithm for hidden Markov models which computes the posterior marginals of all hidden state variables given a sequence of observations/emissions o 1 : T := o 1 , … , o T {\displaystyle o_{1:T}:=o_{1},\dots ,o_{T}} , i.e. it computes, for all hidden state variables X t ∈ { X 1 , … , X T } {\displaystyle X_{t}\in \{X_{1},\dots ,X_{T}\}} , the distribution P ( X t | o 1 : T ) {\displaystyle P(X_{t}\ |\ o_{1:T})} . This inference task is usually called smoothing. The algorithm makes use of the principle of dynamic programming to efficiently compute the values that are required to obtain the posterior marginal distributions in two passes. The first pass goes forward in time while the second goes backward in time; hence the name forward–backward algorithm. The term forward–backward algorithm is also used to refer to any algorithm belonging to the general class of algorithms that operate on sequence models in a forward–backward manner. In this sense, the descriptions in the remainder of this article refer only to one specific instance of this class.
Text: Wikipédia, CC BY-SA 4.0. · Image: Enrique Benimeli (CC BY-SA 3.0) ·
Related cards
-
F★
Fractional Brownian motion
Probability theory concept
-
★★★
Backpropagation
Optimization algorithm for artificial neural networks
-
B★
Bernstein–von Mises theorem
Theorem that the posterior converges in the infinite-data limit 𝑁≫1 to a multivariate normal distribution centred at the maximum likelihood estimator with covariance 𝑁⁻¹𝐼(𝜃₀)⁻¹ with 𝜃₀ the true population parameter and 𝐼(𝜃₀) the Fisher information
-
H★
Heath–Jarrow–Morton framework
Financial model
-
B★★
Backward Euler method
Numerical method for solving differential equations
-
★★★
Gradient descent
Optimization algorithm
-
★★★
Hidden Markov model
Statistical Markov model
-
G★
Gillespie algorithm
Method for stochastic equation systems
-
F★★
Factor analysis
Statistical method used to describe correlation through fewer possibly latent variables
-
F★
Filtered back projection
Algorithm for tomographic reconstruction of a 2D image from a set of projections
-
C★★
CMA-ES
Algorithm
-
★
Inverse transform sampling
Basic method for pseudo-random number sampling
-
★
Gibbs sampling
Algorithm
-
B★
Baum–Welch algorithm
Algorithm
-
c★
contrastive learning
A machine learning method
-
C★
Cycle detection
Algorithmic problem
-
W★
Ward's method
Criterion applied in hierarchical cluster analysis
-
I★
Inverse-Wishart distribution
Probability distribution