Learning Descriptor of Constrained Task from Demonstration

Xiang Zhang, Matteo Saveriano, Justus H. PiaterarXiv 2021

Abstract

Teaching robots to perform physically constrained tasks—such as opening doors or drawers—requires more than simple trajectory replay. This paper presents a "Task Descriptor" framework that enables a robot to understand the underlying physics of a task from a human demonstration. By identifying object-specific reference frames and rotation axles, the system generalizes learned skills to novel objects of different sizes and appearances.

Introduction

Most Learning from Demonstration (LfD) approaches focus on recording and replaying specific trajectories. However, many daily tasks are governed by physical constraints: a door rotates around a hinge, and a drawer slides along a track. If a robot learns the trajectory for a specific cabinet, it often fails when faced with a wider door or a different handle position.

The challenge lies in generalization. To address this, the researchers propose a framework that links vision, physical constraints, and robot execution into a single, cohesive "Task Descriptor." This allows the robot to understand why a trajectory works, rather than just what the trajectory is.

The Task Descriptor Framework

The proposed Task Descriptor consists of five key elements designed to capture the context of a movement:

  1. Identified Object: Real-time classification using YOLO-net.
  2. Grasping Point: The specific location where the robot interacts with the object (currently identified via QR codes).
  3. Segmented Object: The spatial bounding box of the target.
  4. Constrained Model: The kinematic type (e.g., revolute or prismatic) determined via the MLESAC algorithm.
  5. Reference Frame: The mapping of image-space coordinates to a physical rotation center and axle.
Figure 1: The system workflow, illustrating the transition from human demonstration to execution on a novel scene.

Workflow

As shown in the architecture above, the system begins with Acquisition, where a depth camera records a human demonstration and tracks the grasping point in 3D space. This is followed by Modeling, where the motion is fitted to a kinematic model (e.g., a circular path for a hinge). Finally, in the Generalization phase, the robot applies these parameters to a new object by identifying its physical boundaries and de-projecting 2D image coordinates back into 3D space for trajectory planning.

Generalization via Geometric Heuristics

A core insight of this work is the use of 2D image data for identifying rotation axles. While 3D point clouds are often unstable under varying lighting or for thin objects like books, pixel-based patterns provide a more reliable signal for identifying edges.

Figure 4: Identification of the rotation axle (green line) on a book based on the grasping point and object boundaries.

The system employs a "long edge/short edge" heuristic to locate the rotation axle. For a revolute joint, the robot assumes the axle lies on the edge furthest from the grasping point. By identifying this edge in the 2D image, the robot can automatically calculate the correct circular path for a novel object, even if the radius of the motion differs from the original demonstration.

Experimental Validation

The framework was validated using a book-opening use case. The robot successfully learned the revolute joint model from a demonstration on one book and generalized it to novel books of varying sizes. By aligning the reference frame's Y-axis with the identified rotation axle, the system generated precise circular trajectories for the end-effector, demonstrating a complete pipeline from raw visual input to executable motion.

Conclusion and Future Work

This research provides a standardized method for robots to store task context alongside motion data. While the current implementation relies on simplified grasping (QR codes) and geometric heuristics, it establishes a foundation for more advanced LfD. Future work will focus on replacing heuristics with machine learning models to handle complex multi-joint constraints and integrating obstacle avoidance into the planned trajectories.

Summary updated

BibTeX
@misc{zhang2021learning,
  author = {Xiang Zhang and Matteo Saveriano and Justus H. Piater},
  title = {{Learning Descriptor of Constrained Task from Demonstration}},
  year = {2021},
  eprint = {2103.09465},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.09465},
}
Figure