LESSON 17.C2 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
The policy-gradient lineage
Six policy-gradient methods train one cart-pole policy, side by side.
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/moEXPLAINER · 17.C2 · LINEAGE BAY4 EPISODES · 25, 21, 12, 11 STEPS
01
Stage 1 of 5 · One batch
Six methods train one policy, p(right) = σ(w·s), from w = 0. Update 1 plays the same 4 episodes for each method.
Explain it simply
The chips on top are the methods of the last six lessons. They all train the same pole-balancing policy. Each starts from zero weights, where left and right are equally likely. In update 1, every method sees the same 4 episodes. Only what each method does with them differs.
Six method chips. The cart-pole and 4 episodes as rows of steps, 25, 21, 12, 11 steps.
stepsweights, settings, KL limitgradients, the fall, KLΨ, curves
Toy: cart-pole, p(right) = σ(w·s), 40 updates, 10 runs per curve
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Every method averages Ψ times the push's log-probability gradient.
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.