Adaptive Curriculum Generation from Demonstrations for Sim-to-Real Visuomotor Control

Lukás Hermann, Max Argus, Andreas Eitel, Artemij Amiranashvili, Wolfram Burgard, Thomas Brox

Introduction

Applying Reinforcement Learning (RL) to real-world robotics faces two primary challenges: the exploration problem in sparse-reward environments and the sim-to-real gap. In tasks like block stacking, a robot is unlikely to succeed through random exploration, and policies trained in idealized simulations often fail when confronted with real-world physics and visual noise. While reward shaping can mitigate these issues, it often requires extensive manual engineering and can lead to unintended behaviors.

This paper introduces Adaptive Curriculum Generation from Demonstrations (ACGD), a method that leverages a small number of human demonstrations to automatically scale task difficulty in simulation. By maintaining the robot within a "Goldilocks zone" of challenge—neither too easy nor too hard—ACGD enables the zero-shot transfer of complex visuomotor skills to physical robotic systems.

Methodology

ACGD avoids manual reward shaping by using 10 human demonstrations to guide the learning process through three integrated mechanisms:

  1. Reverse-Trajectory Sampling: Training begins near the goal state of a successful demonstration. As the robot masters these final steps, the starting point is progressively moved backward toward the initial state.
  2. Adaptive Difficulty & Domain Randomization: Environment parameters—such as object physics and visual noise—are treated as part of the curriculum. Rather than applying full randomization immediately, which can stall learning, the system gradually increases complexity.
  3. Success Rate Interval: The algorithm monitors performance, adjusting difficulty based on a success rate threshold. If the success rate exceeds 60%, randomization increases and the starting point moves further from the goal; if it falls below 40%, the task is simplified.

The policy is trained using Proximal Policy Optimization (PPO), processing RGB images from a wrist-mounted camera alongside internal joint states.

Experimental Setup

The method was evaluated on two manipulation tasks:

  • Pick-and-Stow: Retrieving a block and placing it in a container.
  • Block Stacking: Precisely stacking one block atop another.

The researchers utilized 10 manual demonstrations per task, recorded via a 3D mouse. ACGD was benchmarked against Behavior Cloning (BC) and standard RL with shaped rewards.

Results and Analysis

The results highlight a significant improvement in zero-shot transfer from simulation to a physical KUKA robot.

Comparison of task execution in simulation and the real world for Pick-and-Stow (top) and Block Stacking (bottom).
Task Sim Success Real-World Success
Pick-and-Stow 94% 85%
Block Stacking 91% 60%

Key findings include:

  • Curriculum-Based Randomization: Gradually introducing domain randomization allows the policy to become robust without making the initial learning task insurmountable.
  • Efficiency Gains: The RL agent often outperformed human experts. In the stacking task, the learned policy required an average of 73 steps, compared to 164 steps in human demonstrations.
  • Robustness: Unlike Behavior Cloning, which mimics human actions, ACGD uses demonstration states as anchors, allowing the robot to discover more optimal trajectories than the original demonstrations.

Conclusion

ACGD demonstrates that an adaptive curriculum can effectively bridge the sim-to-real gap for complex manipulation. However, the 60% success rate in real-world block stacking indicates that high-precision tasks remain challenging due to subtle discrepancies in depth perception and physics. Future research will explore automated anchor state generation and online adaptation to further refine performance in physical environments.

Summary updated

BibTeX
@inproceedings{hermann2019adaptive,
  author = {Lukás Hermann and Max Argus and Andreas Eitel and Artemij Amiranashvili and Wolfram Burgard and Thomas Brox},
  title = {{Adaptive Curriculum Generation from Demonstrations for Sim-to-Real Visuomotor Control}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra40945.2020.9197108},
}
Figure