Abstract
Learning from Interactive Demonstrations has revolutionized the way non-expert humans teach robots. It is enough to kinesthetically move the robot around to teach pick-and-place, dressing, or cleaning policies. However, the main challenge is correctly generalizing to novel situations, e.g., different surfaces to clean or different arm postures to dress. This article proposes a novel task parameterization and generalization to transport the original robot policy, i.e., position, velocity, orientation, and stiffness. Unlike the state of the art, only a set of points are tracked during the demonstration and the execution, e.g., a point cloud of the surface to clean. We then propose to fit a non-linear transformation that would deform the space and then the original policy using the paired source and target point sets. The use of function approximators like Gaussian Processes allows us to generalize, or transport, the policy from every space location while estimating the uncertainty of the resulting policy due to the limited points in the task parameterization point set and the reduced number of demonstrations. We compare the algorithm's performance with state-of-the-art task parameterization alternatives and analyze the effect of different function approximators. We also validated the algorithm on robot manipulation tasks, i.e., different posture arm dressing, different location product reshelving, and different shape surface cleaning.
Introduction
Teaching a robot to perform complex tasks like cleaning a table or dressing a mannequin through kinesthetic teaching is intuitive. However, ensuring that the learned skill generalizes to novel environments—such as a different table shape or a new arm posture—remains a significant challenge in robotics. This is often due to covariate shift, where the execution environment differs from the demonstration data.
Existing methods like Task-Parameterized Gaussian Mixture Models (TP-GMM) or Dynamic Movement Primitives (DMPs) often require numerous demonstrations or struggle with high-dimensional task parameters. Furthermore, many trajectory-reshaping techniques fail to adapt the underlying dynamics, such as velocity or stiffness, when the environment's geometry changes.
Policy Transportation via Gaussian Processes
The proposed framework introduces the concept of a Transportation Map ($\phi$). By viewing the environment as a deformable space, the method "transports" a policy from a known source environment to a novel target environment.
Methodology
The environment is parameterized by sets of source keypoints ($S$) and target keypoints ($T$). The mapping $\phi$ is constructed in two primary steps:
- Affine Transformation ($\gamma$): A global alignment (rotation and translation) is computed using Singular Value Decomposition (SVD) to capture the broad spatial relationship.
- Nonlinear Residual ($\psi$): A local deformation is modeled using a Gaussian Process (GP). This allows the map to adapt to intricate geometric features, such as surface curvature.
The transportation map is then used to transform various components of the robot's policy:
- Position: Mapped directly via $\phi(x)$.
- Velocity: Transformed using the Jacobian of the map, ensuring the robot's speed scales correctly with spatial stretching or compression.
- Orientation & Stiffness: Transformed using the polar decomposition of the Jacobian to maintain physical consistency with the new geometry.
A key advantage of using GPs is the ability to quantify uncertainty. As the robot moves further from known keypoints, the uncertainty estimate grows, providing a safety mechanism for execution.
Experimental Validation
The approach was validated through simulations and real-world experiments using a Franka Emika Panda robot:
- Surface Cleaning: The robot adapted polishing motions from flat to unknown curved surfaces using point clouds.
- Robot Dressing: The system successfully dressed a mannequin arm in unseen postures, adapting the trajectory in real-time based on detected joint positions.
- Foundation Model Integration: In a "food stacking" task, keypoints were automatically detected using DINO features, demonstrating the framework's compatibility with modern computer vision models.
Results and Discussion
The Gaussian Process Transportation (GPT) method demonstrated superior generalization compared to state-of-the-art alternatives like TP-GMM, particularly in scenarios with limited demonstrations. By deforming the entire space rather than just a single trajectory, the method remains policy-agnostic, applicable to DMPs, GMMs, or neural network-based policies.
While effective, the method currently relies on known correspondences between source and target points. Future work will focus on automating this correspondence in unstructured environments and extending the framework to dynamic, moving objects.
This summary is based on research by Giovanni Franzese et al. from TU Delft and IISc Bangalore.
Summary updated