Abstract
Placing robots outside controlled conditions requires versatile movement representations that allow robots to learn new tasks and adapt them to environmental changes. Probabilistic movement primitives (ProMPs) represent adaptable movement skills as Gaussian distributions over trajectories. However, previous approaches only provide solutions to specific adaptation problems. This paper introduces a generic probabilistic framework for adapting ProMPs, unifying techniques like obstacle avoidance, via-points, and mutual avoidance via constrained optimization. By minimizing the Kullback-Leibler (KL) divergence between the adapted and original distributions while enforcing probabilistic constraints, the framework preserves the essential characteristics of the original demonstration while ensuring safety.
Introduction
In Learning from Demonstration (LfD), robots acquire skills by observing human experts. These skills are typically stored as Movement Primitives (MPs). However, a skill learned in isolation must be adapted to dynamic real-world environments where obstacles appear, joint limits change, or multiple robots must coordinate.
Existing adaptation methods are often ad-hoc or task-specific. Crucially, many current techniques produce a single deterministic trajectory, discarding the probabilistic variance of the original skill. This variance is valuable as it indicates where a robot can be flexible and where it must be precise. This work proposes a unifying framework that handles diverse constraints while maintaining a probabilistic representation.
Methodology: A Unified Framework
The proposed framework builds upon Probabilistic Movement Primitives (ProMPs), which represent trajectories as Gaussian distributions over weights of basis functions. The core contribution is formulating adaptation as a constrained optimization problem:
- Objective Function: The method minimizes the "reverse" KL divergence between the adapted distribution and the original one. This ensures the robot stays as close to the expert behavior as possible.
- Optimization: A dual-loop algorithm (LBFGS-EMM) is used to find the optimal mean and covariance of the adapted ProMP.
As shown in the table above, the proposed framework unifies a wide array of features—including volumetric obstacles, joint limits, and mutual avoidance—that were previously only addressed in isolation by different frameworks.
Probabilistic Constraints
The framework introduces several types of probabilistic constraints to ensure safety and task completion:
- Joint Space Constraints: Respecting the physical limits of the robot's actuators.
- Task Space Constraints: Using the Unscented Transform to map joint-space distributions through non-linear forward kinematics into Cartesian space.
- Temporally Unbound Waypoints: A novel constraint where the robot must pass through a point at some time, with the exact timing determined by the optimizer.
- Mutual Avoidance: Ensuring multi-robot systems do not collide.
The choice of reverse KL divergence leads to "mode-seeking" behavior, where the adapted distribution focuses on a single valid path satisfying constraints rather than averaging across multiple invalid ones.
Experimental Evaluation
The method was evaluated across three primary setups:
- Simulated 4-DOF Planar Arm: Visualizing basic constraints like virtual walls and non-convex obstacles.
- 2D Environments: 1,000 unique scenarios with multiple obstacles. The proposed method achieved a failure rate of only 1.1%, significantly outperforming the DEBATO baseline (22.1%).
- Dual-Arm Franka Emika Panda: Two 7-DOF arms performing reaching tasks. The system successfully coordinated the robots, automatically adjusting their speeds to avoid collisions via "temporally unbound" constraints.
Discussion and Insights
A key insight of this approach is the power of covariance. By maintaining a distribution, the robot can "squeeze" its variance in narrow passages and expand it where space allows. Furthermore, adaptation adds information; in multi-robot setups, the resulting covariance matrix encodes correlations between robots (e.g., if one moves left, the other moves right).
While the framework is robust, its computational complexity scales with the number of joints and basis functions ($D^3 M^3$). Future work will explore low-rank approximations to enable real-time, reactive adaptation for high-dimensional systems or robot swarms.
Summary updated