Log inStart free
LESSON 17.18 · 6 STAGES · 3 CONTROLS · 2 CHECKSPRO · PREVIEW

Reading PPO diagnostics

Read the numbers a PPO run logs, and spot a failing run early.


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

Go Pro · $8.25/mo
EXPLAINER · 17.18 · PPO DASHBOARDUPDATE 12 · SUCCESS 75% · RETURN 3.64
01
Stage 1 of 6 · Episode outcomes
Update 12: 75% of episodes reach the goal, with a mean return of 3.64. Each wall hit is a constraint violation.
Explain it simply

The cart starts in cell 2 and must reach cell 7 within 12 steps. Each line shows one number per update, and the grey cursor line marks update 12. Here 75% of the episodes reach the goal, in 10.9 steps on average. These four lines tell you whether the run works, not why.

Four line charts over 24 updates. At update 12: return 3.64, success 75%, episode length 10.9 steps, 0.00 wall hits per episode.

rollout dataupdate size, cliplosses, errors, failuresoutcomes, policya guide line or limit
mean return3.6411224−4.044.81success rate75%112240%100%episode length (steps)10.9112240.00012.00wall hits per episode0.00112240.0001.50episode outcomesmean return3.6411224−4.044.81success rate75%112240%100%episode length (steps)10.9112240.00012.00wall hits per episode0.00112240.0001.50episode outcomes
Toy: a cart on a 10-cell track, 8 episodes per update, 24 updates
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
G=∑trt\sy{ret}{out}{G} = \sum_{t} \sy{r}{data}{r_t}
Gˉ=3.64,  success=6/8\bar G = 3.64,\; \text{success} = 6/8

The return adds every reward of one episode.

Common mix-ups

MYTHA rising success rate means the training run is healthy.

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

Predict, then reveal
2 CHECKS · PRO
Q01With advantages normalized without ε, which run trips the NaN guard?

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