Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

When Should We Prefer Offline Reinforcement Learning Over Behavioral Cloning?

About

Offline reinforcement learning (RL) algorithms can acquire effective policies by utilizing previously collected experience, without any online interaction. It is widely understood that offline RL is able to extract good policies even from highly suboptimal data, a scenario where imitation learning finds suboptimal solutions that do not improve over the demonstrator that generated the dataset. However, another common use case for practitioners is to learn from data that resembles demonstrations. In this case, one can choose to apply offline RL, but can also use behavioral cloning (BC) algorithms, which mimic a subset of the dataset via supervised learning. Therefore, it seems natural to ask: when can an offline RL method outperform BC with an equal amount of expert data, even when BC is a natural choice? To answer this question, we characterize the properties of environments that allow offline RL methods to perform better than BC methods, even when only provided with expert data. Additionally, we show that policies trained on sufficiently noisy suboptimal data can attain better performance than even BC algorithms with expert data, especially on long-horizon problems. We validate our theoretical results via extensive experiments on both diagnostic and high-dimensional domains including robotic manipulation, maze navigation, and Atari games, with a variety of data distributions. We observe that, under specific but common conditions such as sparse rewards or noisy data sources, modern offline RL methods can significantly outperform BC.

Aviral Kumar, Joey Hong, Anikait Singh, Sergey Levine• 2022

Related benchmarks

TaskDatasetResultRank
Offline Reinforcement LearningMaze2D medium v1
Normalized Return14.25
30
Offline Reinforcement LearningMaze2D large v1
Normalized Return11.32
30
Planning and Controlmaze2d-umaze v1 (100 episodes, 300 steps/ep)
Score12.18
16
Offline Reinforcement LearningAntMaze medium-play v2
Average Score2
14
Offline Reinforcement LearningAntMaze Medium-Diverse v2
Average Score0.058
14
Offline Reinforcement LearningAntMaze large-diverse v2
D4RL Score0.8
11
Offline Reinforcement LearningAntMaze large-play v2
D4RL Score0.00e+0
11
LocomotionAntmaze u-umaze v2--
2
LocomotionAntmaze u-divrs v2--
2
LocomotionAntmaze m-play v2--
2
Showing 10 of 16 rows

Other info

Follow for update