Abstract
Existing movement primitive models for the most part focus on representing and generating a single trajectory for a given task, limiting their adaptability to situations in which unforeseen obstacles or new constraints may arise. In this work we propose Motion Manifold Primitives (MMP), a movement primitive paradigm that encodes and generates, for a given task, a continuous manifold of trajectories each of which can achieve the given task. To address the challenge of learning each motion manifold from a limited amount of data, we exploit inherent symmetries in the robot task by constructing motion manifold primitives that are equivariant with respect to given symmetry groups. Under the assumption that each of the MMPs can be smoothly deformed into each other, an autoencoder framework is developed to encode the MMPs and also generate solution trajectories. Experiments involving synthetic and real-robot examples demonstrate that our method outperforms existing manifold primitive methods by significant margins. Code is available at https://github.com/dlsfldl/EMMP-public.
Introduction
Most movement primitive models—the building blocks of robot motion—are designed to output a single trajectory for a specific task (e.g., "move from A to B"). While efficient, this approach is brittle. If an unforeseen obstacle blocks that one path, the robot has no alternative. To be truly adaptable, a robot should understand the entire set of trajectories that can accomplish a goal. Previous attempts to learn these "motion manifolds" struggled with data efficiency; learning a complex multi-dimensional shape from a few human demonstrations is mathematically difficult. This paper addresses the challenge of learning these manifolds accurately without requiring thousands of training examples by introducing Equivariant Motion Manifold Primitives (EMMP).
Methods
The authors define a task by a parameter $\tau$ (e.g., the position of a cup) and the solution as a manifold $\mathcal{M}_\tau$. To learn this from limited data, they introduce three innovations:
- Equivariance: They exploit task symmetries. If a setup is rotated, the valid trajectories should rotate accordingly. They use an invariant encoder (mapping symmetric trajectories to the same latent point $z$) and an equivariant decoder to ensure the output trajectory transforms consistently with task parameters.
- Homeomorphic Manifold Assumption: They assume manifolds for different task parameters can be smoothly deformed into one another, allowing for a shared latent coordinate space $\mathcal{Z}$ for all tasks.
- Independence Regularization: A loss term ensures the latent variable $z$ (representing trajectory "style") is independent of the task parameter $\tau$, preventing the model from hiding task information in the latent space.
Key Insights and Ideas
- Symmetry as an Inductive Bias: Enforcing equivariance is more effective than simple data augmentation. By forcing the architecture to respect geometry, the model generalizes to new rotations and positions accurately.
- From Points to Manifolds: Learning a manifold provides a "menu" of options. If one trajectory is blocked, the robot can sample a different $z$ to find a collision-free alternative.
- The Power of Invariance: Ablation studies show that the invariant encoder and equivariant decoder are the primary drivers of performance, outperforming standard VAEs even with augmented data.
Results
The EMMP framework significantly outperformed the previous state-of-the-art (TC-VAE):
- Success Rate: In planar navigation, EMMP achieved a 92.4% success rate vs. 53.2% for TC-VAE.
- Real-World Robustness: In a water-pouring task with a Franka Panda robot, EMMP achieved a 100% success rate (20/20 trials), while TC-VAE succeeded in only 45%.
- Data Efficiency: EMMP maintained high accuracy even with very small datasets where non-equivariant models failed to capture the manifold's boundary correctly.
- Obstacle Avoidance: The model can perform obstacle avoidance at test time by searching the learned manifold for feasible paths, even if no obstacles were present during training.
Limitations
The model assumes all task manifolds have the same topology (homeomorphism). If a task's structure changes fundamentally based on a parameter, this assumption may fail. Additionally, symmetry groups must currently be manually defined, and independence regularization is not a perfect guarantee of latent-task separation.
Summary updated