Log inStart free
LESSON 16.13 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Reward scale, clipping and normalization

Watch one reward stream get scaled, divided by σ and clipped.


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

Go Pro · $8.25/mo
EXPLAINER · 16.13 · REWARD BAYCOIN 1 · THORNS −3 · GEM 25
01
Stage 1 of 5 · Two paths
Each bar is one reward, in points. The coin value sets the reward scale: a coin pays 1, the gem 25.
Explain it simply

You see two paths through the same short task. The top path pays one coin at every step. The bottom path hurts you once at the thorns, then pays a big gem at the end. The coin value is the reward scale: the same game can count in cents or in hundreds.

Two rows of 8 bars. The coin path pays 1 at each step. The gem path pays −3 at step 3 and 25 at step 7.

rewardsγ, σ and the ±1 rangereturnscut by clipping
coinsgemt=0t=1t=2t=3t=4t=5t=6t=711111111000−300025rewards per stepcoin 1 · thorns −3 · gem 25coinsgemt=0t=1t=2t=3t=4t=5t=6t=711111111000−300025rewards per stepcoin 1 · thorns −3 · gem 25
Toy: 2 paths of 8 steps; σ from 40 seeded episodes
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
rt∈{c, −3c, 25c}\sy{r}{data}{r_t} \in \{c,\ -3c,\ 25c\}
c=1: r∈{1, −3, 25}c = 1:\ r \in \{1,\ -3,\ 25\}

Each reward is one coin value c, or a multiple of it.

Common mix-ups

MYTHClipping only shrinks the rewards; the best path stays.

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

Predict, then reveal
3 CHECKS · PRO
Q01If a coin is worth 0.01 points, does clipping still change the better path?

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 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.