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

Worst-case slices and tail risk

Watch one policy's mean return hide the mazes where it fails.


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.10 · EVAL BAYPOLICY A · 72 EPISODES · MEAN 0.82
01
Stage 1 of 5 · Episode returns
Each dot is one episode of policy A. The mean return over 72 episodes is 0.82.
Explain it simply

Each dot is one run of the maze task, from start to end. The further right a dot sits, the higher its return. Most dots bunch near the right end. The solid line marks the mean, and a mean can look fine while some runs go badly.

A dot plot of 72 episode returns of policy A. 6 episodes failed and returned 0.3 or less. The mean return is 0.82.

episode returnstail and worst slicemeans and intervalscut and true means
00.250.50.751episode returnmean 0.82scoresmean returnA0.82policy A · 72 episodesmean = Σ r / N = 58.78 / 72 = 0.8200.250.50.751episode returnmean 0.82scoresmean returnA0.82policy A · 72 episodesmean = Σ r / N = 58.78 / 72 = 0.82
Toy: 2 seeded maze policies, 9 slices, 4 to 16 episodes each
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Gˉ=1N∑i=1NGi\sy{m}{out}{\bar G} = \frac{1}{N}\sum_{i=1}^{N} \sy{r}{data}{G_i}
Gˉ=58.78/72=0.82\bar G = 58.78 / 72 = 0.82

The mean return adds every episode's return and divides by N.

Common mix-ups

MYTHA higher mean return means a safer policy.

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

Predict, then reveal
3 CHECKS · PRO
Q01If the tail share grows from 10% to 25%, does the CVaR go up or down?

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.