A Physically-Consistent Bayesian Non-Parametric Mixture Model for Dynamical System Learning

Nadia Figueroa, Aude Billard

Introduction

Learning from Demonstration (LfD) enables robots to acquire complex skills by mimicking human movements. A primary challenge in LfD is representing these motions as a Dynamical System (DS)—a mathematical map that dictates the robot's velocity at any given position. This paper introduces PC-GMM, a method that combines Bayesian non-parametrics with a novel "physically-consistent" similarity metric to ensure learned motions are both highly accurate and mathematically guaranteed to reach their target.

Problem Statement

The "holy grail" of LfD is achieving Global Asymptotic Stability (GAS): ensuring that regardless of the starting position, the robot always converges to the target. Previous state-of-the-art methods, such as SEDS (Stable Estimator of Dynamical Systems), often faced a trade-off where stability was guaranteed only by "smoothing out" the motion, which sacrificed the ability to capture highly curved or complex paths. Furthermore, these models typically required manual tuning of the number of Gaussian components, making them brittle in practice.

Methodology

The authors propose a two-stage approach called LPV-DS (Linear Parameter Varying Dynamical System) powered by a new clustering technique:

  1. Physically-Consistent GMM (PC-GMM): Instead of standard clustering based only on spatial distance, the model employs a $\dot{\xi}$-similarity metric. This metric evaluates both locality (proximity of points) and directionality (alignment of velocities). This is wrapped in a Dirichlet Process, allowing the model to automatically determine the number of clusters ($K$) based on data complexity.
Comparison of PDF estimation on the Concentric Circles dataset. PC-GMM (b) captures directional flow more effectively than standard EM (c) or CRP (d).
  1. Decoupled Optimization: By separating the representation (GMM) from the stability constraints, the authors transform a difficult non-convex optimization problem into a manageable convex one.
  2. Flexible Lyapunov Functions: The model utilizes flexible "elliptical" Lyapunov functions (P-QLF), allowing the robot to follow highly non-monotonic, curvy paths while maintaining convergence guarantees.

Experimental Results

The model was validated on the LASA Handwriting Library, synthetic datasets, and real-world tasks using a KUKA LWR 4+ arm.

Physically-consistent GMM-PDF contours for the 'Messy Snake' dataset, illustrating the model's capacity for complex, stable trajectories.

Key results include:

  • Superior Accuracy: On the LASA dataset, PC-GMM significantly outperformed SEDS in terms of Dynamic Time Warping Distance (DTWD), following demonstrated curves much more faithfully.
  • Automatic Complexity: The model successfully identified the optimal number of Gaussians for complex shapes without manual tuning.
  • Robustness: In the "Messy Snake" test—a shape that usually causes stable learners to fail—the PC-GMM successfully captured the motion while maintaining a global guarantee of convergence.

Conclusion and Future Work

PC-GMM resolves the accuracy-stability dilemma by ensuring each Gaussian component represents a consistent local linear flow. While the current use of a Collapsed Gibbs Sampler is computationally expensive, it provides a robust framework for automated, stable motion learning. Future work will focus on optimizing these computations and extending the incremental algorithm to handle real-time stability constraints.

Summary updated

BibTeX
@inproceedings{figueroa2018physically,
  author = {Nadia Figueroa and Aude Billard},
  title = {{A Physically-Consistent Bayesian Non-Parametric Mixture Model for Dynamical System Learning}},
  booktitle = {Conference on Robot Learning},
  year = {2018},
}
Figure