Note
Reward to-Go + Baseline Policy Gradient
Topics: Reinforcement Learning
Given the Expected Gradient Log-Probability Lemma:
Then, for any term that only depends on state, we have:
Therefore, we can add/subtract in the Reward to-Go Policy Gradient without changing the value of the expectation:
where is referred to as Baseline.
The most common choice of is the on-policy value function . This reduces the variance in the sample estimate of policy gradient.
Intuitively, it allows to compare the earned rewards of the agent to the expected average value. If the agent gets the reward it expected, then it should feel neutral about it: .
References
Backlinks
Notes that reference this page.
Connections
Direct relationships to this note.