Part 3: Intro to Policy Optimization — Spinning Up documentation
In this section, we’ll discuss the mathematical foundations of policy optimization algorithms, and connect the material to sample code. We will cover three key results in the theory of policy gradients: In the end, we’ll tie those results together and describe the advantage-based expression for the policy gradient—the version we use in our Vanilla Policy Gradient implementation. Here, we consider the case of a stochastic, parameterized policy, . We aim to maximize the expected return . For the purposes of this derivation, we’ll take to give the finite-horizon undiscounted return, but the derivation for the infinite-horizon discounted return setting is almost identical. We would like to optimize the policy by gradient ascent, eg The gradient of policy performance, , is called the policy gradient, and algorithms that optimize the policy this way are called policy gradient algorithms. (Examples include Vanilla Policy Gradient and TRPO. PPO is often referred to as a policy gradient algori
Part 3: Intro to Policy Optimization - Spinning Up documentation --> Docs >> Part 3: Intro to Policy Optimization Edit on GitHub Part 3: Intro to Policy Optimization ¶ Table of Contents Part 3: Intro to Policy Optimization Deriving the Simplest Policy Gradient Implementing the Simplest Policy Gradient Expected Grad-Log-Prob Lemma Don’t Let the Past Distract You Implementing Reward-to-Go Policy Gradient Baselines in Policy Gradients Other Forms of the Policy Gradient Recap In this section, we’ll discuss the mathematical foundations of policy optimization algorithms, and connect the
Explore this link on the map →saved by
related reading
- Vanilla Policy Gradient - Spinning Up documentationspinningup.openai.com
- Policy Gradient Algorithms | Lil'Loglilianweng.github.io
- From REINFORCE to Dr. GRPOlancelqf.github.io
- The 37 Implementation Details of Proximal Policy Optimization · The ICLR Blog Trackiclr-blog-track.github.io
- Part 1: Key Concepts in RL - Spinning Up documentationspinningup.openai.com
- A vision researcher’s guide to some RL stuff: PPO & GRPO - Yuge (Jimmy) Shiyugeten.github.io
- Policy Gradient with PyTorchhuggingface.co
- A (Long) Peek into Reinforcement Learning | Lil'Loglilianweng.github.io
- RLHF Bookrlhfbook.com
- An Updated Introduction to Reinforcement Learning | Sri's Blogsrianumakonda.com
- Part 2: Kinds of RL Algorithms - Spinning Up documentationspinningup.openai.com
- [1707.06347] Proximal Policy Optimization Algorithmsarxiv.org