Note
Reward to-Go Policy Gradient
Topics: Reinforcement Learning
The problem with the simple policy gradient is that the log-probability at every time step is getting multiplied by the sum of all the rewards of the trajectory .
This does not make sense because the rewards obtained before an action was taken do not relate to how good or bad that action was. In other words, rewards are the consequences of actions and only rewards that were obtained after an action was taken should be considered.
Hence, the Reward to-Go Policy Gradient is formulated as follows:
By replacing with the reward to-go, we reduce the number of samples needed to get low variance for the policy gradient estimate.
References
Backlinks
Notes that reference this page.
Connections
Direct relationships to this note.