NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Better with Less: Effective Augmentation for Sample-Efficient Visual Reinforcement Learning

Guozheng Ma, Linrui Zhang, Haoyu Wang, Lu Li, Zilin Wang, Zhen Wang, Li Shen, Xueqian Wang, Dacheng Tao

Abstract

Visual Reinforcement Learning (RL) allows agents to learn complex behaviors directly from raw pixel inputs. However, the sample inefficiency of these methods remains a significant barrier, as agents must simultaneously master visual representation and policy control. While Data Augmentation (DA) is a standard technique to improve efficiency, its application in RL has often been a direct carry-over from computer vision, ignoring the unique non-stationary nature of RL. This paper deconstructs DA into dimensions of "hardness" and "diversity," proposing two novel techniques: Random PadResize (Rand PR) and Cycling Augmentation (CycAug). Our approach achieves state-of-the-art results on the DeepMind Control Suite and the CARLA autonomous driving benchmark, providing a new blueprint for stable and efficient visual RL.

Introduction

In visual RL, an agent's data distribution changes as it learns, a phenomenon known as non-stationarity. Traditional data augmentations borrowed from computer vision (CV) often fail to account for this. If an augmentation is too "hard"—meaning it creates a significant distribution shift from the original pixels—it can destabilize the Q-function and derail the learning process. This paper addresses the fundamental question: what specific attributes of data augmentation make it effective for RL? By identifying the critical roles of spatial diversity and information preservation, we provide a framework for designing augmentations that enhance rather than hinder agent training.

The Hardness-Diversity Framework

The authors categorize data augmentations along two primary axes:

  1. Hardness: The degree of distribution shift between the clean and augmented data.
  2. Diversity: The degrees of freedom or randomness within the transformation.

Through systematic experimentation, the researchers discovered that RL is uniquely hardness-averse. Unlike supervised learning, where difficult examples can improve robustness, hard augmentations in RL often create a "moving target" for the Q-learning objective, leading to high variance and training instability. Consequently, the most effective augmentations are those that maximize diversity while maintaining low hardness.

Proposed Methods

1. Random PadResize (Rand PR)

Standard RL augmentations, such as "PadCrop," involve padding an image and taking a random crop. While this provides spatial diversity, it inevitably discards information at the edges of the frame. In many RL tasks, edge information is vital (e.g., a car approaching a lane boundary).

Rand PR improves upon this by padding the image and then resizing it back to the original dimensions. This process preserves every original pixel (minimizing hardness) while introducing significant spatial diversity through random scaling and shifting. This ensures the agent learns to recognize objects regardless of their position or scale without losing critical environmental context.

2. Cycling Augmentation (CycAug)

In CV, it is common to use "fusion" schemes like AugMix, which apply multiple augmentations simultaneously. In RL, this complexity often leads to instability. CycAug introduces "type diversity" by cycling through different augmentation types periodically (e.g., switching from Rand PR to color jitter every 100k steps). This approach provides the agent with a variety of data distributions over the long term while ensuring that the distribution remains consistent enough in the short term for the Q-function to converge.

Experimental Results

DeepMind Control (DMC) Suite

The methods were tested across 12 tasks in the DMC Suite, including high-difficulty environments like Cheetah Run and Walker Run. CycAug, utilizing Rand PR, consistently outperformed existing state-of-the-art algorithms such as DrQ-v2 and A-LIX, demonstrating superior sample efficiency across the board.

CARLA Autonomous Driving

In the high-fidelity CARLA simulator, the benefits of the proposed methods were even more pronounced. The researchers tested the agent across four distinct weather conditions to evaluate generalization.

  • Low-Data Regime: At 100k steps, CycAug outperformed the previous best algorithm by 43.7%.
  • Final Performance: At 200k steps, CycAug maintained a 23.8% lead over competitors.

Quantitative analysis confirmed that CycAug significantly reduced "Q-variance," proving that the cycling mechanism successfully stabilizes the learning process compared to traditional augmentation fusion.

Key Insights

  • Spatial Diversity is King: The most beneficial augmentations for RL are those that alter spatial positioning without destroying underlying pixel information.
  • Information Preservation: Keeping "edge information" is vital for tasks where the agent or goals move toward the boundaries of the visual field.
  • Stability-Diversity Trade-off: Naive multi-augmentation schemes fail in RL due to distribution shift; periodic cycling is a more effective way to introduce variety without sacrificing stability.

Conclusion

This research shifts the focus of RL data augmentation from simply "borrowing from CV" to designing for the specific needs of the RL objective. By prioritizing low hardness and high spatial diversity through Rand PR and CycAug, practitioners can achieve significantly higher sample efficiency and more stable training in complex visual environments. Future work will look toward automating the cycling frequency and exploring these principles in non-robotic visual tasks.

Summary updated

BibTeX
@inproceedings{ma2023learning,
  author = {Guozheng Ma and Linrui Zhang and Haoyu Wang and Lu Li and Zilin Wang and Zhen Wang and Li Shen and Xueqian Wang and Dacheng Tao},
  title = {{Learning Better with Less: Effective Augmentation for Sample-Efficient Visual Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=jRL6ErxMVB},
}
Figure