Emergent Real-World Robotic Skills via Unsupervised Off-Policy Reinforcement Learning

Archit Sharma, Michael Ahn, Sergey Levine, Vikash Kumar, Karol Hausman, Shixiang Gu

Introduction: The Challenge of Reward Engineering

Reinforcement Learning (RL) has demonstrated remarkable success in controlled environments, yet its application to real-world robotics remains constrained by the "reward problem." Traditional RL requires meticulously hand-crafted reward functions to guide a robot toward a specific behavior, such as forward locomotion. Designing these functions is not only labor-intensive but often requires expensive instrumentation to measure precise velocities or orientations in the physical world.

Unsupervised RL offers a promising alternative by allowing agents to discover skills autonomously through intrinsic motivation. However, most existing methods, such as Dynamics-Aware Discovery of Skills (DADS), are typically on-policy, requiring millions of interaction steps. While feasible in simulation, such data requirements are prohibitive for real-world hardware due to mechanical wear, battery constraints, and the need for manual resets. Researchers from Google Research have addressed this by developing a more efficient approach.

Methodology: From DADS to Off-DADS

The paper introduces off-DADS, an asynchronous, off-policy framework for unsupervised skill discovery. The core objective is the maximization of Mutual Information between a latent skill code ($z$) and the resulting state transition ($s \to s'$). This objective incentivizes the robot to learn a repertoire of behaviors that are both predictable (the model can accurately forecast the next state given a skill) and diverse (different skills lead to distinct regions of the state space).

The transition to an off-policy architecture provides several critical advantages:

  1. Sample Efficiency: By utilizing a replay buffer, the algorithm can learn from historical data collected by previous policy versions, drastically reducing the need for new environment interactions.
  2. Handling Non-Stationarity: In unsupervised settings, the intrinsic reward is non-stationary because it depends on a model that is constantly being updated. Off-DADS addresses this by re-calculating rewards for data batches during each training update.
  3. Importance Sampling: Clipped importance sampling weights are employed to correct for the distribution shift between the data-collecting policy and the current target policy.

Experimental Results and Emergent Behaviors

The effectiveness of off-DADS was evaluated across standard simulation benchmarks (HalfCheetah, Ant, Humanoid) and real-world hardware using the ROBEL D’Kitty, a 12-degree-of-freedom quadruped.

The D'Kitty robot discovers diverse locomotion trajectories, including straight-line walking and turning, through unsupervised exploration.

The Efficiency Leap

The move to off-policy learning resulted in a 4x increase in sample efficiency compared to on-policy baselines. This efficiency is the difference between a robot needing a week of constant motion to learn a skill versus finishing in a single afternoon. In complex environments like Humanoid, off-DADS variants significantly outperformed the original DADS, reaching higher intrinsic reward levels in fewer steps.

Comparison of intrinsic reward curves for the Humanoid environment, demonstrating the superior sample efficiency of off-DADS variants over the on-policy DADS baseline.

Real-World Deployment

On the physical D’Kitty hardware, the algorithm successfully discovered a diverse set of locomotion gaits and orientations in under 20 hours of interaction time. By optimizing for predictability in the $x,y$ coordinate space, the robot naturally converged on walking and turning as the most stable and predictable ways to move.

Remarkably, these learned skills exhibited high stability; the robot fell in only 5% of trials during testing, despite never receiving an explicit "do not fall" signal. Furthermore, these skills could be composed "zero-shot" using a Model Predictive Control (MPC) planner, allowing the robot to navigate to specific goal points immediately after the unsupervised phase without further training.

Discussion and Future Directions

While off-DADS represents a significant step toward autonomous robotic learning, several challenges remain. The "reset problem"—the need for a human or script to return the robot to a starting position after a failure—remains a bottleneck for truly unsupervised operation. Additionally, the physical constraints of the testing environment and hardware fatigue necessitated safety measures, such as limiting motor power during early learning phases.

Future research will focus on achieving "fully autonomous" learning, where robots can manage their own resets and hardware constraints, moving closer to machines that can learn and adapt in the wild without human intervention.

Summary updated

BibTeX
@inproceedings{sharma2020emergent,
  author = {Archit Sharma and Michael Ahn and Sergey Levine and Vikash Kumar and Karol Hausman and Shixiang Gu},
  title = {{Emergent Real-World Robotic Skills via Unsupervised Off-Policy Reinforcement Learning}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=2RaJD2lUej},
}
Figure