Skip to main content
QUICK REVIEW

[Paper Review] MoDem: Accelerating Visual Model-Based Reinforcement Learning with Demonstrations

Nicklas Hansen, Yixin Lin|arXiv (Cornell University)|Dec 12, 2022
Reinforcement Learning in RoboticsComputer Science8 citations
TL;DR

MoDem proposes a three-phase framework that accelerates visual model-based reinforcement learning by leveraging just five expert demonstrations. By pretraining the policy on demonstrations, seeding the world model with expert-prioritized rollouts, and aggressively oversampling demonstration data during model training, MoDem achieves 160%-250% higher success rates than prior methods in sparse-reward visual control tasks with only 100K environment interactions.

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

Motivation & Objective

  • To address the poor sample efficiency of visual model-based reinforcement learning (MBRL) in real-world visuo-motor control tasks.
  • To investigate how a small number of expert demonstrations can accelerate MBRL when standard replay buffer integration fails.
  • To develop a structured, three-phase framework that effectively leverages demonstrations to improve world model quality and policy learning.
  • To demonstrate that aggressive data oversampling and policy pretraining with demonstrations significantly outperform naive demonstration integration in MBRL.

Proposed method

  • Phase 1: Pretrain the visual representation and policy using behavior cloning (BC) on a small set of expert demonstrations.
  • Phase 2: Use the pretrained policy with exploration to generate a targeted, high-quality dataset for pretraining the world model and critic.
  • Phase 3: Finetune the policy and world model jointly using synthetic rollouts and data from all three phases, with aggressive oversampling of demonstration transitions.
  • Apply data augmentation and weight sharing across phases to regularize the model and improve generalization.
  • Use a stop-gradient operator to decouple policy and world model training during joint optimization.
  • Integrate demonstrations not just as rollouts, but as a core component of world model supervision through targeted data sampling.

Experimental results

Research questions

  • RQ1Can a small number of expert demonstrations significantly improve the sample efficiency of visual model-based RL?
  • RQ2Why does naively appending demonstrations to the replay buffer fail to accelerate MBRL?
  • RQ3What architectural and training components are necessary to effectively leverage demonstrations in MBRL?
  • RQ4How does policy pretraining and targeted data collection from a pretrained policy improve world model and critic learning?
  • RQ5To what extent can data augmentation and oversampling of demonstrations enhance visual MBRL performance?

Key findings

  • MoDem achieves 160%–250% higher success rates than prior state-of-the-art methods in 21 challenging visuo-motor control tasks with only 100K environment interactions and 5 demonstrations.
  • Simply appending demonstrations to the replay buffer leads to poor performance, as the agent fails to leverage the behavioral priors effectively.
  • The three-phase framework—policy pretraining, seeding with expert-prioritized rollouts, and interactive finetuning—enables stable and monotonic learning.
  • Aggressive oversampling of demonstration data during world model training significantly improves model accuracy and downstream policy success.
  • Data augmentation and pretrained visual representations reduce training cost and improve robustness in low-data regimes.
  • The method outperforms model-free baselines by a wide margin, demonstrating that MBRL with demonstrations is more sample-efficient than model-free alternatives in sparse-reward settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.