LCLIP(θ)=Et[min(rt(θ)A^t,clip(rt(θ),1−ε,1+ε)A^t)],ε=0.2
\nDerivation:
1. Start from the policy-gradient surrogate
LPG(θ)=Et[rt(θ)A^t]: unconstrained maximization lets
rt grow unboundedly and one large update collapses the policy (TRPO's motivation);
2. Add clipping: once
rt leaves
[1−ε,1+ε] it is clamped, and taking the min with the unclipped term makes the objective constant in
rt (zero gradient) beyond the region — a one-line trust region;
3. Numeric example (
ε=0.2): with
A^t=+1,rt=2,
min(2,1.2)=1.2 — the positive advantage caps the ratio at 1.2; with
A^t=−1,rt=0.5,
min(−0.5,−0.8)=−0.8 — the negative advantage floors it at 0.8 (clipping in the opposite direction). The per-step ratio drift is bounded to about
±20%, equivalent to a small KL trust region.