The Ingredients of Real-World Robotic Reinforcement Learning

Henry Zhu, Justin Yu, Abhishek Gupta, Dhruv Shah, Kristian Hartikainen, Avi Singh, Vikash Kumar, Sergey LevinearXiv 2020

Abstract

The success of reinforcement learning for real-world robotics has been, in many cases, limited to instrumented laboratory scenarios, often requiring arduous human effort and oversight to enable continuous learning. In this work, we discuss the elements that are needed for a robotic learning system that can continually and autonomously improve with data collected in the real world. We propose a particular instantiation of such a system, using dexterous manipulation as our case study. Subsequently, we investigate a number of challenges that come up when learning without instrumentation. In such settings, learning must be feasible without manually designed resets, using only on-board perception, and without hand-engineered reward functions. We propose simple and scalable solutions to these challenges, and then demonstrate the efficacy of our proposed system on a set of dexterous robotic manipulation tasks, providing an in-depth analysis of the challenges associated with this learning paradigm. We demonstrate that our complete system can learn without any human intervention, acquiring a variety of vision-based skills with a real-world three-fingered hand.

Introduction

Reinforcement learning (RL) has shown incredible promise in simulation, but moving it to the real world usually requires significant "instrumentation." Most successful robotic RL experiments rely on external motion-capture systems for state estimation, hand-engineered reward functions, and human intervention to reset the environment after each attempt. To enable robots to learn continuously in unconstrained environments, we must lift these constraints. This paper identifies the essential "ingredients" for training robots autonomously in the real world without expensive lab equipment or human intervention.

Methodology: The R3L System

The authors propose a system called R3L, which integrates several key components to handle the complexities of real-world learning:

  1. Soft Actor-Critic (SAC): An off-policy RL algorithm used for its sample efficiency.
  2. Variational Inverse Control with Events (VICE): Instead of a manual reward function, the user provides a few "goal images." VICE trains a classifier to distinguish between these goal states and failures, providing a learned reward signal.
  3. Unsupervised Representation Learning (VAE): To handle high-dimensional camera images, the system uses a Variational Autoencoder to compress pixels into a manageable latent space.
  4. Randomized Perturbation Controller: This is the "secret sauce." In a reset-free environment, an agent might get stuck at the goal. R3L uses a perturbation controller trained with Random Network Distillation (RND) to "shake things up" by exploring under-visited states, creating a diverse set of initial positions for the main policy.
The D'Claw robotic platform performing a bead manipulation task.

Experimental Evaluation

The researchers evaluated R3L on three challenging dexterous manipulation tasks using the D’Claw, a three-fingered robotic hand:

  • Valve Rotation: Turning a valve to a specific angle.
  • Bead Manipulation: Moving beads on an abacus rod to specific positions.
  • Free Object Repositioning: Moving a free-floating object to a target pose (evaluated in simulation).

Key Results and Insights

The study revealed that simply removing resets makes learning significantly harder, especially with visual inputs. Without resets, the agent spends too much time at the goal and fails to learn how to recover from distant, novel states. Previous works attempted to learn "reset controllers" to return to a specific start point, but this paper argues that increasing the variance of starting states via a perturbation controller makes the resulting policy more robust.

Time-lapse of the D'Claw learning autonomously over several hours, as indicated by the clock.

Key performance metrics include:

  • Valve Rotation: Learned in just 5 hours of unattended training.
  • Bead Manipulation: Mastered in 17-20 hours with an 80% success rate. Standard baselines without the perturbation controller failed almost entirely.
  • Complexity: The combination of vision-based RL and a reset-free setting was found to be an order of magnitude more difficult than either challenge alone.

Conclusion

R3L demonstrates a viable path toward truly autonomous robotic learning. While the system removes the need for instrumentation, future work is needed to improve sample efficiency and address safety concerns during unattended exploration. Scaling these methods to more complex, open-world environments remains a key frontier for robotic RL.

Summary updated

BibTeX
@misc{zhu2020ingredients,
  author = {Henry Zhu and Justin Yu and Abhishek Gupta and Dhruv Shah and Kristian Hartikainen and Avi Singh and Vikash Kumar and Sergey Levine},
  title = {{The Ingredients of Real-World Robotic Reinforcement Learning}},
  year = {2020},
  eprint = {2004.12570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.12570},
}
Figure