Learning Reusable Manipulation Strategies

Jiayuan Mao, Tomás Lozano-Pérez, Joshua B. Tenenbaum, Leslie Pack Kaelbling

Abstract

Humans demonstrate an impressive ability to acquire and generalize manipulation "tricks." Even from a single demonstration, such as using soup ladles to reach for distant objects, we can apply this skill to new scenarios involving different object positions, sizes, and categories (e.g., forks and hammers). Additionally, we can flexibly combine various skills to devise long-term plans. In this paper, we present a framework that enables machines to acquire such manipulation skills, referred to as "mechanisms," through a single demonstration and self-play. Our key insight lies in interpreting each demonstration as a sequence of changes in robot-object and object-object contact modes, which provides a scaffold for learning detailed samplers for continuous parameters. These learned mechanisms and samplers can be seamlessly integrated into standard task and motion planners, enabling their compositional use.

Introduction

In robotics, achieving both generality and efficiency remains a significant challenge. Task and Motion Planning (TAMP) systems offer generality but often suffer from computational intractability when searching through vast spaces of discrete actions and continuous parameters. Conversely, imitation learning provides efficiency for specific tasks but lacks the ability to generalize to novel geometries or environments.

This work bridges this gap by enabling robots to learn "mechanisms"—abstracted manipulation strategies—from a single human demonstration. By focusing on the logic of contact state changes rather than specific joint trajectories, robots can extract reusable "tricks" that generalize across object categories and can be composed to solve complex, multi-step problems.

Methodology

The proposed framework follows a three-stage pipeline to transform a single demonstration into a robust planning primitive.

1. Extraction of Contact Modes

The system segments a demonstration based on changes in contact states between the robot, tools, and target objects. This results in a "contact mode graph" that captures the essential physical interactions (e.g., Robot grasps Tool; Tool contacts Target). This specific instance is then "lifted" into an abstract mechanism where concrete objects are replaced by variables.

A single demonstration of using a ladle to reach a spoon is abstracted into a sequence of contact mode changes.

2. Self-Play and Sampler Learning

The abstract mechanism is then refined through simulated self-play in PyBullet. The robot attempts to execute the sequence on various objects through trial-and-error. Successful trials are used to train specialized neural network samplers. These samplers predict high-probability continuous parameters—such as grasp points and contact locations—tailored to the specific mechanism.

3. Compositional Planning

The learned mechanisms and their associated samplers are integrated into a standard TAMP solver. By treating these mechanisms as high-level macro-actions, the planner can bypass the exhaustive search of basis operations, drastically reducing the search horizon.

The learned mechanism guides the search in the hybrid space, significantly reducing the search horizon by focusing only on relevant continuous parameters.

Evaluation and Results

The framework was evaluated across six core mechanisms (e.g., Hook-using, Edge-pushing, Lever-flipping) in simulation and validated on a Franka Emika Panda robot.

  • Efficiency: In a "Hook" task, traditional planners often timed out after 600 seconds. The mechanism-guided planner solved the same task in an average of 3.84 seconds.
  • Generalization: Strategies learned from a soup ladle were successfully applied to tools with different geometries, such as hammers and hairbrushes.
  • Compositionality: The system achieved a 100% success rate in complex tasks requiring the combination of multiple strategies (e.g., pushing a tool to an edge to pick it up, then using it as a hook), where traditional planners failed entirely.

Discussion

While the framework demonstrates significant progress in learning reusable strategies, perception remains a bottleneck. Extracting precise contact information from raw video is challenging, and the sim-to-real gap regarding friction and dynamics persists. Future work will focus on fine-tuning samplers with real-world experience and extending the framework to handle more complex, high-speed dynamic tasks.

Reference: Mao, J., Tenenbaum, J. B., Lozano-Pérez, T., & Kaelbling, L. P. (2023). Learning Reusable Manipulation Strategies. 7th Conference on Robot Learning (CoRL 2023).

Summary updated

BibTeX
@inproceedings{mao2023learning,
  author = {Jiayuan Mao and Tomás Lozano-Pérez and Joshua B. Tenenbaum and Leslie Pack Kaelbling},
  title = {{Learning Reusable Manipulation Strategies}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=ihqTtzS83VS},
}
Figure