Note
Policy Optimization
Topics: Reinforcement Learning
Concept
Consider a parametrized Policy . The goal is to maximize the expected return
The essence is that we would like to optimize the policy by using gradient ascent on the network parameters:
where:
is the Policy Gradient
is the Learning Rate
In order to use the above equation, we need an expression for the policy gradient. The full derivation of the Simple Policy Gradient is found in Simple Policy Gradient Derivation.
Types of Policy Gradients
Building on the previous derivation, we can write the policy gradient in the following general form:
where can be any of the following:
- Simplest Policy Gradient
- Reward to-Go Policy Gradient:
- Reward to-Go + Baseline Policy Gradient:
Choices 1, 2 and 3 lead to the same expected value but different variances. There are different choices of which use the action values instead of rewards: - On-Policy Action-Value Policy Gradient:
- Advantage-Based Policy Gradient:
where .
is the Advantage Function of an action, which describes how better or worse the action is compared to other actions on average.
Advantage-based policy gradient can be thought of as On-Policy Action-Value Policy Gradient with a baseline equal to .
References
Backlinks
Notes that reference this page.
Connections
Direct relationships to this note.