Introduction
Learning from Demonstration (LfD) enables robots to acquire complex skills by observing human examples. A prominent framework in this domain is the Conditional Neural Movement Primitive (CNMP), which models skills as probability distributions. While effective, standard CNMPs are monolithic, requiring significant computational resources to represent long-duration or intricate tasks. This paper introduces Coupled Conditional Neural Movement Primitives (C-CNMP), an architecture designed to overcome these limitations through a "divide-and-conquer" strategy.
The Challenge of Monolithic Models
Standard CNMPs attempt to map entire temporal structures into a single latent space. As task complexity grows, these models become "resource-hungry," necessitating massive parameter counts to maintain precision. Furthermore, they often suffer from trajectory ambiguity, where the model fails to distinguish between different valid paths that intersect in space and time, often resulting in "averaged" or nonsensical predictions at crossing points.
The C-CNMP Architecture
C-CNMP addresses these issues by decomposing complex sensorimotor trajectories into smaller, manageable segments.
The process involves four key stages:
- Divide: The input trajectory is split into segments.
- Encode: Dedicated sub-networks (encoders) process observations from each segment independently.
- Couple: Latent representations from all segments are concatenated into a single, unified vector. This coupling ensures that information from one part of the movement informs predictions in others, maintaining global context.
- Query & Merge: Segment-specific decoders generate predictions, which are then merged to ensure smooth transitions across boundaries.
Experimental Evaluation
The researchers benchmarked C-CNMP against standard CNMPs using two datasets:
- Synthetic 1D Trajectories: Intersecting sine-based curves designed to test the model's handling of trajectory ambiguity.
- 7-DOF Robotic Arm Data: Real-world joint trajectories from a simulated "push or pull" task involving cube alignment.
Results and Discussion
C-CNMP demonstrated superior performance across all metrics. By utilizing specialized sub-networks, the model achieves a "resource economy," maintaining high accuracy with significantly fewer parameters than monolithic counterparts.
Key findings include:
- Efficiency: C-CNMP consistently required fewer parameters to achieve the same or better performance than standard CNMPs.
- Robustness: Statistical analysis (Welch’s T-test, $p < 0.0005$) and violin plot visualizations confirmed that C-CNMP provides tighter error distributions and better generalization to unseen data.
- Contextual Awareness: The coupling mechanism successfully resolved trajectory ambiguity, allowing the robot to follow specific paths even through intersection points where standard models typically fail.
Conclusion and Future Work
C-CNMP offers a scalable and efficient alternative to standard movement primitives. Future research will focus on automating the segmentation process—currently performed manually—and exploring self-attention mechanisms for more sophisticated latent fusion. Integrating Reinforcement Learning could also improve the model's ability to extrapolate beyond the demonstrated training data.
Summary updated