Log inStart free
LESSON 20.C2 · 6 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW

Learning from an expert three ways

Watch three learners copy one expert: by cloning, by asking, by inferring a reward.


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.C2 · IMITATION BAY3 DEMOS · 69 PAIRS · 24/51 CELLS
01
Stage 1 of 6 · Same demos
All three learners get the same 3 demos of an expert. They cover 24 of the 51 track cells.
Explain it simply

The teal lines are expert runs, from S to the finish line. A car moves one cell at a time, and a skid can push it sideways onto the grass. The shaded cells are the 24 cells a run went through. Each learner starts from these same 69 pairs of cell and move.

Three copies of the racetrack, one per learner. Each shows the same 3 demos: 69 pairs in 24 of 51 cells.

demos, where cars drivelearned moves, re-planned cellsfinish, expert labelsguesses, crashes, wrong movesno demo
Behavior cloning20.14Sfinishuses 3 demos (69 pairs)DAgger20.15Sfinishuses 3 demos (69 pairs)Inverse RL20.16Sfinishuses 3 demos (69 pairs)D: 69 pairs in 24 of 51 cellsBehavior cloning20.14Sfinishuses 3 demos (69 pairs)DAgger20.15Sfinishuses 3 demos (69 pairs)Inverse RL20.16Sfinishuses 3 demos (69 pairs)D: 69 pairs in 24 of 51 cells
Toy: the 12 × 9 racetrack of 20.14, its expert and demos
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
D={(s,a)}\sy{D}{data}{D} = \{(s, a)\}
∣D∣=69 pairs in 24 of 51 cells|D| = 69 \text{ pairs in } 24 \text{ of } 51 \text{ cells}

The data holds each cell the expert stood in, with its move.

Common mix-ups

MYTHAsking the expert for labels always beats learning from demos alone.

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

Predict, then reveal
2 CHECKS · PRO
Q01If every learner gets 10 demos instead of 3, which one gains the most?

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.