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

Recovery, interruptibility and emergency stops

Watch an overseer stop or rescue an agent that slips into lava.


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 · 18.15 · SAFETY BAYSLIP INTO LAVA 0.1 · 138 INTERVENTIONS
01
Stage 1 of 5 · Into lava
This move along the edge slips into lava 1 time in 10. Each lava entry from safe ground calls a human intervention.
Explain it simply

You see the agent on the row above the lava, about to move right. Most moves go where they aim, but 1 move in 10 slips down into the lava. A human watches the training. Each time the agent lands in lava, the human steps in.

The agent stands on cell 2, 1 and moves right. A slip down puts it in lava with chance 0.1. In training, the overseer steps in 138 times.

agent, its movelava, interventionsoverseer, loggoal, plans, recovery
0.80.10.1startgoallavaagentoverseerworldinterventions in 200 episodes: 138after a slip: 37after an aimed move: 101the gridthe overseer0.80.10.1startgoallavaagentoverseerworldinterventions in 200 episodes: 138after a slip: 37after an aimed move: 101the gridthe overseer
Toy: a 7 × 7 grid with slips, 9 lava cells, 200 Q-learning episodes
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
P(L∣s,a)=∑s′∈Lp(s′∣s,a)P(\sy{lava}{grad}{L} \mid \sy{s}{data}{s}, \sy{a}{data}{a}) = \sum_{s' \in L} p(s' \mid s, a)
P(L∣(2,1),right)=0.1P(L \mid (2,1), \text{right}) = 0.1

The chance that the move ends on a lava cell.

Common mix-ups

MYTHAn emergency stop cannot change what the agent learns.

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

Predict, then reveal
3 CHECKS · PRO
Q01With the emergency stop at penalty 100, does the learned plan still walk into lava?

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.