Learning Latent Plans from Play

Corey Lynch, Mohi Khansari, Ted Xiao, Vikash Kumar, Jonathan Tompson, Sergey Levine, Pierre Sermanet

Abstract

Acquiring a diverse repertoire of general-purpose skills remains an open challenge for robotics. In this work, we propose self-supervising control on top of human teleoperated play data as a way to scale robot learning. By organizing unlabelled, unsegmented behaviors into a structured latent plan space, we develop a single model, Play-LMP, that outperforms multiple expert-trained specialists across various manipulation tasks while remaining significantly more robust to real-world perturbations.

Introduction

The goal of creating "generalist" robotic agents capable of a wide continuum of skills is often hindered by data bottlenecks. Traditional approaches like Learning from Demonstration (LfD) require thousands of manually labeled expert examples, while Reinforcement Learning (RL) depends on complex, engineered reward functions. Both methods typically produce "specialists" that lack robustness to task variations.

We propose using play data: unlabelled logs of human teleoperation driven by curiosity. Play is inexpensive to collect and naturally covers a broader range of interactions than narrow task demonstrations. Unlike expert demonstrations, play data does not require resetting the environment or segmenting tasks, making it highly scalable.

Methodology: Play-LMP

The core of our approach is Play-LMP (Latent Motor Plans), a self-supervised architecture based on a Conditional Variational Autoencoder (CVAE). The model learns to organize "messy" play data into a structured latent space of functional behaviors.

The Play-LMP training architecture. A plan recognition network encodes sequences into a latent plan, while a proposal network predicts distributions from current and goal states.

The architecture consists of three primary components:

  1. Plan Recognition: Encodes an entire sequence of play into a latent "plan" $z$.
  2. Plan Proposal: Predicts a distribution of possible plans given the current state and the desired goal state.
  3. Action Decoder: A policy that generates robot actions based on the current state, goal, and a sampled latent plan.

By minimizing the KL divergence between the recognition and proposal networks, the model learns to map diverse behaviors to a functional latent space. At inference time, the model samples a plan from the proposal network and executes it in a closed-loop fashion.

Experimental Setup

Experiments were conducted in a simulated "Playground" environment featuring an 8-DOF robot arm and various interactive elements (sliding door, drawer, blocks, buttons).

  • Play Data: ~7 hours of unlabelled human teleoperation.
  • Expert Data: 1800 task-specific demonstrations (~1.5 hours).
  • Evaluation: 18 visual manipulation tasks (e.g., "open drawer," "press green button").

Results and Discussion

Interaction Space Coverage

Play data is significantly more efficient at covering the interaction space than expert demonstrations. For the same collection time, play data covers approximately 4x more interaction space. This diversity allows the model to learn not just how to perform a task, but also how to recover from failures.

Comparison of interaction space coverage. Play data (LFP) covers a much larger region of the interaction space compared to expert demonstrations (LFD) or random exploration.

Performance and Robustness

A single Play-LMP model achieved an 85.5% success rate across 18 tasks, outperforming 18 individual expert-trained Behavioral Cloning (BC) models (70.3%). Furthermore, Play-LMP demonstrated superior data efficiency, with 30 minutes of play data outperforming 90 minutes of expert demonstrations.

The model also exhibited emergent robustness. Unlike specialists that fail under slight perturbations, Play-LMP models often show "retrying" behaviors—if they fail to grasp an object, they automatically try again because they have observed similar recovery behaviors during play.

Conclusion

Learning from play offers a scalable path toward general-purpose robotics. By leveraging unlabelled data and self-supervised latent plan learning, Play-LMP achieves high performance and robustness without the need for expensive task-specific labels. Future work will explore generalization to novel objects and real-world visual complexity.

Summary updated

BibTeX
@inproceedings{lynch2019learning,
  author = {Corey Lynch and Mohi Khansari and Ted Xiao and Vikash Kumar and Jonathan Tompson and Sergey Levine and Pierre Sermanet},
  title = {{Learning Latent Plans from Play}},
  booktitle = {Conference on Robot Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=fdkz2LQcR-4},
}
Figure