An HMM has two states, initial probabilities , transition matrix , and emissions , , , . For the observations , what are the backward variables, and the posterior ?
Probabilistic models, Hidden Markov models
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can run the backward recursion and combine it with the forward variable to get a state posterior.
Key idea
Backward: and . Then .
Steps
- Set . The second observation is .
- .
- .
- Forward start: .
- .
- Posterior: , and .
- Check with the forward pass: , which sums to . The two ways of getting agree.
Common mistakes
- Putting the emission of instead of inside the backward recursion.
- Forgetting to divide by , so the posteriors do not sum to 1.
- Using instead of . In row of , is the probability of going from to .
How long your answer should be
Half a page. Cross-check both ways.
Read this
Previous in Probabilistic models: What is the generative story of latent Dirichlet allocation (LDA), and what do and represent?
Next in Probabilistic models: The unnormalised density on is a density. What is its Laplace approximation, and how does its variance compare with the exact one?