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

Risk-sensitive objectives: quantiles and CVaR

Three routes pass a cliff, and the best average is not the safest choice.


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 · 20.11 · RISK BAYGUST 2% · CLIFF COST 20
01
Stage 1 of 5 · Three routes
In the windy columns, a gust (2% per step) pushes the agent one cell down. A fall into the cliff costs 20 more.
Explain it simply

The agent walks from S to G, and every step costs 1 point. The edge route runs next to the cliff, so one gust means a fall. The middle route needs two gusts in a row to fall, and the top route needs three. The safer routes are longer, though: 8, 10 and 12 steps.

A grid of 4 rows and 7 columns. The cliff fills the bottom row between S and G. The edge, middle and top routes run along rows 2, 1 and 0. A fall costs 20.

episode returnscliff, worst α shareα quantile (VaR)mean, CVaR, each pick
SGcliffwindedgemiddletopthree routesreturn−10−20−30−40−50−60edge routemiddle routetop routeSGcliffwindedgemiddletopthree routesreturn−10−20−30−40−50−60edge routemiddle routetop route
Toy: a 4 × 7 windy cliff walk, 3 fixed routes, 200 seeded episodes each
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
G=−T−c 1[fall]\sy{g}{data}{G} = -\sy{t}{ink}{T} - \sy{c}{param}{c}\,\mathbb{1}[\text{fall}]
Gedge=−8 with no gust,−3−20=−23 with a gust at step 3G_{\text{edge}} = -8 \text{ with no gust},\quad -3 - 20 = -23 \text{ with a gust at step 3}

The return is minus the steps, minus the cliff cost after a fall.

Common mix-ups

MYTHVaR shows how bad the worst episodes are.

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

Predict, then reveal
3 CHECKS · PRO
Q01With a 10% gust and a cliff cost of 20, which route does CVaR at 10% pick?

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.