Log inStart free
LESSON 18.02 · 6 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW

Robust aggregates: median, IQM and performance profiles

See how the mean, median, IQM and profile summarize 100 runs.


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

Go Pro · $8.25/mo
EXPLAINER · 18.02 · EVALUATION BAYRAW SCORES · 200 RUNS · 8 CRASHED
01
Stage 1 of 6 · Run scores
Each dot is one run: 5 seeds of A and B on each task. Two ticks mark a random and an always-right policy.
Explain it simply

Each column is one task. Each dot is one run, scored on 100 test episodes, not 10 as in 18.01. The lower tick shows a random policy there. The upper tick shows a policy that always moves right. On short tasks, even random play scores well, so a raw score hides how hard the task is.

20 task columns, each with 5 runs of A and 5 runs of B, and two reference ticks. Scores are raw. 11 runs of A score below the random policy.

run scores and aggregates (A filled, B hollow)reference policies, quantile levels, thresholdscrashed runs
0.000.250.500.751.001234567891011121314151617181920taskscore (raw)filled dot: Ahollow dot: Bring: crashed run (8)dashed tick: random policysolid tick: always rightrun scores by tasknormalized = (score − random) / (always right − random)0.000.250.500.751.001234567891011121314151617181920taskscore (raw)filled dot: Ahollow dot: Bring: crashed run (8)dashed tick: random policysolid tick: always rightrun scores by tasknormalized = (score − random) / (always right − random)
Toy: 2 Q-learning algorithms × 5 seeds × 20 corridor tasks
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
s~=s−srandsright−srand\sy{n}{out}{\tilde s} = \dfrac{\sy{s}{out}{s} - \sy{lo}{param}{s_{\text{rand}}}}{\sy{hi}{param}{s_{\text{right}}} - \sy{lo}{param}{s_{\text{rand}}}}
A, seed 2, task 6: s~=(0.398−0.410)/(1.000−0.410)≈−0.020\text{A, seed 2, task 6: } \tilde s = (0.398 - 0.410)/(1.000 - 0.410) \approx -0.020

Normalizing puts a random policy at 0 and always-right at 1.

Common mix-ups

MYTHThe median is always the most robust summary.

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

Predict, then reveal
2 CHECKS · PRO
Q01With raw scores, if crashed runs count as 0, which aggregate of A moves most?

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