You Only Demonstrate Once: Category-Level Manipulation from Single Visual Demonstration

Bowen Wen, Wenzhao Lian, Kostas E. Bekris, Stefan SchaalOpenReview 2022

TL;DR

This paper introduces a novel framework for teaching robots manipulation tasks with just a single video demonstration. It achieves this by learning a category-level object representation in simulation and then using it to adapt the demonstrated task to new, unseen objects in real-time, enabling complex, long-horizon manipulation without extensive manual programming or data collection.

What Problem Does This Paper Address?

Teaching robots to perform manipulation tasks that generalize across different instances of an object category (e.g., different types of batteries or gears) is a significant challenge. Existing methods often require large amounts of real-world data, manual annotation of specific keypoints for each object and task, or struggle with complex, multi-step actions. This makes it difficult and time-consuming to deploy robots for tasks beyond simple pick-and-place. The authors aim to overcome these limitations by enabling robots to learn complex manipulation skills from a single visual demonstration, making the process more efficient and accessible.

Methods

The core of the proposed framework lies in several key components:

  • Category-Level Representation (NUNOCS): The system learns a "Non-Uniform Normalized Object Coordinate Space" (NUNOCS) representation. This representation is trained solely in simulation using synthetic data generated from 3D CAD models. It captures the object's shape and pose in a way that is invariant to scale and can be generalized across different instances within a category. This avoids the need for real-world data collection for learning this core representation.
  • Demonstration Parsing and Trajectory Transfer: A single video demonstration of a task is used. A model-free 6 DoF object motion tracker extracts the object's trajectory from this video. This trajectory is then "reprojected" onto a novel object using the learned NUNOCS representation. This effectively translates the demonstrated actions into a target trajectory for the new object.
  • Dynamic Category-Level Frame Selection (Local Attention): To handle variations in object shape and task requirements, a local attention mechanism is employed. This mechanism dynamically selects an "anchor point" on the object that is most relevant for the current manipulation step. This anchor point defines the origin of the category-level coordinate system, allowing for more precise alignment and adaptation of the task.
  • Category-Level Behavior Cloning (CatBC) with Closed-Loop Control: For the crucial "last-inch" manipulation phase (the final, precise movements), the system uses Category-Level Behavior Cloning (CatBC). This method guides the robot to follow the transferred target trajectory. Crucially, it uses real-time visual feedback from the 6 DoF motion tracker to perform closed-loop control, allowing it to compensate for uncertainties and dynamics during execution.
  • Task Decomposition: The manipulation horizon is split into two phases: long-range, collision-free motion to bring the object to a key pose, and then the precise last-inch manipulation. This decomposition simplifies the problem and improves robustness.

Datasets

  • Synthetic Data: The NUNOCS representation is trained using a large dataset of synthetic 3D object models generated in Blender. This dataset includes randomized object poses, scales, and environmental parameters to bridge the sim-to-real gap.
  • Real-World Data: For evaluating the framework and comparing it to baselines, real-world experiments were conducted using objects from the "Gears" and "Batteries" categories.
  • Baseline Training Data: For comparison methods like KPAM and DON, real-world training data with manual keypoint annotations or correspondences was collected, as described in their respective papers.

Key Insights and Ideas

  • Simulation-to-Real for Core Representations: The success of learning the fundamental object representation (NUNOCS) purely in simulation is a significant enabler, drastically reducing the need for real-world data collection for this crucial step.
  • Single Demonstration Sufficiency: The framework demonstrates that a single, well-chosen visual demonstration can be sufficient to teach complex, multi-step manipulation tasks.
  • Dynamic Anchor Point Selection: The local attention mechanism for dynamically selecting an anchor point is a clever way to adapt to variations in object geometry and task requirements without explicit manual specification.
  • Closed-Loop Control for Robustness: The integration of real-time visual feedback for closed-loop control is essential for handling the inherent uncertainties in physical manipulation, especially in contact-rich tasks.
  • Task Decomposition for Simplicity and Safety: Separating long-range motion from last-inch manipulation simplifies planning and allows for collision avoidance in the initial phase.

Key Results

The paper reports significant success across several challenging manipulation tasks:

  • Battery Standing: Achieved 100% success rate across all tested battery instances, outperforming baselines significantly. Even without visual feedback ("Ours-no-tracking"), it achieved 80% success, highlighting the robustness of the learned representation.
  • Battery Assembly: Achieved an 82.22% success rate, again significantly outperforming baselines. The authors emphasize the importance of closed-loop control for this task, showing a large performance gap between "Ours" (100%) and "Ours-no-tracking" (37.78%).
  • Gear Insertion: Demonstrated high performance, reaching 100% success with a 0.5mm tolerance and 82.9% success with a 5mm tolerance. Even with a tight 0.1mm tolerance, the approach achieved a 28.6% success rate, showcasing its precision capabilities.
  • Generalization: The framework generalized well to novel object instances and even to different scene configurations and the presence of unseen obstacles.
  • Running Time: The last-inch manipulation phase was performed in real-time, with the 6 DoF motion tracker operating at 10 Hz.

Limitations and Future Work

  • Single Sensing Modality: The current framework relies solely on vision. The authors suggest that integrating additional sensors, such as force or tactile sensing, could further improve accuracy and robustness, especially for high-precision tasks.
  • Rigid Objects: The current approach is designed for rigid objects. Future work could extend the framework to handle articulated or deformable objects like cables.
  • Demonstration Format: While the framework is flexible regarding demonstration format (human, tele-operation), complex long-horizon tasks can still make tele-operation cumbersome.
  • In-hand Manipulation: In failure cases involving complex contact and rich dynamics (e.g., gear insertion with "anchor-and-pivot"), the system might require regrasping or in-hand manipulation with a more dexterous hand to recover.
  • Force Feedback: For tasks requiring extreme precision, incorporating force feedback into the control policy is suggested as a future improvement.

Summary updated

Abstract

Promising results have been achieved recently in category-level manipulation that generalizes across object instances. Nevertheless, it often requires expensive real-world data collection and manual specification of semantic keypoints for each object category and task. Additionally, coarse keypoint predictions and ignoring intermediate action sequences hinder adoption in complex manipulation tasks beyond pick-and-place. This work proposes a novel, category-level manipulation framework that leverages an object-centric, category-level representation and model-free 6 DoF motion tracking. The canonical object representation is learned solely in simulation and then used to parse a category-level, task trajectory from a single demonstration video. The demonstration is reprojected to a target trajectory tailored to a novel object via the canonical representation. During execution, the manipulation horizon is decomposed into longrange, collision-free motion and last-inch manipulation. For the latter part, a category-level behavior cloning (CatBC) method leverages motion tracking to perform closed-loop control. CatBC follows the target trajectory, projected from the demonstration and anchored to a dynamically selected category-level coordinate frame. The frame is automatically selected along the manipulation horizon by a local attention mechanism. This framework allows to teach different manipulation strategies by solely providing a single demonstration, without complicated manual programming. Extensive experiments demonstrate its efficacy in a range of challenging industrial tasks in highprecision assembly, which involve learning complex, long-horizon policies. The process exhibits robustness against uncertainty due to dynamics as well as generalization across object instances and scene configurations. The supplementary video is available at https://www.youtube.com/watch?v=WAr8ZY3mYyw
BibTeX
@misc{wen2022you,
  author = {Bowen Wen and Wenzhao Lian and Kostas E. Bekris and Stefan Schaal},
  title = {{You Only Demonstrate Once: Category-Level Manipulation from Single Visual Demonstration}},
  year = {2022},
  eprint = {2201.12716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.12716},
  howpublished = {OpenReview},
}
Figure