PlayFusion: Skill Acquisition via Diffusion from Language-Annotated Play

Lili Chen, Shikhar Bahl, Deepak Pathak

Abstract

Learning from unstructured and uncurated data has become the dominant paradigm for generative approaches in language or vision. Such unstructured and unguided behavior data, commonly known as play, is also easier to collect in robotics but much more difficult to learn from due to its inherently multimodal, noisy, and suboptimal nature. In this paper, we study this problem of learning goal-directed skill policies from unstructured play data which is labeled with language in hindsight. Specifically, we leverage advances in diffusion models to learn a multi-task diffusion model to extract robotic skills from play data. Using a conditional denoising diffusion process in the space of states and actions, we can gracefully handle the complexity and multimodality of play data and generate diverse and interesting robot behaviors. To make diffusion models more useful for skill learning, we encourage robotic agents to acquire a vocabulary of skills by introducing discrete bottlenecks into the conditional behavior generation process. In our experiments, we demonstrate the effectiveness of our approach across a wide variety of environments in both simulation and the real world.

Introduction

A central goal in robotics is the development of general-purpose agents capable of a vast repertoire of tasks. Traditionally, training such agents has relied on Imitation Learning (IL), which requires expert demonstrations, or Reinforcement Learning (RL), which depends on complex reward engineering. Both methods are difficult to scale.

An alternative is Learning from Play (LfP). Play data consists of unguided human teleoperation where the operator explores the environment without specific goals. While easier to collect, play data is "multimodal" and noisy; for any given state, a human might perform many different actions, some irrelevant or suboptimal. Standard models often average these behaviors, leading to poor performance. PlayFusion addresses this by leveraging diffusion models and discrete bottlenecks to extract a structured vocabulary of skills from messy play data.

PlayFusion extracts a library of diverse skills from unstructured, language-annotated play data across multiple environments.

The PlayFusion Framework

PlayFusion manages the complexity of play data through two primary mechanisms: Diffusion Models and Discrete Bottlenecks.

Diffusion for Multimodal Control

Unlike standard regression models that predict a single "mean" action, PlayFusion uses a Denoising Diffusion Probabilistic Model (DDPM) to generate robot actions. By learning the entire distribution of possible actions, the model can represent multiple ways to achieve a goal (e.g., picking up an object from various angles) without the "blurring" effect seen in simpler models.

Discrete Bottlenecks (The "Fusion" Mechanism)

To organize the flexibility of diffusion into semantically meaningful skills, the authors introduce vector quantization (VQ) bottlenecks. These bottlenecks are applied to language embeddings and the internal representations of the Diffusion U-Net. By forcing the model to discretize its internal representations, PlayFusion creates a "codebook" of skills. This discretization acts as a regularizer, forcing similar behaviors (like "opening a drawer" vs. "opening a cupboard") to share discrete codes, thereby learning a reusable vocabulary.

The PlayFusion architecture uses a diffusion model with discrete codebook bottlenecks to extract skills from language-annotated play data.

Experimental Evaluation

The authors evaluated PlayFusion across several rigorous benchmarks, including simulated environments like CALVIN (long-horizon manipulation), Franka Kitchen, and Ravens. They also tested the system in real-world setups involving cooking, dining, and sink-based tasks.

Key Results

PlayFusion consistently outperformed state-of-the-art baselines like C-BeT and Play-LMP:

  • Simulation (CALVIN): PlayFusion achieved a 45.2% success rate, nearly doubling the 26.3% performance of C-BeT.
  • Long-Horizon Tasks: The model was significantly better at "stitching" consecutive skills together, maintaining higher success rates over sequences of five tasks.
  • Real World: In the "Dining Table" setup, PlayFusion achieved a 45% success rate, while the strongest baseline (C-BeT) managed only 20%.

Discussion and Future Work

A key insight from this work is that limiting a model's representational capacity via discrete bottlenecks can actually improve generalization. This structure allows for zero-shot composition, where the model can combine atomic skills in ways it never saw during training.

However, limitations remain. The current pipeline requires "hindsight" language annotations, which still involves human effort. Future iterations could leverage automated captioning models to fully automate the learning process. Additionally, while a 45% real-world success rate is a significant improvement, further work is needed to reach the robustness required for production-ready home robotics.

Summary updated

BibTeX
@inproceedings{chen2023playfusion,
  author = {Lili Chen and Shikhar Bahl and Deepak Pathak},
  title = {{PlayFusion: Skill Acquisition via Diffusion from Language-Annotated Play}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=afF8RGcBBP},
}
Figure