LESSON 19.03 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Hindsight experience replay
Watch a missed walk turn into a lesson for the cell it did reach.
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/moEXPLAINER · 19.03 · REPLAY BAYEPISODE 50 · GOAL 3 · END 22
01
Stage 1 of 6 · One episode
Episode 50 aims at goal cell 3. It ends at cell 22, so all 24 sparse rewards are 0.
Explain it simply
The teal line is the agent's walk from cell 0 in the top left. It tried to reach the cobalt square, cell 3, but its 24 steps ran out. The reward is 1 only on the goal, so every square in the row on the right stays 0. A learner that keeps only this goal learns nothing from the walk.
Maze of 25 cells. The walk of episode 50 goes from cell 0 to cell 22. The goal is cell 3. A row of 24 rewards, all 0.
maze and walkrelabeled goalreward 0, missedgoal, reward 1dashed cell: no stored route
Toy: 19.C1 maze, 200 episodes, ε 0.2, γ 0.9
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
A step earns 1 only when it lands on the goal.
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.