Vanilla Policy Gradient — Spinning Up documentation
The key idea underlying policy gradients is to push up the probabilities of actions that lead to higher return, and push down the probabilities of actions that lead to lower return, until you arrive at the optimal policy. Let denote a policy with parameters , and denote the expected finite-horizon undiscounted return of the policy. The gradient of is where is a trajectory and is the advantage function for the current policy. The policy gradient algorithm works by updating policy parameters via stochastic gradient ascent on policy performance: Policy gradient implementations typically compute advantage function estimates based on the infinite-horizon discounted return, despite otherwise using the finite-horizon undiscounted policy gradient formula. VPG trains a stochastic policy in an on-policy way. This means that it explores by sampling actions according to the latest version of its stochastic policy. The amount of randomness in action selection depends on both initial conditions
Vanilla Policy Gradient - Spinning Up documentation --> Docs >> Vanilla Policy Gradient Edit on GitHub Vanilla Policy Gradient ¶ Table of Contents Vanilla Policy Gradient Background Quick Facts Key Equations Exploration vs. Exploitation Pseudocode Documentation Documentation: PyTorch Version Saved Model Contents: PyTorch Version Documentation: Tensorflow Version Saved Model Contents: Tensorflow Version References Relevant Papers Why These Papers? Other Public Implementations Background ¶ (Previously: Introduction to RL, Part 3 ) The key idea underlying policy gradients is to push up the probab
Explore this link on the map →saved by
related reading
- Part 3: Intro to Policy Optimization - Spinning Up documentationspinningup.openai.com
- Policy Gradient Algorithms | Lil'Loglilianweng.github.io
- From REINFORCE to Dr. GRPOlancelqf.github.io
- A vision researcher’s guide to some RL stuff: PPO & GRPO - Yuge (Jimmy) Shiyugeten.github.io
- The 37 Implementation Details of Proximal Policy Optimization · The ICLR Blog Trackiclr-blog-track.github.io
- A (Long) Peek into Reinforcement Learning | Lil'Loglilianweng.github.io
- Part 1: Key Concepts in RL - Spinning Up documentationspinningup.openai.com
- Policy Gradient with PyTorchhuggingface.co
- [1707.06347] Proximal Policy Optimization Algorithmsarxiv.org
- RLHF Bookrlhfbook.com
- Algorithms - Spinning Up documentationspinningup.openai.com
- An Updated Introduction to Reinforcement Learning | Sri's Blogsrianumakonda.com