Hidden Markov Model

A Hidden Markov Model (HMM) is a probabilistic model that can be viewed as a Markov Model whose states are not directly observable. The underlying chain of hidden variables evolves according to the same Markov property,

but instead of observing each state itself, we only observe an evidence variable that depends probabilistically on that hidden state.

The hidden layer forms a Markov Chain, while the observation layer adds an emission process that provides the update step

Each timestep thus contains two components:

  1. A transition model , governing how hidden states evolve, just like a Markov Chain.
  2. An emission model , governing how each hidden state generates observable evidence.

Both models are assumed stationary, so their conditional tables do not change with .

The full process is a Markov Chain “wrapped” by an observation model. The resulting joint distribution over both hidden states and evidence variables factorizes as

This structure allows inference over hidden states using algorithms such as forward-backward, Viterbi, or particle filtering, all of which operate on the same transition dynamics as a Markov Chain but must also account for the uncertainty introduced by the hidden layer.