Understanding the REINFORCE algorithm

The core of policy gradient algorithms has already been covered, but we have another important concept to explain. We are yet to look at how action values are computed.

We already saw with the formula (6.4):

that we are able to estimate the gradient of the objective function by sampling directly from the experience that is collected following the policy.

The only two terms that are involved are the values of and the derivative of the logarithm of the policy, which can be obtained through modern deep learning ...

Get Reinforcement Learning Algorithms with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.