Improving Generalization in Reinforcement Learning with Mixture Regularization

Kaixin Wang, Bingyi Kang, Jie Shao, Jiashi Feng
10/21/2020
149 citations
cs.LGcs.AIstat.ML
rl

Official code: kaixin96/mixreg (34 stars, Shell, MIT, last commit 2020-10-22).

Abstract

Deep reinforcement learning (RL) agents trained in a limited set of environments tend to suffer overfitting and fail to generalize to unseen testing environments. To improve their generalizability, data augmentation approaches (e.g. cutout and random convolution) are previously explored to increase the data diversity.

Show full abstract

However, we find these approaches only locally perturb the observations regardless of the training environments, showing limited effectiveness on enhancing the data diversity and the generalization performance. In this work, we introduce a simple approach, named mixreg, which trains agents on a mixture of observations from different training environments and imposes linearity constraints on the observation interpolations and the supervision (e.g. associated reward) interpolations. Mixreg increases the data diversity more effectively and helps learn smoother policies. We verify its effectiveness on improving generalization by conducting extensive experiments on the large-scale Procgen benchmark. Results show mixreg outperforms the well-established baselines on unseen testing environments by a large margin. Mixreg is simple, effective and general. It can be applied to both policy-based and value-based RL algorithms. Code is available at https://github.com/kaixin96/mixreg .

View on arXivView PDF

Code Implementations(1)

kaixin96/mixregOfficial100%
MIT

Code for our NeurIPS 2020 paper Improving Generalization in Reinforcement Learning with Mixture Regularization

3410Shell, PythonJun 25, 20206 years agoMIT

Similar Papers

Cite this paper

@article{wang2020improving,
  title  = {Improving Generalization in Reinforcement Learning with Mixture Regularization},
  author = {Kaixin Wang and Bingyi Kang and Jie Shao and Jiashi Feng},
  year   = {2020},
  eprint = {2010.10814},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.10814}
}

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/2010.10814.svg)](https://codeofpaper.com/paper/2010.10814)

Discussion