For a parameter-independent integrand , the displayed score-function gradient estimator follows by differentiating the sampling probability density function or probability mass function, using . It requires conditions permitting differentiation under the integral sign, or the corresponding sum, and control of support changes. It applies to discrete choices without pretending that their sampled values are differentiable paths. If , add .
For a normalized differentiable sampling law on fixed support, . Consequently any deterministic scalar , independent of the sampled value, can be subtracted from the reward in a score-function gradient estimator without changing its expectation. This is an identity for the estimator, not a licence to differentiate an added parameter-dependent objective without its other terms. For a scalar parameter and score with , minimizing the estimator's variance gives , provided these moments exist: expand and differentiate the quadratic in . An arbitrary baseline need not reduce variance.[ref]
Articles by others on the same topic
There are currently no matching articles.