Image Augmentation Is All You Need: Regularizing Deep Reinforcement Learning from Pixels

Ilya Kostrikov, Denis Yarats, Rob Fergus
4/28/2020
cs.LGcs.CVeess.IV

Official code: denisyarats/drq (421 stars, MIT, PyTorch, last commit 2023-01-13).

Abstract

We propose a simple data augmentation technique that can be applied to standard model-free reinforcement learning algorithms, enabling robust learning directly from pixels without the need for auxiliary losses or pre-training. The approach leverages input perturbations commonly used in computer vision tasks to regularize the value function. Existing model-free approaches, such as Soft Actor-Critic (SAC), are not able to train deep networks effectively from image pixels. However, the addition of our augmentation method dramatically improves SAC's performance, enabling it to reach state-of-the-art performance on the DeepMind control suite, surpassing model-based (Dreamer, PlaNet, and SLAC) methods and recently proposed contrastive learning (CURL). Our approach can be combined with any model-free reinforcement learning algorithm, requiring only minor modifications. An implementation can be found at https://sites.google.com/view/data-regularized-q.

View on arXivView PDF

Code Implementations(1)

denisyarats/drqOfficial100%
PyTorchMIT

DrQ: Data regularized Q

42154Python, Jupyter NotebookApr 29, 20203 years agoMIT
actor-criticcontroldata-augmentationdeep-learningdeep-reinforcement-learning+13 more

Cite this paper

@article{kostrikov2020image,
  title  = {Image Augmentation Is All You Need: Regularizing Deep Reinforcement Learning from Pixels},
  author = {Ilya Kostrikov and Denis Yarats and Rob Fergus},
  year   = {2020},
  eprint = {2004.13649},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.13649}
}

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

Discussion