REINFORCE is the simplest policy gradient algorithm. It uses complete episode returns to estimate the gradient.
Algorithm:
- Run a full episode under , collecting
- Compute returns:
- Update:
Intuition: actions followed by high returns get their probability increased; actions followed by low returns get decreased.
Problem: high variance. includes all future rewards, many of which are due to subsequent actions, not . This noise makes learning slow.
Variance reduction with baseline:
- Subtracting baseline doesn't change the expected gradient (provably)
- Best baseline ≈ → the update becomes proportional to advantage
- Learn with a separate network → this is Actor-Critic Methods
Limitations:
- Requires complete episodes (Monte Carlo)
- Even with a baseline, variance is still high compared to actor-critic
- On-policy: samples can't be reused (sample inefficient)
See also: Policy Gradient Theorem, Advantage Function, Actor-Critic Methods