NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Kernelized Movement Primitives

Yanlong Huang, Leonel Dario Rozo, João Silvério, Darwin G. CaldwellarXiv 2017

TL;DR

This paper introduces Kernelized Movement Primitives (KMP), a novel imitation learning framework that allows robots to adapt learned skills to new situations and handle high-dimensional inputs more effectively. KMP achieves this by leveraging kernel methods and probabilistic modeling, offering a more robust and flexible approach to robot skill transfer compared to existing methods.

What Problem Does This Paper Address?

Robots learning from human demonstrations (imitation learning) is a powerful way to transfer complex skills. However, current methods often struggle with two key challenges: adapting learned skills to unforeseen circumstances (like obstacles or unexpected changes) and handling tasks with high-dimensional inputs (e.g., controlling many joints simultaneously or interpreting complex sensor data). Existing approaches like Dynamic Movement Primitives (DMP) and Probabilistic Movement Primitives (ProMP) have limitations in these areas, either requiring explicit basis functions that become unwieldy with high dimensions or lacking robust generalization capabilities. This paper aims to bridge this gap by proposing a method that is more adaptable, generalizable, and capable of handling complex, high-dimensional tasks.

Methods

The core contribution is the Kernelized Movement Primitive (KMP). KMP builds upon probabilistic modeling of demonstrations, similar to Gaussian Mixture Models (GMMs), but uses a kernelized approach to represent trajectories.

Here's a breakdown of the key methodological aspects:

  • Probabilistic Reference Trajectory: KMP first models the distribution of demonstrated trajectories using techniques like GMM, capturing not just the mean but also the variability (covariance) of the movements.
  • Kernelized Representation: Instead of relying on predefined basis functions (like in DMP or ProMP), KMP uses a kernel function to implicitly define the relationship between input and output. This is crucial for handling high-dimensional inputs, as it avoids the "curse of dimensionality" associated with explicit basis functions.
  • Information-Theoretic Optimization: KMP minimizes the Kullback-Leibler (KL) divergence between the learned parametric trajectory distribution and the probabilistic reference trajectory. This ensures that the learned model closely matches the demonstrated behavior while being probabilistically sound.
  • Separated Mean and Covariance Prediction: The optimization problem is decomposed into separate subproblems for predicting the mean and covariance of the trajectory. This allows for analytical solutions and efficient computation.
  • Extensions for Adaptation and Extrapolation:
    • Trajectory Modulation: KMP can adapt to new via-points or end-points by incorporating these new constraints into the probabilistic model.
  • Local Frames: To improve extrapolation capabilities, KMP can learn and operate within local coordinate frames, allowing it to generalize to new task configurations.
  • Trajectory Superposition: KMP can combine multiple learned trajectories based on assigned priorities, creating a mixed trajectory.
  • Time-Driven KMP: A special case is presented where time is the input, allowing for learning and modulating time-driven trajectories.

Datasets

The paper evaluates KMP on several tasks, primarily using data collected from demonstrations:

  • Handwritten Letter 'G' Trajectories: Used for demonstrating trajectory modulation and superposition.
  • Transportation Task: Used for evaluating the extrapolation capabilities of local-KMPs.
  • Reaching Task: Used for force-based trajectory adaptation, where human corrective forces are measured.
  • 3rd-Hand Task (Soldering Environment): A complex human-robot collaboration scenario involving 6-D inputs (user hand positions) to predict robot end-effector motion.

The paper does not introduce new benchmark datasets but rather uses existing experimental setups and collected demonstration data to validate its approach.

Key Insights and Ideas

  • Kernelization as a Solution to High-Dimensionality: The core insight is that using kernel methods to implicitly represent trajectories, rather than explicit basis functions, is a powerful way to overcome the "curse of dimensionality" in imitation learning. This makes KMP suitable for tasks with many input dimensions.
  • Probabilistic Framework for Robustness: By modeling the distribution of demonstrations (mean and covariance), KMP captures the inherent variability in human skills. This allows for more robust adaptation and generalization compared to methods that only learn a single trajectory.
  • Unified Framework for Multiple Capabilities: KMP provides a single, coherent framework for trajectory modulation, superposition, and extrapolation, which are often treated as separate problems in other approaches.
  • Local Frames for Enhanced Extrapolation: The extension to local frames is crucial for robots operating in environments where the task configuration might change significantly from the demonstrations. This allows for more reliable generalization.
  • Information Theory for Optimal Learning: Using KL-divergence as the objective function provides a principled way to measure and minimize information loss during the imitation process, leading to better learned models.

Key Results

  • Successful Trajectory Modulation and Superposition: KMP demonstrated the ability to adapt trajectories to pass through specified via-points and end-points, and to blend multiple learned trajectories based on priorities, performing comparably to ProMP in these scenarios.
  • Effective Extrapolation with Local-KMPs: Local-KMPs showed strong performance in extrapolating to new starting and ending locations in a transportation task, maintaining the learned trajectory shape.
  • Force-Based Adaptation: KMP successfully adapted robot trajectories in real-time based on sensed human corrective forces, ensuring collision avoidance in a reaching task.
  • High-Dimensional Input Handling: The 3rd-hand task demonstrated KMP's capability to learn and adapt trajectories in a complex 6-D input scenario (user hand positions influencing robot motion), a task that proved challenging for existing methods requiring explicit basis functions.
  • Reduced Parameter Complexity: Compared to methods like DMP, KMP offers a more compact parametric representation with fewer open parameters due to its kernel-based nature.

Limitations and Future Work

  • Computational Complexity: The paper notes that the computational complexity of KMP increases with the size of the reference database. Future work could explore sparse modeling techniques to address this.
  • Empirical Via-Point Selection: The selection of desired via-points for adaptation is currently empirical. The authors suggest that Reinforcement Learning (RL) algorithms could be used to find optimal desired points that fulfill task requirements defined by cost functions.
  • Kernel Choice: While a Gaussian kernel was used in many experiments, the paper suggests that exploring various kernels (as discussed in Hofmann et al., 2008) could be a promising avenue for future research.
  • Integration with Optimal Control: The ability of KMP to predict both mean and covariance simultaneously opens possibilities for integration with optimal control approaches, where these outputs could inform tracking errors and control policies.

Summary updated

BibTeX
@misc{huang2017kernelized,
  author = {Yanlong Huang and Leonel Dario Rozo and João Silvério and Darwin G. Caldwell},
  title = {{Kernelized Movement Primitives}},
  year = {2017},
  eprint = {1708.08638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.08638},
}
Figure