Elegant Derivation Shows Policy Gradient Score Centering Is a Straight-Through Estimator

YouJiacheng · x · 2026-09-20

YouJiacheng shares a compact derivation showing that score centering in policy gradients is equivalent to a straight-through estimator (STE). With s = ∇z log p(a) = ea − p, its expectation under q is s̄ = q − p, so the centered score ea − q equals the STE form zp + sg(zq − zp). The argument applies beyond linear policies; the interpretation was first found by @ACSync, echoing @nanjiangcs's argument.

Original post →

More from Research

Research channel →