Revisiting Data Augmentation in Deep Reinforcement Learning
Jianshu Hu, Yunpeng Jiang, Paul Weng
TL;DR
This work analyzes data augmentation for image-based DRL through a variance-centric lens on $Q$-targets and actor/critic losses, and unifies existing methods under a principled off-policy actor–critic framework. It develops a generic algorithm that combines multiple image transformations with explicit KL regularization and tangent-prop to promote invariance, while carefully considering when to apply transforms in target calculations. The authors provide theoretical connections between explicit and implicit regularization, justify architectural choices, and demonstrate that the proposed approach achieves state-of-the-art sample efficiency and improved generalization in DeepMind Control tasks. The study emphasizes the importance of learning critic invariance and controlling variance through augmentation strategies, offering practical guidance for principled data augmentation in DRL and highlighting the trade-offs between target bias and variance. Overall, the paper advances data augmentation in DRL by tying theoretical insights to a robust, scalable algorithm with strong empirical results.
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.
