DROID: Minimizing the Reality Gap Using Single-Shot Human Demonstration

Ya-Yen Tsai, Hui Xu, Zihan Ding, Chong Zhang, Edward Johns, Bidan Huang

Abstract

Training robotic policies in simulation offers safety and speed but often fails during real-world deployment due to the "reality gap." This paper introduces DROID (Domain Randomization Optimization IDentification), a framework that utilizes a single human demonstration to calibrate simulation physics. By minimizing the discrepancy between real and simulated joint torques, DROID identifies accurate parameter distributions for domain randomization. Experimental results on a complex door-opening task demonstrate a 4x improvement in success rates compared to traditional domain randomization methods.

Introduction

The "reality gap" remains a significant hurdle in robotics, particularly for contact-rich manipulation tasks where subtle physical properties like friction, damping, and stiffness are paramount. Traditional approaches to bridging this gap include System Identification (SI), which is labor-intensive and often impractical for internal dynamics, and Domain Randomization (DR), which relies heavily on human intuition to define parameter ranges. DROID addresses these limitations by automating the selection of randomization ranges using minimal real-world data.

The DROID Framework

The DROID framework operates through an iterative process designed to align the simulator's dynamics with the physical world using proprioceptive feedback.

The DROID framework overview: from human demonstration to parameter optimization and policy learning.

The process consists of three main phases:

  1. Single-Shot Human Demonstration: A human provides a trajectory via kinesthetic guidance. The robot records the joint positions and the resulting real-world joint torques ($\tau_r$).
  2. Parameter Optimization: Using the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), the system tunes simulation parameters (e.g., mass, friction) by replaying the human trajectory in simulation and minimizing the error between simulated torques ($\tau_s$) and real torques ($\tau_r$).
  3. Policy Learning: A Reinforcement Learning agent (PPO) is trained in the optimized simulation environment, ensuring the learned policy is robust to the identified physical uncertainties.

Experimental Setup

The researchers evaluated DROID using a 7-DoF Franka Emika Panda robot arm tasked with opening a cabinet door. To test the framework's robustness, three door variants were used: a standard door, and doors modified with one or two springs to introduce varying resistance and damping.

Experimental setup showing (a) simulation environment, (b) real-world environment, (c) door variants, and (d) internal spring mechanisms.

Key Results

DROID significantly outperformed baseline methods in real-world testing:

  • Success Rates: DROID achieved an 80% to 86.7% success rate on the door-opening task, whereas standard DR with manually tuned ranges only achieved 20%.
  • Dynamic Identification: The framework accurately distinguished between door variants, identifying higher damping and friction coefficients for doors with springs.
  • Torque Alignment: Post-optimization, the simulated joint torques closely matched real-world signatures, confirming the reduction of the reality gap.

Conclusion and Future Work

DROID demonstrates that joint torque can serve as an effective "signature" for aligning simulation physics with reality. While highly efficient, the framework's performance depends on the quality of the human demonstration and the inherent limitations of the underlying physics engine. Future research will explore multi-stage tasks and environments with time-varying dynamics.

Summary updated

Abstract

Reinforcement learning (RL) has demonstrated great success in the past several years. However, most of the scenarios focus on simulated environments. One of the main challenges of transferring the policy learned in a simulated environment to real world, is the discrepancy between the dynamics of the two environments. In prior works, Domain Randomization (DR) has been used to address the reality gap for both robotic locomotion and manipulation tasks. In this letter, we propose Domain Randomization Optimization IDentification (DROID), a novel framework to exploit single-shot human demonstration for identifying the simulator's distribution of dynamics parameters, and apply it to training a policy on a door opening task. Our results show that the proposed framework can identify the difference in dynamics between the simulated and the real worlds, and thus improve policy transfer by optimizing the simulator's randomization ranges. We further illustrate that based on these same identified parameters, our method can generalize the learned policy to different but related tasks.
BibTeX
@article{tsai2021droid,
  author = {Ya-Yen Tsai and Hui Xu and Zihan Ding and Chong Zhang and Edward Johns and Bidan Huang},
  title = {{DROID: Minimizing the Reality Gap Using Single-Shot Human Demonstration}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2021},
  doi = {10.1109/lra.2021.3062311},
}
Figure