Command Palette
Search for a command to run...
John Schulman; Filip Wolski; Prafulla Dhariwal; Alec Radford; Oleg Klimov

Abstract
We propose a new family of policy gradient methods for reinforcement learning, which alternate between sampling data through interaction with the environment, and optimizing a "surrogate" objective function using stochastic gradient ascent. Whereas standard policy gradient methods perform one gradient update per data sample, we propose a novel objective function that enables multiple epochs of minibatch updates. The new methods, which we call proximal policy optimization (PPO), have some of the benefits of trust region policy optimization (TRPO), but they are much simpler to implement, more general, and have better sample complexity (empirically). Our experiments test PPO on a collection of benchmark tasks, including simulated robotic locomotion and Atari game playing, and we show that PPO outperforms other online policy gradient methods, and overall strikes a favorable balance between sample complexity, simplicity, and wall-time.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| continuous-control-on-lunar-lander-openai-gym | PPO | Score: 175.14±44.94 |
| neural-architecture-search-on-nats-bench | PPO (Schulman et al., 2017) | Test Accuracy: 44.95 |
| neural-architecture-search-on-nats-bench-1 | PPO (Schulman et al., 2017) | Test Accuracy: 94.02 |
| neural-architecture-search-on-nats-bench-2 | PPO (Schulman et al., 2017) | Test Accuracy: 71.68 |
| openai-gym-on-ant-v4 | PPO | Average Return: 608.97 |
| openai-gym-on-halfcheetah-v4 | PPO | Average Return: 6006.11 |
| openai-gym-on-hopper-v4 | PPO | Average Return: 790.77 |
| openai-gym-on-humanoid-v4 | PPO | Average Return: 925.89 |
| openai-gym-on-walker2d-v4 | PPO | Average Return: 2739.81 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.