Sequence Models — Following a Hidden State from Clues

See, with pictures and motion, how a “true state” that cannot be seen directly is guessed from clues that arrive at each time step (thermometer readings, or measurements that wobble).

Whether a machine is “normal” or “degraded” (the hidden state) cannot be seen directly; only sensor values (observations) arrive at each time step. From the sequence of observations, estimate the hidden states. Check with the numbers plugged into the formulas: the difference between filtering by the forward algorithm (uses the observations up to that time) and smoothing γt that also uses the backward algorithm (uses the observations at all times); the fact that the most probable state sequence (Viterbi algorithm) can differ from the sequence of the most probable state at each time; and that a continuous hidden state leads to the Kalman filter.

Is the furnace normal or degraded right now?

The inside of the furnace cannot be seen from outside; only a thermometer reading (Low, Mid, High) arrives every hour. Each time a reading arrives, the line for “the probability that it is degraded now” is extended.

These are synthetic data for teaching purposes (the furnace states and readings are made up; the true states can be seen with “Check the answer”).

Back to Machine Learning — From Probability to GPT (Contents) | Text: Chapter 22, Section 22.5 | Equations and explanation (explanation page) | Equations are typeset with the browser’s built-in MathML (no external library).