March 2019
Intermediate to advanced
184 pages
4h 57m
English
The policy gradient is defined as follows:

J is the long-term reward function that needs to be maximized, θ is the policy neural network parameters, N is the mini-batch size, Q(s,a) is the state-action value function, and π is the policy. In other words, we compute the gradient of the state-action value function with respect to actions and the gradient of the policy with respect to the network parameters, multiply them, and take an average of them over N samples of data from a mini-batch. We can then use this policy gradient in a gradient ascent setting to update the policy parameters. Note that it is essentially a chain rule ...
Read now
Unlock full access