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

Perturbation robustness

Shake one trained maze agent in eight ways and watch its success change.


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 · 18.07 · STRESS BAYCLEAN 86% OF 100 RUNS
01
Stage 1 of 5 · Clean test
The trained agent reads one observation as text each move. Clean, it reaches the goal in 86% of 100 runs.
Explain it simply

The agent trained on 45 mazes and now plays 10 new ones. Each move, it reads a short text: where the goal and key are, and what sits on its 4 sides. It looks that text up in its table and picks a move. With nothing changed, 86 of 100 runs reach the goal.

A 7 by 7 test maze with lava. The clean run reaches the goal in 6 moves. A loop shows world, sensor, text, policy and actuator. The clean bar shows 86%.

the agent, its path, what it readsthe clean run and its levelgoal, successlava, the change, the dropstrength
goalclean testtest maze 48 · run 1 of 10worldsensortextpolicyactuatoragent readsg1-1 k-- u. r. d. l.run endsat the goal in 6 movesg: goal direction · k: key direction · u r d l: the 4 sidesclean86%86 of 100 runs13 in lavagoalclean testtest maze 48 · run 1 of 10worldsensortextpolicyactuatoragent readsg1-1 k-- u. r. d. l.run endsat the goal in 6 movesg: goal direction · k: key direction · u r d l: the 4 sidesclean86%86 of 100 runs13 in lava
Toy: 10 test mazes, 7 × 7, 10 runs each
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
S=runs that reach the goalall runs\sy{S}{out}{S} = \frac{\text{runs that reach the goal}}{\text{all runs}}
S=86/100=0.86S = 86/100 = 0.86

Success is the share of test runs that reach the goal.

Common mix-ups

MYTHA format change cannot hurt, because the meaning stays the same.

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

Predict, then reveal
3 CHECKS · PRO
Q01A slippery floor at strength 1 slides every move it can. Does success fall below half?

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.