Introduction
Teaching robots complex tasks through imitation learning, such as kinesthetic teaching, often encounters the "curse of dimensionality." A standard 7-degree-of-freedom robotic arm recorded over 100 time steps generates a 700-dimensional vector, making path optimization and sequence planning computationally expensive. Traditional methods like Dynamic Movement Primitives (DMP) typically require manual labeling and separate models for distinct behaviors. Furthermore, deep learning approaches are often bottlenecked by the scarcity of human demonstration data.
The Autoencoder Trajectory Primitive (ATP) Framework
To address these challenges, the Autoencoder Trajectory Primitive (ATP) framework utilizes a Variational Autoencoder (VAE) to compress high-dimensional motions into a low-dimensional latent space.
Methodology
The ATP architecture incorporates several key innovations:
- Joint Latent Space: The model employs both discrete latent variables ($c$) to categorize motion types (e.g., grasping vs. picking) and continuous latent variables ($z$) to capture stylistic variations.
- Goal-Conditioned Decoding: The decoder is conditioned on the target position ($x_g$), enabling the robot to adapt learned primitives to new spatial goals.
- Trajectory Augmentation: To mitigate data scarcity, a small set of human demonstrations is expanded into thousands of synthetic trajectories using smooth perturbations.
To ensure high precision, a post-processing step using the CHOMP (Covariant Hamiltonian Optimization for Motion Planning) algorithm projects the probabilistic VAE output onto exact constraint spaces, reducing positioning errors from centimeters to sub-millimeter levels.
Experimental Results and Insights
The system was evaluated using a simulated KUKA LWR 7-DOF robot. Starting with only four human demonstrations, the dataset was augmented to 4,000 trajectories.
Latent Sparsity and Unsupervised Discovery
A significant finding was the model's ability to autonomously discover relevant motion features. During training, the KL divergence for the continuous latent channels revealed that the network naturally favored a sparse representation.
As shown in the figure above, while five continuous channels were available, only $z_1$ showed significant activity, suggesting the network identified a single primary dimension of variation within the demonstrations. This unsupervised discovery allows the model to categorize motions without manual labels.
Performance and Precision
The ATP framework achieved positioning accuracy of less than 1 mm after CHOMP projection. The model successfully generalized across multiple behaviors within a single network, interpolating smoothly between different approach angles and goal positions while filling in the gaps between sparse demonstrations.
Conclusion and Future Work
The ATP framework demonstrates that combining discrete and continuous latent spaces with goal conditioning allows for efficient, high-precision robot imitation learning from minimal data. However, current limitations include "entanglement," where changing a style variable (like path shape) may unintentionally affect end-effector orientation. Future research will focus on decoupling these features to provide more intuitive control over learned robotic primitives.
Summary updated