Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation

About

While agents trained by Reinforcement Learning (RL) can solve increasingly challenging tasks directly from visual observations, generalizing learned skills to novel environments remains very challenging. Extensive use of data augmentation is a promising technique for improving generalization in RL, but it is often found to decrease sample efficiency and can even lead to divergence. In this paper, we investigate causes of instability when using data augmentation in common off-policy RL algorithms. We identify two problems, both rooted in high-variance Q-targets. Based on our findings, we propose a simple yet effective technique for stabilizing this class of algorithms under augmentation. We perform extensive empirical evaluation of image-based RL using both ConvNets and Vision Transformers (ViT) on a family of benchmarks based on DeepMind Control Suite, as well as in robotic manipulation tasks. Our method greatly improves stability and sample efficiency of ConvNets under augmentation, and achieves generalization results competitive with state-of-the-art methods for image-based RL in environments with unseen visuals. We further show that our method scales to RL with ViT-based architectures, and that data augmentation may be especially important in this setting.

Nicklas Hansen, Hao Su, Xiaolong Wang• 2021

Related benchmarks

TaskDatasetResultRank
Continuous ControlDMC-GB video hard
Cartpole Swingup Score4.01e+4
18
Visual Reinforcement LearningDMControl Walker Walk
Episode Return747
16
Visual Reinforcement LearningDMControl Reacher Easy
Episode Return811
16
Visual Reinforcement LearningDMControl Ball in cup, Catch
Episode Return915
16
Visual Reinforcement LearningDMControl Cheetah Run
Episode Return375
16
Visual Reinforcement LearningDMControl Finger, Spin
Episode Return859
16
Visual Reinforcement LearningDMControl Cartpole, Swingup
Episode Return727
16
Continuous ControlDMC-GB video easy
Cartpole Swingup Score782
12
Finger SpinDMControl Novel view (test)
Reward505
12
Cup CatchDMControl Novel view (test)
Reward743.5
12
Showing 10 of 85 rows
...

Other info

Code

Follow for update