Abstract
Learning from demonstrations is an easy and intuitive way to show examples of successful behavior to a robot. However, the fact that humans optimize or take advantage of their body and not of the robot, usually called the embodiment problem in robotics, often prevents industrial robots from executing the task in a straightforward way. The shown movements often do not or cannot utilize the degrees of freedom of the robot efficiently, and moreover suffer from excessive execution errors. In this paper, we explore a variety of solutions that address these shortcomings. In particular, we learn sparse movement primitive parameters from several demonstrations of a successful table tennis serve. The number of parameters learned using our procedure is independent of the degrees of freedom of the robot. Moreover, they can be ranked according to their importance in the regression task. Learning few parameters that are ranked is a desirable feature to combat the curse of dimensionality in Reinforcement Learning. Preliminary real robot experiments on the Barrett WAM for a table tennis serve using the learned movement primitives show that the representation can capture successfully the style of the movement with few parameters.
Introduction
Teaching robots complex, dynamic tasks through Learning from Demonstrations (LfD) often encounters the embodiment problem. Because humans have different muscular structures and joint limits than robots, kinesthetic teach-in often fails to utilize a robot's specific degrees of freedom (DoF) efficiently or introduces excessive execution errors. Furthermore, traditional LfD methods like Dynamic Movement Primitives (DMPs) typically require manual feature tuning and result in a high number of parameters that scale linearly with the robot's DoF. This high dimensionality makes it difficult for Reinforcement Learning (RL) agents to refine movements later, as the search space is too large.
Methodology
This paper introduces two algorithms: Learning Sparse Demonstration Parameters (LSDP) for single demonstrations and coupled LSDP (cLSDP) for multiple demonstrations. The core innovation is an iterative optimization process that alternates between two steps:
- Multi-task Elastic Net Regression: This step solves for regression parameters ($\theta$) using an $l_1$-penalty to encourage sparsity and an $l_2$-penalty on accelerations to ensure smoothness, which is critical for robot hardware longevity.
- Nonlinear Optimization (BFGS): This step adapts the features themselves—specifically the centers and widths of the Radial Basis Functions (RBFs)—to better fit the demonstration data.
The "coupled" version (cLSDP) is particularly powerful because it forces the robot to share the same set of sparse features across different demonstrations and across all robot joints. This effectively decouples the number of learned parameters from the robot's DoF.
Feature Ranking and Sparsity
By utilizing the Elastic Net regularization path, the algorithm can rank features by their statistical importance. This allows an RL agent to prioritize tuning the most "causally effective" components of a motion first. Sparsity is not just about compression; it serves as a better initialization for RL by reducing the search space and making learned movements more interpretable.
Experimental Results
The framework was evaluated on a 7-DoF Barrett WAM robot arm performing table tennis serves. Movements were recorded at 500 Hz during kinesthetic teach-in sessions where a human guided the robot.
Parameter Efficiency and Smoothness
Compared to standard DMPs and $l_2$-regularized regression, cLSDP demonstrated superior performance:
- Efficiency: cLSDP used only 37 parameters in total to represent the serves across all 7 joints. In contrast, DMPs used 77 parameters.
- Smoothness: The acceleration norm for cLSDP was significantly lower than DMPs (55.98 vs 621.73), ensuring safer execution on the cable-driven Barrett WAM.
Trajectory Capture
The sparse primitives successfully captured the "style" of the human serve, including the critical wrist flick for spin. The learned joint trajectories show a high-fidelity fit to the demonstration data while maintaining the required smoothness for robotic execution.
Conclusion
The proposed cLSDP framework successfully addresses the embodiment problem by learning a minimal, ranked set of parameters that capture the essence of dynamic human movements. By reducing the dimensionality of the task, this approach provides a robust foundation for future Reinforcement Learning optimization to refine serves for specific targets or spin types.
Summary updated