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

DAgger

Watch a learner drive while an expert labels each cell it reaches.


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 · 20.15 · IMITATION BAYROUND 0 · 17/51 CELLS · FINISH 51%
01
Stage 1 of 5 · Round 0 clone
Behavior cloning copies 1 expert demonstration. The clone covers 17 of 51 cells and finishes 51% of runs.
Explain it simply

The teal line is one run of the expert from S to the finish line. The clone copies the expert's move in the 17 shaded cells. In every cell with a question mark it has no example, so it guesses.

The racetrack with one expert run. 17 of 51 cells are covered and hold the expert's move. The other cells hold question marks. The clone finishes 51% of runs.

demo, runs, covered cellsthe learner's moves, skidscrashes, wrong movesthe expert's labels, finish
??????????????????????????????????round 0: the clone of E1Sfinishthe data and the clonethe data: 17 pairs (cell, label)E1 17the learner finishesπ051%the expert 99%covered cells: 17 of 511 demo · 17 pairs · 17 of 51 cells covered??????????????????????????????????round 0: the clone of E1Sfinishthe data and the clonethe data: 17 pairs (cell, label)E1 17the learner finishesπ051%the expert 99%covered cells: 17 of 511 demo · 17 pairs · 17 of 51 cells covered
Toy: the 12 × 9 racetrack, 1 expert demo, 3 runs a round
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
π0(a∣s)=n(s,a)n(s)\sy{pi}{param}{\pi_0(a \mid s)} = \frac{\sy{n}{data}{n(s, a)}}{\sy{n}{data}{n(s)}}
∣D0∣=17,  J(π0)=0.51|\mathcal{D}_0| = 17,\; J(\pi_0) = 0.51

The first learner copies the moves of one demo.

Common mix-ups

MYTHIn DAgger, the expert takes the wheel when the learner errs.

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

Predict, then reveal
3 CHECKS · PRO
Q01With expert labels and all rounds kept, does the learner finish more often after round 3 or round 1?

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.