HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning

Xue Bin Peng Aviral Kumar Grace Zhang Sergey Levine

Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning

Abstract

In this paper, we aim to develop a simple and scalable reinforcement learning algorithm that uses standard supervised learning methods as subroutines. Our goal is an algorithm that utilizes only simple and convergent maximum likelihood loss functions, while also being able to leverage off-policy data. Our proposed approach, which we refer to as advantage-weighted regression (AWR), consists of two standard supervised learning steps: one to regress onto target values for a value function, and another to regress onto weighted target actions for the policy. The method is simple and general, can accommodate continuous and discrete actions, and can be implemented in just a few lines of code on top of standard supervised learning methods. We provide a theoretical motivation for AWR and analyze its properties when incorporating off-policy data from experience replay. We evaluate AWR on a suite of standard OpenAI Gym benchmark tasks, and show that it achieves competitive performance compared to a number of well-established state-of-the-art RL algorithms. AWR is also able to acquire more effective policies than most off-policy algorithms when learning from purely static datasets with no additional environmental interactions. Furthermore, we demonstrate our algorithm on challenging continuous control tasks with highly complex simulated characters.

Code Repositories

nvlabs/gbrl_sb3
pytorch
Mentioned in GitHub
peisuke/awr
Mentioned in GitHub
fomorians-oss/awr
tf
Mentioned in GitHub
google/trax
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
openai-gym-on-ant-v2AWR
Mean Reward: 5067
openai-gym-on-halfcheetah-v2AWR
Mean Reward: 9136
openai-gym-on-hopper-v2AWR
Mean Reward: 3405
openai-gym-on-humanoid-v2AWR
Average Return: 4996
openai-gym-on-lunarlander-v2AWR
Average Return: 229
openai-gym-on-walker2d-v2AWR
Mean Reward: 5813

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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning | Papers | HyperAI