[Paper Review] Generalization in Reinforcement Learning by Soft Data Augmentation
This paper proposes SODA, a soft data augmentation method for vision-based reinforcement learning that decouples representation learning from policy optimization. By training a shared encoder to maximize mutual information between augmented and original observations while training policies on non-augmented data, SODA improves sample efficiency, generalization, and training stability—achieving state-of-the-art performance on 9/10 DMControl-GB tasks and all robotic manipulation test environments.
Extensive efforts have been made to improve the generalization ability of Reinforcement Learning (RL) methods via domain randomization and data augmentation. However, as more factors of variation are introduced during training, optimization becomes increasingly challenging, and empirically may result in lower sample efficiency and unstable training. Instead of learning policies directly from augmented data, we propose SOft Data Augmentation (SODA), a method that decouples augmentation from policy learning. Specifically, SODA imposes a soft constraint on the encoder that aims to maximize the mutual information between latent representations of augmented and non-augmented data, while the RL optimization process uses strictly non-augmented data. Empirical evaluations are performed on diverse tasks from DeepMind Control suite as well as a robotic manipulation task, and we find SODA to significantly advance sample efficiency, generalization, and stability in training over state-of-the-art vision-based RL methods.
Motivation & Objective
- To address the instability and reduced sample efficiency caused by direct policy training on augmented data in vision-based RL.
- To improve generalization to visually diverse, unseen environments without compromising training stability.
- To develop a method that leverages strong data augmentation for representation learning while minimizing interference with RL optimization.
- To establish a new benchmark for evaluating generalization in vision-based RL.
- To demonstrate that decoupling augmentation from policy learning leads to superior performance over state-of-the-art methods.
Proposed method
- SODA uses a shared encoder to map both augmented and non-augmented observations into a latent space.
- It imposes a soft constraint via mutual information maximization between latent representations of augmented and original observations.
- Policy learning is performed exclusively on non-augmented data, preserving optimization stability.
- The method employs a momentum-updated target network for non-augmented observations to stabilize representation learning.
- Data augmentation is applied only during the auxiliary representation learning task, not during policy training.
- The approach is self-supervised and does not require negative samples, differing from contrastive methods like CURL.
Experimental results
Research questions
- RQ1Can we improve generalization in vision-based RL without destabilizing policy training when using data augmentation?
- RQ2Does decoupling data augmentation from policy learning lead to better sample efficiency and stability?
- RQ3Can mutual information maximization between augmented and original observations enhance representation invariance?
- RQ4How does SODA perform on diverse, visually challenging test environments compared to state-of-the-art methods?
- RQ5Can SODA generalize effectively to real-world deployment conditions with randomized camera, lighting, and texture?
Key findings
- SODA outperforms state-of-the-art methods in 9 out of 10 environments on the DMControl Generalization Benchmark, with improvements up to 81% on ball_in_cup_catch under video background test conditions.
- On the robotic manipulation task, SODA achieves an average return of 21.3 on the training environment and 18.0 on the random color test environment, significantly outperforming baselines.
- SODA reduces training variance and improves sample efficiency, as shown by smoother training and generalization curves in both DMControl and robotic manipulation tasks.
- The method generalizes well to both random color and video background environments, even when augmentation types (e.g., overlay vs. convolution) differ from test-time distributions.
- SODA with overlay augmentation generalizes better than with random convolution, indicating that richer augmentation improves invariance learning.
- SODA achieves superior performance on all test distributions in robotic manipulation, including randomized camera, lighting, and texture, suggesting strong real-world deployment potential.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.