Generalization in Reinforcement Learning by Soft Data Augmentation

Nicklas Hansen, Xiaolong Wang
11/26/2020
cs.LG

Official code: nicklashansen/dmcontrol-generalization-benchmark (189 stars, MIT, last commit 2024-01-03).

Abstract

Extensive efforts have been made to improve the generalization ability of Reinforcement Learning (RL) methods via domain randomization and data augmentation. However, as more factors of variation are introduced during training, optimization becomes increasingly challenging, and empirically may result in lower sample efficiency and unstable training. Instead of learning policies directly from augmented data, we propose SOft Data Augmentation (SODA), a method that decouples augmentation from policy learning. Specifically, SODA imposes a soft constraint on the encoder that aims to maximize the mutual information between latent representations of augmented and non-augmented data, while the RL optimization process uses strictly non-augmented data. Empirical evaluations are performed on diverse tasks from DeepMind Control suite as well as a robotic manipulation task, and we find SODA to significantly advance sample efficiency, generalization, and stability in training over state-of-the-art vision-based RL methods.

View on arXivView PDF

Code Implementations(1)

MIT

DMControl Generalization Benchmark

18943Shell, PythonNov 17, 20202 years agoMIT

Similar Papers

Cite this paper

@article{hansen2020generalization,
  title  = {Generalization in Reinforcement Learning by Soft Data Augmentation},
  author = {Nicklas Hansen and Xiaolong Wang},
  year   = {2020},
  eprint = {2011.13389},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.13389}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.13389.svg)](https://codeofpaper.com/paper/2011.13389)

Discussion