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

A generalization stress test

Run one maze agent through 9 tests and read its whole report.


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

Go Pro · $8.25/mo
EXPLAINER · 18.C2 · STRESS BAYPLAIN · 9 TESTS · 45 TRAINING MAZES
01
Stage 1 of 6 · Battery
A stress test runs one agent through 9 tests. Each test changes one thing about the mazes or the moves.
Explain it simply

On the right, each row is one test from an earlier lesson, in three groups. The big maze on the left shows one run of the agent. The agent here is the plain agent. It learned two tables: what it sees, and what it sees at each cell.

9 empty test rows in three groups: in distribution, out of distribution, perturbations. A maze shows one run of the plain agent.

the agent, its rungoal, scorelava, failing score, disturbed movespass mark, key and door
the batterytraining mazes · maze 2run 1: lava after 29 movesplain · 91% over 450 runsin distributionout of distributionperturbationstraining mazes18.05new mazes18.05one cell changed18.09new goal corner18.05goal NW + key18.0611 × 11 mazes18.06pushed moves 0.518.07renamed symbols18.07drift 0.618.080%100%p̂ = wins / runs, for each testthe batterytraining mazes · maze 2run 1: lava after 29 movesplain · 91% over 450 runsin distributionout of distributionperturbationstraining mazes18.05new mazes18.05one cell changed18.09new goal corner18.05goal NW + key18.0611 × 11 mazes18.06pushed moves 0.518.07renamed symbols18.07drift 0.618.080%100%p̂ = wins / runs, for each test
Toy: 60 mazes, 7 × 7 (one test 11 × 11), 10 runs per maze
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
p^t=winstrunst\sy{p}{out}{\hat p_t} = \dfrac{\text{wins}_t}{\text{runs}_t}
t=1,…,9,  10 runs per mazet = 1, \dots, 9,\ \ 10\ \text{runs per maze}

A test's score is the share of its runs that reach the goal.

Common mix-ups

MYTHA high new-maze score shows that the agent generalizes.

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

Predict, then reveal
3 CHECKS · PRO
Q01Switch to the parser agent. Which tests change from the plain agent's scores?

Make your guess, then test it in the diagram. All 3 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 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.