An Open-Source Multi-goal Reinforcement Learning Environment for Robotic Manipulation with Pybullet

Xintong Yang, Ze Ji, Jing Wu, Yu-Kun Lai

Introduction

In the field of Deep Reinforcement Learning (DRL), physics engines serve as the essential "playgrounds" where agents develop and refine their policies. Historically, the OpenAI Gym multi-goal suite, powered by the MuJoCo engine, has been the industry standard. However, the high cost of MuJoCo licenses has traditionally created a significant barrier to entry for smaller research teams and individual developers.

This paper introduces PMG (PyBullet-based, Multi-goal, Gym-style), an open-source alternative that utilizes the PyBullet engine. PMG is not merely a port of existing benchmarks; it introduces a new suite of challenging, long-horizon tasks designed to push the boundaries of current state-of-the-art reinforcement learning algorithms.

The PMG Environment

The authors re-implemented the four core OpenAI Gym robotic tasks—Reach, Push, Pick-and-Place, and Slide—using the open-source PyBullet engine. To validate the fidelity of the simulation, they benchmarked a standard agent using Deep Deterministic Policy Gradient (DDPG) combined with Hindsight Experience Replay (HER). The results demonstrated nearly identical performance between the MuJoCo and PyBullet versions, proving that PyBullet is a viable, free alternative for multi-goal RL research.

The Kuka IIWA 14 LBR arm performing a standard manipulation task in the PMG environment.

Key Technical Enhancements

Beyond the engine swap, PMG introduces several technical improvements over the original suite:

  • Robot Hardware: The original Fetch robot is replaced with a Kuka IIWA 14 LBR arm.
  • Control Modalities: While the original suite focused on Cartesian (x, y, z) control, PMG supports direct 7- or 8-degree-of-freedom joint space control. The authors noted that joint control is significantly more difficult due to higher dimensionality and the lack of implicit constraints.
  • Vision and Observation: The environment includes built-in support for RGB-D image observations and customizable camera placements, including an "on-hand" camera for egocentric vision.
  • Curriculum Learning Support: The framework includes a human-prior-based curriculum that allows researchers to gradually increase task difficulty.

Datasets & Benchmarks

PMG categorizes tasks into two main tiers: single-step and multi-step. While single-step tasks (Reach, Push, etc.) are solved relatively easily by modern algorithms, the multi-step tasks represent a new frontier for sparse-reward environments.

Overview of the multi-step task suite, including block rearrangement, chest interaction, and block stacking.

New Multi-step Tasks include: * BlockRearrange: Pushing multiple blocks to specific, randomized target positions. * Chest Tasks: Requiring the agent to open a sliding door on a chest before pushing or dropping blocks inside. * BlockStack: Stacking blocks into a tower in a specific, randomized order.

Key Insights and Results

The experimental results highlight a massive gap in current RL capabilities. While DDPG+HER reached near 100% success rates on single-step tasks, the agent initially learned nothing (0% success) on the new multi-step tasks without a curriculum. Even with a curriculum, agents could only master the first step (e.g., opening the chest) but failed to learn the dependencies required for the full sequence.

These findings suggest that the "sparse reward" problem in 3D space is far more complex than in 2D environments. The authors argue that the primary bottleneck is exploration; current algorithms struggle when success is only achieved at the end of a long, dependent sequence of actions.

Conclusion and Future Work

PMG provides the research community with a high-fidelity, open-source platform for exploring long-horizon robotic manipulation. The failure of current SOTA algorithms on these tasks underscores the need for new approaches in task decomposition, hierarchical reinforcement learning, and improved representation learning. Future work will focus on developing agents that can automatically break complex tasks into manageable sub-goals and better understand 3D scenes from visual data.

Summary updated

BibTeX
@inproceedings{yang2021open,
  author = {Xintong Yang and Ze Ji and Jing Wu and Yu-Kun Lai},
  title = {{An Open-Source Multi-goal Reinforcement Learning Environment for Robotic Manipulation with Pybullet}},
  booktitle = {TAROS},
  year = {2021},
  url = {https://openreview.net/forum?id=NLCz2qk9nJ},
}
Figure