Unsupervised Skill Discovery for Robotic Manipulation through Automatic Task Generation

Paul Jansonnie, Bingbing Wu, Julien Perez, Jan Peters

Abstract

This paper presents a novel framework for robots to autonomously discover complex manipulation skills without human supervision. By integrating Asymmetric Self-Play (ASP) for automatic task generation with Multiplicative Compositional Policies (MCP), the system learns a repertoire of interactive primitives (e.g., grasping, lifting). These primitives serve as reusable building blocks that can be recombined via hierarchical reinforcement learning to solve unseen tasks in both simulation and the real world. Experimental results demonstrate that this approach significantly outperforms standard skill discovery baselines in task coverage, success rates, and sample efficiency.

Introduction

Reinforcement Learning (RL) for robotic manipulation often suffers from the "sparse reward" problem. In many environments, a robot may spend millions of iterations performing random movements without ever successfully interacting with an object to receive a reward signal. While existing unsupervised skill discovery methods attempt to address this by maximizing mutual information, they frequently result in diverse arm movements that fail to engage with objects. This research introduces a method to discover interactive and composable skills that are inherently grounded in object manipulation.

Methodology

The proposed pipeline consists of three distinct phases designed to move from raw interaction to complex task execution.

Figure 1: Overview of the three-step pipeline: (1) Pre-training via Asymmetric Self-Play, (2) Downstream training of an orchestrator, and (3) Zero-shot or few-shot transfer to the real world.

1. Pre-training via Asymmetric Self-Play (ASP)

The system utilizes a two-agent game involving Alice (the generator) and Bob (the solver). Alice moves an object to a target configuration and challenges Bob to replicate the state. This creates an automated curriculum where Alice learns to propose increasingly difficult yet achievable tasks, forcing Bob to develop fundamental interaction skills.

2. Multiplicative Compositional Policies (MCP)

To ensure skills are reusable, Bob’s policy is structured as a set of primitives and an orchestrator. During pre-training, the primitives learn the motor control required for interaction, while the orchestrator learns to combine these primitives to satisfy Alice’s challenges.

3. Downstream Hierarchical RL

For new, unseen tasks, the pre-trained primitives are frozen. A new orchestrator is trained to trigger these existing skills. This hierarchical structure prevents "catastrophic forgetting" and allows the robot to learn high-level strategies much faster than training from scratch.

Experimental Setup

Figure 2: The simulation environment based on panda-gym, featuring a Franka Emika Panda robot arm and a target object.

The research was conducted using a customized panda-gym simulation environment. The robot was initially trained to interact with a 5cm cube. To test generalization, the authors introduced six downstream benchmarks, including tasks with larger workspaces, mid-air targets, obstacles (Wall/Box), and different object geometries (Sphere). Finally, the system was validated on a physical Franka Emika Panda robot using motion capture for object tracking.

Key Results

  • Superior Task Coverage: Trajectory maps show that the proposed method covers the entire reachable workspace with object movements, whereas baselines like LSD often failed to interact with objects or threw them out of reach.
  • High Success Rates: The method achieved a 100% success rate on challenging downstream tasks like "In Air" and "Sphere," significantly outperforming standard baselines which typically remained below 20%.
  • Sample Efficiency: By leveraging pre-trained primitives, the orchestrator learned new tasks significantly faster than "from scratch" RL agents, even those utilizing Hindsight Experience Replay (HER).
  • Real-World Transfer: Primitives trained exclusively in simulation successfully transferred to a real-world robot, enabling it to solve "Wall" and "Large Area" tasks without additional real-world training.

Discussion and Limitations

While the framework demonstrates robust skill discovery, it currently relies on object-centric state observations (exact coordinates). Transitioning to visual inputs (pixels) is identified as a critical next step for broader applicability. Additionally, while the discovered skills are composable, future work will focus on applying these primitives to longer-horizon, multi-stage tasks to further test the limits of the hierarchical architecture.

Summary updated

BibTeX
@inproceedings{jansonnie2024unsupervised,
  author = {Paul Jansonnie and Bingbing Wu and Julien Perez and Jan Peters},
  title = {{Unsupervised Skill Discovery for Robotic Manipulation through Automatic Task Generation}},
  booktitle = {Humanoids},
  year = {2024},
  doi = {10.1109/humanoids58906.2024.10769879},
}
Figure