Log inStart free
LESSON 20.16 · 6 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW

Inverse reinforcement learning

Watch a search find the rewards that explain an expert's moves.


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

Go Pro · $8.25/mo
EXPLAINER · 20.16 · IMITATION BAY10 DEMOS · 209 PAIRS · 33 CELLS
01
Stage 1 of 6 · Expert demos
An expert drives 10 demos from S to the finish line. Inverse RL asks which reward makes its moves in these 33 cells the best.
Explain it simply

Each teal line is one run of an expert driver, from S to the finish line. The small teal arrows show the move the expert made in each of the 33 visited cells. Inverse RL works backward from these moves to the reward the expert wanted.

A U-shaped track 3 cells wide. 10 demos from S reach the finish line. They visit 33 of 51 track cells in 209 moves, with one move per cell.

demos and their movesa reward's plan, re-planned cellsbroken or differing movesrewards that fit, finish
the racetrackSfinishD = 209 pairs in 33 cellsthe racetrackSfinishD = 209 pairs in 33 cells
Toy: a 12 × 9 racetrack, 10 expert demos, 169 candidate rewards
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
D={(s,aE)}\sy{D}{data}{\mathcal{D}} = \{(s, \sy{aE}{data}{a_E})\}
∣D∣=209 pairs in 33 cells|\mathcal{D}| = 209 \text{ pairs in } 33 \text{ cells}

The demos give one expert move for each visited cell.

Common mix-ups

MYTHA reward that fits the demos is the expert's reward.

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

Predict, then reveal
2 CHECKS · PRO
Q01With 1 demo instead of 10, do more or fewer rewards fit?

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

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 2 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.