MoDem: Accelerating Visual Model-Based Reinforcement Learning with Demonstrations
Nicklas Hansen, Yixin Lin, Hao Su, Xiaolong Wang, Vikash Kumar, Aravind Rajeswaran
TL;DR
MoDem tackles the sample-efficiency bottleneck in visual model-based RL by introducing a three-phase framework that leverages a small set of demonstrations. It combines policy pretraining, seeding with exploration, and aggressive demonstration oversampling (along with data augmentation) to stabilize and accelerate learning, using TD-MPC as the backbone. Across 21 challenging visuo-motor tasks with sparse rewards and a 100K-step budget, MoDem achieves substantial gains over strong baselines, highlighting the critical roles of each phase and the benefits of end-to-end representation learning. The approach offers practical impact for robotics and embodied AI by enabling effective, data-efficient learning from limited expert demonstrations.
Abstract
Poor sample efficiency continues to be the primary challenge for deployment of deep Reinforcement Learning (RL) algorithms for real-world applications, and in particular for visuo-motor control. Model-based RL has the potential to be highly sample efficient by concurrently learning a world model and using synthetic rollouts for planning and policy improvement. However, in practice, sample-efficient learning with model-based RL is bottlenecked by the exploration challenge. In this work, we find that leveraging just a handful of demonstrations can dramatically improve the sample-efficiency of model-based RL. Simply appending demonstrations to the interaction dataset, however, does not suffice. We identify key ingredients for leveraging demonstrations in model learning -- policy pretraining, targeted exploration, and oversampling of demonstration data -- which forms the three phases of our model-based RL framework. We empirically study three complex visuo-motor control domains and find that our method is 150%-250% more successful in completing sparse reward tasks compared to prior approaches in the low data regime (100K interaction steps, 5 demonstrations). Code and videos are available at: https://nicklashansen.github.io/modemrl
