Task Generalization with Stability Guarantees via Elastic Dynamical System Motion Policies

Tianyu Li, Nadia Figueroa

Abstract

Dynamical System (DS) based Learning from Demonstration (LfD) allows learning of reactive motion policies with stability and convergence guarantees from a few trajectories. Yet, current DS learning techniques lack the flexibility to generalize to new task instances as they overlook explicit task parameters that inherently change the underlying demonstrated trajectories. In this work, we propose Elastic-DS, a novel DS learning and generalization approach that embeds task parameters into the Gaussian Mixture Model (GMM) based Linear Parameter Varying (LPV) DS formulation. Central to our approach is the Elastic-GMM, a GMM constrained to SE(3) task-relevant frames. Given a new task instance/context, the Elastic-GMM is transformed with Laplacian Editing and used to re-estimate the LPV-DS policy. Elastic-DS is compositional in nature and can be used to construct flexible multi-step tasks. We showcase its strength on a myriad of simulated and real-robot experiments while preserving desirable control-theoretic guarantees.

Introduction

In the field of Learning from Demonstration (LfD), researchers often face a trade-off known as the Generalization vs. Stability vs. Effort Trilemma. For robots to work safely around humans, their motion policies must have control-theoretic stability guarantees. Simultaneously, these policies must generalize to new target locations (e.g., a shelf being moved) and be learnable from minimal human demonstrations—ideally just one. Existing Dynamical System (DS) approaches excel at stability but often fail when targets move, while Task-Parameterized (TP) methods generalize well but frequently lack stability guarantees or require large datasets.

Methodology

Elastic-DS builds upon the Linear Parameter Varying (LPV-DS) framework, which uses GMMs to represent a motion's velocity field. The core innovation is the Elastic-GMM, which treats the GMM not as a static set of distributions, but as a flexible "chain" of links and joints.

The Elastic-DS framework adapts the motion policy to a new target configuration by warping the underlying GMM using Laplacian editing to satisfy new constraints while preserving the local shape of the demonstration.

By borrowing Laplacian Editing techniques from computer graphics, the system can "stretch" or "bend" this GMM chain to satisfy new task parameters, such as a moved goal or via-point. This process preserves the "local shape" and intent of the original human demonstration. Once the path is warped, the system re-calculates velocities and solves a Semi-Definite Program (SDP) to ensure the new policy remains globally asymptotically stable.

Experimental Evaluation

The framework was evaluated using 2D toy problems and real-robot experiments with a 7-DOF Franka Emika Panda robot. Tasks included bookshelf stacking, pick-and-place with via-points, and navigating through narrow tunnels.

Real-robot bookshelf stacking task showing the physical setup and the corresponding 3D plot of the executed trajectory following the demonstration.

In 2D benchmarks, Elastic-DS maintained a Start/Goal Cosine Similarity of >0.98, significantly outperforming competing methods like TP-GPR when targets were moved. Notably, while standard Task-Parameterized GMMs required multiple demonstrations to succeed, Elastic-DS achieved superior results with only a single demonstration.

Results and Discussion

Elastic-DS enables zero-shot adaptation, mathematically warping the old policy to a new scene in approximately 1–2 seconds. This efficiency allows the robot to preserve the "style" of human intent without needing thousands of training trials.

However, some limitations remain. The current implementation is restricted to Cartesian space ($x, y, z$) and does not yet handle orientation or joint-space constraints. Additionally, multi-step tasks currently require manual segmentation, and the system depends on external vision for geometric descriptors.

Conclusion

Elastic-DS successfully addresses the LfD trilemma by providing a stable, highly generalizable motion policy learnable from a single demonstration. Future work will focus on optimizing the adaptation speed to the millisecond range and extending the framework to handle full SE(3) orientations and joint-space constraints for more complex human-robot interactions.

Summary updated

BibTeX
@inproceedings{li2023task,
  author = {Tianyu Li and Nadia Figueroa},
  title = {{Task Generalization with Stability Guarantees via Elastic Dynamical System Motion Policies}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=zPblFyd2fC},
}
Figure