Log inStart free
LESSON 20.18 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Conservative offline RL

See a penalty keep a robot away from moves its logged data never tried.


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

Go Pro · $8.25/mo
EXPLAINER · 20.18 · OFFLINE BAY45 LOGGED MOVES · 3 UNTRIED JUMPS
01
Stage 1 of 5 · Logged runs
Offline RL learns from 10 logged runs and nothing else. The log never jumps from a cracked tile.
Explain it simply

You see a ledge of six tiles, and the goal is tile 5. Each arrow is a move: a short step or a long jump. The number on an arrow counts that move in the log. The dashed jumps never appear in the log, so nothing is known about them.

Six tiles, with steps below and jumps above. The log holds 45 moves. Jumps from tiles 0, 2 and 4 are never logged.

logged moveuntried movevalue, best movecracked tile, fallpenalty, tried move
pittile 0crackedtile 1tile 2crackedtile 3tile 4crackedgoal0×4×0×1×0×10×6×6×9×9×returns of the 10 logged runs−4−3−5−4−5−4−5−5−5−5the logpittile 0crackedtile 1tile 2crackedtile 3tile 4crackedgoal0×4×0×1×0×10×6×6×9×9×returns of the 10 logged runs−4−3−5−4−5−4−5−5−5−5the log
Toy: a 6-tile ledge, 10 logged runs, 30 online runs
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
D={(s,a,r,s′)},n(s,a)\sy{d}{data}{\mathcal{D}} = \{(s, a, r, s')\},\quad \sy{n}{data}{n(s,a)}
n(1,jump)=4,  n(3,jump)=1,  n(0,jump)=0n(1, \text{jump}) = 4,\; n(3, \text{jump}) = 1,\; n(0, \text{jump}) = 0

The log holds each move with its reward and the next tile.

Common mix-ups

MYTHOffline Q-learning only picks moves that the log shows.

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

Predict, then reveal
3 CHECKS · PRO
Q01If α rises from 1 to 10, does the deployed robot need more moves or fewer?

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 2 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.