Zero-Shot Generalization from Motion Demonstrations to New Tasks

Kilian Freitag, Alvin Combrink, Nadia Figueroa · DOI

TL;DR

This paper introduces the Gaussian Graph, a novel framework that reinterprets robot motion primitives as nodes in a graph. By bridging continuous dynamical systems with discrete graph search, the authors enable robots to "stitch" or "chain" together isolated demonstrations to solve entirely new tasks in a shared workspace—achieving zero-shot generalization with provable stability.

What Problem Does This Paper Address?

In robotics, Learning from Demonstration (LfD) is a double-edged sword. End-to-end "foundation models" offer impressive generalization but require massive datasets and heavy computation. On the other hand, Dynamical Systems (DS)—mathematical models that define how a robot should move from any point toward a goal—are fast, reactive, and stable, but they are usually "one-trick ponies." A DS trained to pick up a cup usually can't be easily repurposed to move that cup to a new, undemonstrated location.

The authors tackle the challenge of zero-shot generalization: how can a robot take a library of separate, disjoint demonstrations (e.g., Task A: Start $\rightarrow$ Object 1; Task B: Object 2 $\rightarrow$ Box) and combine them to solve a novel task (e.g., Object 1 $\rightarrow$ Box) without any new data or retraining?

Methods

The core innovation is the Gaussian Graph (GG). The authors build upon a standard method called Linear Parameter Varying DS (LPV-DS), which uses Gaussian Mixture Models (GMMs) to represent motion.

  1. The Graph Construction: They treat each Gaussian component from the learned demonstrations as a vertex in a directed graph. Edges are created between these "nodes" if they are spatially close and their motion directions align.
  2. Demonstration Stitching: For a new start-goal pair, the system uses Dijkstra’s algorithm to find the shortest path through the Gaussian Graph. It then "stitches" these components into a single, time-invariant DS that is guaranteed to converge to the target.
  3. Demonstration Chaining: For complex tasks where a single time-invariant policy might fail (like paths that cross themselves), the authors propose "Chaining." This treats the path as a sequence of "stepping stones," switching between local dynamical systems using triggers and timers. Crucially, they provide a formal proof that this sequence remains Globally Asymptotically Stable (GAS).

Datasets

The researchers evaluated their approach across three main domains:

  • 2D Small & 2D Large: Synthetic datasets featuring various trajectories to test the limits of path synthesis and "bi-directionality" (the ability to run a demonstration in reverse).
  • 3D PC-GMM: A dataset based on prior work involving complex 3D motions like C-shapes and via-points.
  • Real-Robot Experiments: They used a UR3e manipulator equipped with an OnRobot gripper. The robot was given three distinct demonstrations (grasping two different objects and moving to a box) and tasked with novel combinations, such as picking up an object and moving it to a box it had never been "connected" to in a single demo.

Key Insights and Ideas

  • Bridging the Continuous and Discrete: The "aha moment" is realizing that the spatial components of a continuous controller can be treated as discrete waypoints. This allows robotics researchers to use mature graph-search algorithms to solve high-level planning problems while maintaining low-level control stability.
  • The "Stepping Stone" Analogy: Instead of trying to warp a single demonstration to fit a new task, the Gaussian Graph treats previous demonstrations as a map of "safe and kinematically viable" regions. The robot simply finds a new route through these known safe zones.
  • Combinatorial Scalability: In a factory or lab, the number of possible tasks grows combinatorially with the number of start and goal points. This method allows a robot to solve all those combinations using only a small, linear number of demonstrations.

Key Results

  • Success Rates: In 2D simulations, the proposed methods achieved success rates of 90-100%, whereas the standard LPV-DS baseline failed in the majority of cases (often dropping to ~20% success).
  • Efficiency: The "Chaining" method is exceptionally fast. Because much of the work is pre-computed offline, the online inference time is as low as 0.01 to 0.02 seconds, making it highly suitable for real-time reactive control.
  • Robustness: Real-robot tests confirmed that the "Stitching" approach creates global policies that are robust to large perturbations—if you push the robot arm away, it can still find its way back to the synthesized path.

Limitations and Future Work

  • Hyperparameter Tuning: The construction of the Gaussian Graph currently relies on user-defined parameters (like thresholds for data connectivity). The authors suggest that future work could automate this selection process.
  • Static Environments: The current framework assumes the workspace is static. It doesn't yet explicitly account for moving obstacles or objects that change position after the demonstrations are collected.
  • Orientation: The current implementation focuses on spatial coordinates (Euclidean space). Extending this to include end-effector orientations (rotational manifolds) is a primary goal for future iterations to handle more complex manipulation tasks.

Summary updated

Abstract

Learning motion policies from expert demonstrations is an essential paradigm in modern robotics. While end-to-end models aim for broad generalization, they require large datasets and computationally heavy inference. Conversely, learning dynamical systems (DS) provides fast, reactive, and provably stable control from very few demonstrations. However, existing DS learning methods typically model isolated tasks and struggle to reuse demonstrations for novel behaviors. In this work, we formalize the problem of combining isolated demonstrations within a shared workspace to enable generalization to unseen tasks. The Gaussian Graph is introduced, which reinterprets spatial components of learned motion primitives as discrete vertices with connections to one another. This formulation allows us to bridge continuous control with discrete graph search. We propose two frameworks leveraging this graph: Stitching, for constructing time-invariant DSs, and Chaining, giving a sequence-based DS for complex motions while retaining convergence guarantees. Simulations and real-robot experiments show that these methods successfully generalize to new tasks where baseline methods fail.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
2D SmallChaining (All)Success rate99.2%+78.4 vs baselineMotion Planning · pairing=all pairwise, bidirectional · instances=30 · parameter-update=recompute GMM and DS
Source quote
L395: Chaining (All) │ 99.2% │ 0.11 ± 0.14* │ 0.91 ± 0.14 │ 0.26 ± 0.05 │ 97.4% │ 0.12 ± 0.18* │ 0.96 ± 0.09 │ 0.29 ± 0.09 │ 97.5% │ 0.05 ± 0.03* │ 0.97 ± 0.06 │ 0.46 ± 0.32
2D LargeChaining (All)Success rate97.4%+78.3 vs baselineMotion Planning · pairing=all pairwise, bidirectional · instances=182 · parameter-update=recompute GMM and DS
Source quote
L395: Chaining (All) │ 99.2% │ 0.11 ± 0.14* │ 0.91 ± 0.14 │ 0.26 ± 0.05 │ 97.4% │ 0.12 ± 0.18* │ 0.96 ± 0.09 │ 0.29 ± 0.09 │ 97.5% │ 0.05 ± 0.03* │ 0.97 ± 0.06 │ 0.46 ± 0.32
3D PC-GMMChaining (DS)Success rate100.0%+64.2 vs baselineMotion Planning · pairing=all pairwise, bidirectional · instances=30 · parameter-update=recompute DS only
Source quote
L396: Chaining (DS) │ 97.5% │ 0.14 ± 0.19* │ 0.91 ± 0.17 │ 0.01 ± 0.01 │ 94.1% │ 0.15 ± 0.39* │ 0.95 ± 0.09 │ 0.01 ± 0.00 │ 100.0% │ 0.06 ± 0.02* │ 0.98 ± 0.03 │ 0.02 ± 0.00
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
2D SmallBaseline (All) baselineSuccess rate20.8%Motion Planning · pairing=all pairwise, bidirectional · instances=30 · parameter-update=recompute GMM and DS
Source quote
L389: Baseline (All) │ 20.8% │ 1.77 ± 0.72 │ 0.73 ± 0.17 │ 8.29 ± 0.63 │ 19.1% │ 2.15 ± 0.74 │ 0.72 ± 0.23 │ 17.51 ± 1.86 │ 28.3% │ 0.28 ± 0.33 │ 0.88 ± 0.17 │ 17.78 ± 16.59
2D LargeBaseline (All) baselineSuccess rate19.1%Motion Planning · pairing=all pairwise, bidirectional · instances=182 · parameter-update=recompute GMM and DS
Source quote
L389: Baseline (All) │ 20.8% │ 1.77 ± 0.72 │ 0.73 ± 0.17 │ 8.29 ± 0.63 │ 19.1% │ 2.15 ± 0.74 │ 0.72 ± 0.23 │ 17.51 ± 1.86 │ 28.3% │ 0.28 ± 0.33 │ 0.88 ± 0.17 │ 17.78 ± 16.59
3D PC-GMMBaseline (DS) baselineSuccess rate35.8%Motion Planning · pairing=all pairwise, bidirectional · instances=30 · parameter-update=recompute DS only
Source quote
L390: Baseline (DS) │ 20.0% │ 2.97 ± 1.57 │ 0.68 ± 0.25 │ 10.16 ± 0.42 │ 13.7% │ 3.30 ± 0.76 │ 0.58 ± 0.24 │ 33.65 ± 2.67 │ 35.8% │ 2.53 ± 1.19 │ 0.93 ± 0.10 │ 251 ± 23
BibTeX
@misc{freitag2026zero,
  author = {Kilian Freitag and Alvin Combrink and Nadia Figueroa},
  title = {{Zero-Shot Generalization from Motion Demonstrations to New Tasks}},
  year = {2026},
  eprint = {2603.15445},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.15445},
}
Figure