LESSON 17.13 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
PPO clipping
Watch PPO reuse one batch and stop the steps that moved too far.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 17.13 · POLICY GRADIENT BAYITERATION 1 · 4 EPISODES · 69 STEPS
01
Stage 1 of 6 · Collect a batch
The old policy plays 4 episodes: 25, 21, 12 and 11 steps. Each step keeps its old chance.
Explain it simply
Each row is one episode, and each small cell is one step. A tick up means a push right, and a tick down means a push left. At the start, both pushes have the same chance, one half. PPO keeps that old chance with every step, so it can compare later.
Four rows of cells: episodes of 25, 21, 12 and 11 steps. Every step has an old chance of 0.50.
steps, pushesclip band, settingsclipped, KLadvantage, ratio, results
Toy: the 17.C2 cart-pole, seed 1708
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The old policy's chance of the push it took.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 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.