Revisiting Data Augmentation in Deep Reinforcement Learning

Jianshu Hu, Yunpeng Jiang, Paul Weng
2/19/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: Jianshu-Hu/revisiting-data-augmentation-in-DRL (6 stars, MIT, last commit 2024-02-17).

Abstract

Various data augmentation techniques have been recently proposed in image-based deep reinforcement learning (DRL). Although they empirically demonstrate the effectiveness of data augmentation for improving sample efficiency or generalization, which technique should be preferred is not always clear. To tackle this question, we analyze existing methods to better understand them and to uncover how they are connected. Notably, by expressing the variance of the Q-targets and that of the empirical actor/critic losses of these methods, we can analyze the effects of their different components and compare them. We furthermore formulate an explanation about how these methods may be affected by choosing different data augmentation transformations in calculating the target Q-values. This analysis suggests recommendations on how to exploit data augmentation in a more principled way. In addition, we include a regularization term called tangent prop, previously proposed in computer vision, but whose adaptation to DRL is novel to the best of our knowledge. We evaluate our proposition and validate our analysis in several domains. Compared to different relevant baselines, we demonstrate that it achieves state-of-the-art performance in most environments and shows higher sample efficiency and better generalization ability in some complex environments.

View on arXivView PDF

Code Implementations(1)

MIT

Benchmark fo DrQ-v2 with different data augmentations

60Shell, PythonSep 11, 20232 years agoMIT

Similar Papers

Cite this paper

@article{hu2024revisiting,
  title  = {Revisiting Data Augmentation in Deep Reinforcement Learning},
  author = {Jianshu Hu and Yunpeng Jiang and Paul Weng},
  year   = {2024},
  eprint = {2402.12181},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.12181v1},
  journal = {ICLR 2024 2024}
}

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

Discussion