TL;DR
Data augmentation isn't just for computer vision; it’s a powerful tool for making Continual Reinforcement Learning (CRL) more efficient and robust. This paper benchmarks eight augmentation techniques and introduces Adv-GEM, a novel adversarial method that uses gradients from past tasks to prevent forgetting while boosting an agent's ability to generalize to new robotic control challenges.
What Problem Does This Paper Address?
Reinforcement Learning (RL) agents are notoriously data-hungry and often struggle to generalize. These issues are magnified in Continual RL, where an agent must learn a sequence of different tasks. Two major hurdles exist: catastrophic forgetting (losing the ability to perform old tasks after learning new ones) and a lack of forward transfer (failing to use prior knowledge to speed up new learning).
While data augmentation (like flipping images or adding noise) has revolutionized standard RL, its efficacy in the non-stationary world of CRL remained largely unexplored. The authors aim to bridge this gap by providing a systematic benchmark and a specialized augmentation strategy for sequential task learning.
Methods
The researchers treat data augmentation as a "plug-and-play" module that can be added to existing CRL algorithms like EWC (regularization-based) or PackNet (modality-based) without changing their core logic. They evaluated eight methods, ranging from simple noise to complex interpolations like Mixup.
The paper’s standout contribution is Adversarial Augmentation with Gradient Episodic Memory (Adv-GEM). Standard adversarial augmentation creates "worst-case" samples to toughen up the agent. However, in a continual setting, these samples might inadvertently cause the agent to forget previous tasks.
Adv-GEM solves this by:
- Storing a small batch of samples from past tasks in an Episodic Memory.
- Generating adversarial examples for the current task.
- Using a projection technique to ensure the gradients of these adversarial examples don't conflict with the gradients needed for past tasks. If the "attack" direction would hurt performance on old tasks, it is projected to a neutral direction.
Datasets
The methods were tested on two challenging robotic manipulation benchmarks from the Meta-World and Continual World ecosystems:
- MW4: A sequence of four tasks: hammer, push wall, faucet close, and push back.
- CW10: A longer, more complex sequence of ten tasks including stick pull, handle press, and peg unplug.
These tasks use 12-dimensional state vectors (representing object and robot positions) rather than raw pixels, making this a study of state-based augmentation.
Key Insights and Ideas
- Not all noise is good: Surprisingly, simple Uniform and Gaussian noise often hurt performance. They can create "out-of-distribution" states that confuse the agent rather than helping it generalize.
- The Power of Scaling: Random Amplitude Scaling (RAS)—which scales state values while keeping their signs—emerged as a simple but highly effective baseline for robotic tasks.
- Stability-Plasticity Balance: Adv-GEM acts as a bridge between learning new things (plasticity) and keeping old ones (stability). By aligning adversarial samples with past gradients, it implicitly regularizes the learning process.
- Plug-and-Play Versatility: Because these are implemented as modules, they can be easily integrated into almost any off-policy RL algorithm (the authors used Soft Actor-Critic as their backbone).
Key Results
The experiments showed that advanced augmentations significantly outperform baseline CRL methods across the board:
- Higher Success Rates: On the MW4 benchmark, combining PackNet with Adv-GEM reached an average success rate of 0.88, compared to 0.73 for standard PackNet.
- Negative Forgetting: In some cases, Adv-GEM resulted in "negative forgetting" (a score of -0.10), meaning the agent actually got better at old tasks while learning new ones.
- Improved Forward Transfer: Augmentations helped the agent learn subsequent tasks faster by encouraging the discovery of more generalized, robust features.
Limitations and Future Work
The primary drawback of Adv-GEM is its computational overhead. Generating adversarial examples requires calculating gradients through the policy network multiple times. The authors note that Adv-GEM is roughly 3 to 4 times slower than the baseline methods.
Future work will likely focus on improving this efficiency and testing these strategies in even more diverse, real-world robotic environments where task boundaries might not be as clearly defined.
Summary updated