Log inStart free
LESSON 15.26 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Belief states and Bayesian filtering

Watch a robot that cannot see its cell track it with probabilities.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 15.26 · FILTER BAYHISTORY 13 SYMBOLS · 8,192 POSSIBLE
01
Stage 1 of 5 · Only a history
The agent never sees its cell. Its history holds 7 readings and 6 moves.
Explain it simply

The robot moves along a ring of 8 cells, and three of them have a door. The agent can't see which cell it is in. It only gets a door sensor reading and knows which move it made. That list of readings and moves is the history, and it grows by two items each step.

A ring of 8 cells with doors at cells 0, 1 and 4. A dashed ring marks the hidden robot in cell 1. Below, the history strip shows 13 readings and moves.

readings and movesdoors and sensor modelbeliefwrong readinghidden robot
ring: 7 → 001234567W→W→D→D←W→D→Dwhat the agent hascorridorhistoryD door · W wallhistory: 13 symbols, 1 of 8,192 possiblering: 7 → 001234567W→W→D→D←W→D→Dwhat the agent hascorridorhistoryD door · W wallhistory: 13 symbols, 1 of 8,192 possible
Toy: 8-cell ring corridor, 3 doors, seeded sensor and slips
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
ht=(o0,a0,o1,…,at−1,ot)\sy{h}{data}{h_t} = (\sy{o}{data}{o_0}, \sy{a}{data}{a_0}, \sy{o}{data}{o_1}, \dots, \sy{a}{data}{a_{t-1}}, \sy{o}{data}{o_t})
h6: 13 symbols, 213=8,192 possible historiesh_{6}:\ 13\text{ symbols},\ 2^{13} = 8{,}192\text{ possible histories}

The history lists every reading and every move so far.

Common mix-ups

MYTHA belief state is the one cell the agent guesses.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With a 95% sensor, is the true cell's final belief higher or lower than at 80%?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.