Probabilistic Movement Primitives

Alexandros Paraschos, Christian Daniel, Jan Peters, Gerhard Neumann

Introduction

This paper introduces Probabilistic Movement Primitives (ProMPs), a framework that represents robot motions as probability distributions over trajectories rather than deterministic paths. By treating movements as distributions, the authors use fundamental operations like conditioning and products of distributions to enable complex behaviors—such as smooth blending, parallel activation of skills, and automatic adaptation to new via-points—all while maintaining a principled link to stochastic feedback control.

The Problem with Existing Movement Primitives

In robotics, Movement Primitives (MPs) are the "building blocks" of complex behavior (e.g., grasping, hitting, or walking). While existing methods like Dynamic Movement Primitives (DMPs) are popular, they often struggle to unify several desired properties into a single, cohesive framework.

Specifically, the authors identify a gap in how robots:

  1. Combine skills: How do you smoothly transition from one motion to another or run two motions (like moving an arm while balancing) simultaneously?
  2. Adapt to constraints: How do you force a motion to pass through a specific "via-point" without losing the "style" of the original movement?
  3. Handle Uncertainty: How can a robot represent which parts of a motion are critical (low variance) and which are flexible (high variance)?

Previous approaches often relied on heuristics to solve these issues, making it difficult to guarantee that the resulting motion remained optimal or faithful to the original demonstrations.

Methods: The Probabilistic Formulation

The core innovation of this paper is the probabilistic formulation of movement.

  • Trajectory Representation: Instead of a single path, a ProMP is a distribution $p(\tau)$ over trajectories. The authors use a linear basis function model where a weight vector $\mathbf{w}$ defines the trajectory. By assuming a Gaussian distribution over these weights, they can capture the mean and variance of a motion across multiple demonstrations.
  • Probabilistic Operators: Because the motion is a distribution, standard probability theory can be used to manipulate it seamlessly:
  • Conditioning: To reach a new target or via-point, the distribution is simply conditioned on that point. This naturally adjusts the entire trajectory while staying as close to the original distribution as possible.
  • Combination and Blending: To co-activate two primitives, the system takes the product of their distributions, finding the "overlap" where both motions are satisfied. Time-varying activation weights can also be used to smoothly blend between different skills.
Probabilistic operators in ProMPs: Conditioning, Combination, and Blending.
  • Stochastic Feedback Control: A major technical contribution is the analytical derivation of a feedback controller. It is one thing to have a mathematical distribution of a path; it is another to make a physical robot follow it. The authors derive a controller that exactly reproduces the mean and time-varying variance of the ProMP, allowing the robot to be "compliant" where the task allows and "stiff" where precision is required.

Experimental Evaluation

The authors evaluated ProMPs on three main scenarios to test their versatility and accuracy:

  1. 7-Link Planar Robot (Simulated): Used to demonstrate reaching via-points and the ability to capture joint coupling (how moving one joint affects others to keep the end-effector steady). The ProMP reached via-points with high accuracy while maintaining the overall "shape" and joint-coupling of the original demonstrations.
7-link planar robot reaching via-points over time.
  1. Robot Hockey (Real KUKA Arm): The robot learned to hit a puck. This tested "blending" (combining straight shots and angled shots) and "conditioning" (adjusting the shot angle on the fly). The robot successfully hit targets at various angles by multiplying the "straight shot" and "angled shot" distributions, producing a successful intermediate motion that wasn't explicitly demonstrated.
  2. Robot Maracas (Real KUKA Arm): This focused on rhythmic movements and temporal scaling. The robot could play the maracas faster or slower by modulating a "phase" variable, and blend between different shaking patterns. The derived feedback controller matched the desired trajectory distributions almost perfectly.

Key Insights

  • Variance is Information: In ProMPs, high variance in demonstrations tells the robot "this part of the move doesn't matter much," while low variance means "this part is critical." The derived controller uses this to adjust its gains automatically.
  • Bayes' Rule for Adaptation: Using conditioning to reach via-points is more principled than the heuristics used in DMPs. It ensures the robot stays within the "manifold" of natural-looking movements learned from humans.
  • Coupling Joints: By maintaining a covariance matrix across all joints, the system learns how joints should work together. If one joint is pushed off course, the others can compensate to keep the end-effector on target.

Limitations and Future Work

While powerful, ProMPs have some limitations:

  • Data Requirements: Unlike some MP methods that can learn from a single demonstration, ProMPs require multiple demonstrations to accurately estimate the variance and covariance of the movement.
  • Linearity Assumptions: The framework relies on linear basis functions and Gaussian distributions. This might struggle with highly non-linear or multi-modal distributions (e.g., a movement that could go either left or right around an obstacle).

Future Directions: The authors suggest that ProMPs are a perfect fit for Reinforcement Learning (RL). Because the representation is probabilistic, it naturally handles the exploration-exploitation trade-off inherent in RL, paving the way for more adaptive and intelligent robotic control.

Summary updated

BibTeX
@inproceedings{paraschos2013probabilistic,
  author = {Alexandros Paraschos and Christian Daniel and Jan Peters and Gerhard Neumann},
  title = {{Probabilistic Movement Primitives}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
}
Figure