Continual Domain Randomization
Josip Josifovski, Sayantan Auddy, Mohammadhossein Malmir, Justus Piater, Alois Knoll, Nicolás Navarro-Guerrero
TL;DR
The paper tackles the reality gap in sim2real robotic RL by addressing the drawbacks of training with a fixed set of randomized parameters. It introduces Continual Domain Randomization (CDR), which sequentially trains a single policy on progressively more complex simulator randomizations while using continual learning (PPO with Elastic Weight Consolidation or online-EWC) to prevent forgetting. Empirical results on reacher and grasper tasks show that CDR matches or outperforms baselines that randomize all parameters or use sequential finetuning, with improved stability and robustness to the order of randomizations. This approach offers a flexible, zero-shot transfer framework that reduces memory and complexity compared with alternative continual-sim2real methods and can be extended with automated domain or active DR to tune parameter ranges.
Abstract
Domain Randomization (DR) is commonly used for sim2real transfer of reinforcement learning (RL) policies in robotics. Most DR approaches require a simulator with a fixed set of tunable parameters from the start of the training, from which the parameters are randomized simultaneously to train a robust model for use in the real world. However, the combined randomization of many parameters increases the task difficulty and might result in sub-optimal policies. To address this problem and to provide a more flexible training process, we propose Continual Domain Randomization (CDR) for RL that combines domain randomization with continual learning to enable sequential training in simulation on a subset of randomization parameters at a time. Starting from a model trained in a non-randomized simulation where the task is easier to solve, the model is trained on a sequence of randomizations, and continual learning is employed to remember the effects of previous randomizations. Our robotic reaching and grasping tasks experiments show that the model trained in this fashion learns effectively in simulation and performs robustly on the real robot while matching or outperforming baselines that employ combined randomization or sequential randomization without continual learning. Our code and videos are available at https://continual-dr.github.io/.
