Log inStart free
LESSON 15.27 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Memory for partial observability

Watch four memories carry a lamp's clue down a corridor of identical cells.


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

Go Pro · $8.25/mo
EXPLAINER · 15.27 · MEMORY BAYNO MEMORY · CORRECT TURN 50% · RETURN −0.35
01
Stage 1 of 6 · Same junction
Only the lamp shows the goal arm. Without memory, the junction turn is a coin flip: 50%.
Explain it simply

The robot starts next to a lamp that points to the arm with the goal. Then it walks down a corridor where every cell looks the same. The junction also looks the same in both worlds. With no memory, the robot can only guess which way to turn.

A T-maze: the lamp cell, 5 corridor cells and a junction with an up arm and a down arm. The goal is right, down. Below, a bar per cell shows each sensor reading. Without memory, the robot turns left.

lamp and readingsframe stack and weightmemory and turnnoise, wrong turn, losscorridor
lampgoal−1.15−0.850.170.590.35−0.07−0.60readingsT-maze and memoryno memory turns left: wronglampgoal−1.15−0.850.170.590.35−0.07−0.60readingsT-maze and memoryno memory turns left: wrong
Toy: T-maze, lamp + 2 to 10 corridor cells, noisy sensor, one seeded episode
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
P(correct)=12,G=2P−1−0.05 n\sy{P}{out}{P(\text{correct})} = \tfrac{1}{2}, \quad \sy{G}{out}{G} = 2\sy{P}{out}{P} - 1 - 0.05\,\sy{n}{param}{n}
P=0.5, G=2(0.5)−1−0.05⋅7=−0.35P = 0.5,\ G = 2(0.5) - 1 - 0.05 \cdot 7 = -0.35

Without memory, each arm is equally likely, and every action costs 0.05.

Common mix-ups

MYTHA frame stack remembers everything the agent has seen.

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

Predict, then reveal
3 CHECKS · PRO
Q01With 4 frames and a 2-cell corridor, does the stack hold the lamp?

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

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 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.