Solving the Real Robot Challenge Using Deep Reinforcement Learning

Robert McCarthy, Francsico Roldan Sanchez, Qiang Wang, David Cordova Bulens, Kevin McGuinness, Noel E. O'Connor, Stephen J. Redmond

Abstract

This paper presents the winning approach to Phase 1 of the 2021 Real Robot Challenge (RRC). While traditional robotic manipulation often relies on hand-engineered primitives, we demonstrate that a "pure" reinforcement learning (RL) approach, trained in simulation and transferred to reality, can outperform traditional control methods. By utilizing Deep Deterministic Policy Gradients (DDPG) with Hindsight Experience Replay (HER) and a novel hybrid reward system, our agent successfully learned to manipulate a cube along complex 3D trajectories using a three-fingered TriFinger robot.

Introduction

Dexterous manipulation remains a significant challenge in robotics due to the complexity of solving inverse kinematics and the difficulty of pre-defining motion primitives for unstructured environments. Reinforcement Learning offers a promising alternative by allowing robots to learn through interaction. However, RL faces hurdles such as high data requirements and the "sim-to-real gap," where policies learned in simulation fail on physical hardware.

The TriFinger robot environment in simulation, showing the task of moving a cube along a 3D trajectory.

In this work, we address these challenges by participating in the RRC, using a TriFinger robot to move a cube along specified 3D paths. Our goal was to minimize human-coded priors and evaluate the effectiveness of a general learning algorithm in a competitive setting.

Methods

Our approach centers on Deep Deterministic Policy Gradients (DDPG) combined with Hindsight Experience Replay (HER). To optimize performance, we introduced several key modifications:

  • Hybrid Reward System: We found that learning to lift a cube is difficult with purely sparse rewards. We implemented a sparse reward for horizontal ($x, y$) coordinates and a dense, distance-based reward for the vertical ($z$) coordinate.
  • Selective HER: Hindsight Experience Replay was applied only to the $x-y$ coordinates. This prevents the agent from incorrectly identifying failed lifting attempts as successful "hindsight goals."
  • Sim-to-Real Transfer: We utilized domain randomization, varying physics parameters like mass and friction in the PyBullet-based simulator, and added noise to observations and actions to bridge the gap to physical hardware.
  • Exploitation Mixing: To stabilize the final policy, 10% of the replay buffer was filled with "exploiting" rollouts (episodes without exploration noise), reducing jitter during the final stages of learning.

Results and Discussion

Our approach secured 1st place in Phase 1 of the 2021 Real Robot Challenge. In simulation, the agent achieved a success rate exceeding 90%. The hybrid reward system proved highly efficient, converging in approximately two-thirds of the time required by standard HER.

Emergent manipulation strategies: (a) Pushing, (b) Cradling, and (c) Pinching.

A key observation was the emergence of distinct manipulation strategies without explicit instruction. As shown in the figure above, the agent developed "Pushing," "Cradling" (using forearms), and "Pinching" (using fingertips) techniques. The "Pinching" policy proved most robust in real-world transfer, achieving a score of -11,489, significantly outperforming the baseline "Pushing" policy (-22,137).

Conclusion

We have demonstrated that a well-tuned, pure learning approach can outperform traditional control and hybrid methods in complex dexterous tasks. While the sim-to-real gap remains a challenge—evidenced by a performance drop from simulation to reality—our results highlight the potential of RL for robust robotic manipulation. Future work will focus on improving sample efficiency through model-based RL and further narrowing the domain gap using advanced adaptation techniques.

Summary updated

BibTeX
@inproceedings{mccarthy2021solving,
  author = {Robert McCarthy and Francsico Roldan Sanchez and Qiang Wang and David Cordova Bulens and Kevin McGuinness and Noel E. O'Connor and Stephen J. Redmond},
  title = {{Solving the Real Robot Challenge Using Deep Reinforcement Learning}},
  booktitle = {AICS},
  year = {2021},
  url = {https://openreview.net/forum?id=bGFZdnPMAm3},
}
Figure