Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Data Augmentation in Deep Reinforcement Learning

Jianshu Hu, Yunpeng Jiang|arXiv (Cornell University)|Feb 19, 2024
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes a principled data augmentation framework for image-based deep reinforcement learning that integrates explicit regularization via KL divergence and tangent prop, along with implicit augmentation in Q-target computation. It demonstrates state-of-the-art performance with improved sample efficiency and generalization, especially in complex environments like DMControl, by theoretically analyzing variance in critic and actor losses and justifying component design through variance minimization.

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.

Motivation & Objective

  • To analyze and unify existing data augmentation methods in image-based deep reinforcement learning.
  • To identify the theoretical underpinnings of variance in Q-targets and actor/critic losses under data augmentation.
  • To propose a principled data augmentation method in DRL with novel integration of tangent prop and KL regularization.
  • To empirically validate the method's superiority in sample efficiency and generalization across complex environments.

Proposed method

  • Formulates a general actor-critic scheme integrating both explicit and implicit data augmentation.
  • Introduces explicit regularization via KL divergence between policies on augmented observations to enforce policy invariance.
  • Adapts tangent prop regularization to the critic network to reduce variance in Q-value estimation.
  • Uses data augmentation in Q-target computation with careful selection of transformations to avoid instability.
  • Analyzes variance contributions of Q-targets and loss functions to guide component design.
  • Employs a hybrid training scheme where augmented observations are used in both policy and value function updates.

Experimental results

Research questions

  • RQ1How do different data augmentation techniques in DRL relate to each other in terms of variance and regularization?
  • RQ2Why do certain image transformations destabilize Q-target estimation, and how can we identify suitable transformations for target computation?
  • RQ3What is the role of policy invariance and critic invariance in stabilizing DRL training under data augmentation?
  • RQ4How does the addition of tangent prop regularization improve training stability and performance in DRL?
  • RQ5Can a unified, principled data augmentation framework outperform existing state-of-the-art methods in sample efficiency and generalization?

Key findings

  • The proposed method achieves state-of-the-art performance on the DMControl Generalization Benchmark, outperforming SVEA and DrQv2 in most environments.
  • Generalization performance improves significantly in challenging environments such as 'ball_in_cup_catch', 'finger_spin', and 'walker_walk' with random overlay augmentation.
  • Variance in the critic loss and target Q-values is substantially reduced by incorporating KL regularization and tangent prop, leading to more stable training.
  • The KL regularization term quickly enforces policy invariance across augmented observations, as shown by early training statistics.
  • Tangent prop regularization effectively reduces variance in the critic's Q-estimation, particularly when combined with augmented Q-targets.
  • Empirical results confirm that using complex transformations in Q-targets increases variance and harms training stability, supporting the authors' theoretical analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.