TLDR: KoopMotion is a novel robot motion planning method that leverages Koopman operator theory to learn smooth, stable, and goal-convergent flow fields from demonstrations. By introducing specific loss functions for divergence and goal convergence, it ensures trajectories are almost divergence-free and reliably reach their end points. The approach demonstrates high sample efficiency and superior performance over baselines in spatio-temporal metrics, validated through extensive simulations and experiments on a physical autonomous surface vehicle.
Robots learning to perform complex tasks by mimicking human demonstrations is a field known as Learning from Demonstrations (LfD). This approach is particularly useful when defining actions as optimization problems becomes too difficult. A new method called KoopMotion has been introduced to advance this area, focusing on generating smooth and stable motion plans for robots.
Traditional methods for learning dynamical systems for motion planning often rely on techniques like Gaussian Mixture Models (GMMs) or Neural Ordinary Differential Equations (NODEs). While effective, these methods can sometimes struggle with ensuring that a robot’s trajectory reliably converges to a desired end goal. Koopman operator theory offers a powerful way to model complex, nonlinear dynamical systems by transforming them into a higher-dimensional space where their dynamics become linear. However, applying Koopman theory directly to LfD for goal convergence has been a challenge.
KoopMotion addresses this by representing motion flow fields as dynamical systems, parameterized by Koopman Operators. The core innovation lies in two novel loss functions that guide the learning process. One loss function encourages the flow fields to be ‘almost divergence-free,’ meaning the motion remains neutral along the desired trajectory, preventing the robot from straying. The second loss function ensures that the robot’s trajectory converges precisely to the desired goal position.
This approach allows KoopMotion to learn from demonstrations and generate motion plans that are not only smooth but also inherently stable and goal-oriented. The system lifts the robot’s state into a higher-dimensional space using Fourier features, where a linear Koopman operator can then be learned to predict future states. This transformation simplifies the analysis of system stability, a significant advantage over many other methods.
The effectiveness of KoopMotion was rigorously evaluated using several datasets. It was tested on the 2D LASA human handwriting dataset, which includes complex, multi-modal motions, and a 3D manipulator end-effector trajectory dataset. The results showed that KoopMotion could accurately capture these intricate motions and guide robots from various starting points to the desired end goal without creating undesirable ‘spurious attractors.’
Quantitatively, KoopMotion demonstrated comparable performance to existing baselines in terms of Dynamic Time Warping Distance (DTWD), which measures shape similarity. Crucially, it significantly outperformed baselines in the Swept Error Area (SEA) metric, which accounts for both spatial and temporal alignment, indicating superior spatio-temporal dynamics modeling. Furthermore, spectral analysis of the learned Koopman operator confirmed the asymptotic stability of the generated motion plans.
Beyond simulations, KoopMotion was put to the test on a physical robot: a miniature autonomous surface vehicle (mASV) operating in a non-static fluid flow environment. The mASV successfully used the KoopMotion-generated flow fields to track desired trajectories and converge to goal positions, even in challenging conditions. This included multi-robot rendezvous scenarios where robots starting from different points converged to a single goal. The method proved to be highly sample-efficient, requiring only a small fraction of the training data to generate dense motion plans.
While KoopMotion offers significant advancements, the researchers acknowledge certain limitations. The current work provides empirical evidence of effectiveness but does not offer formal guarantees for all system properties. The divergence loss, while beneficial, can sometimes lead to a reduction in trajectory variation early in the demonstration. Additionally, the method relies on a low-level controller for deployment on real systems and does not explicitly account for the robot’s own dynamics during the learning process.
Also Read:
- Scaling Multi-Arm Robotics Through Diffusion Guidance
- Enhancing Multi-Agent Robot Learning with Symmetry Guidance
Despite these points, KoopMotion represents a promising step forward in robot motion planning, offering a data-driven, stable, and efficient way for robots to learn and execute complex movements from demonstrations. You can find the full research paper here: KoopMotion: Learning Almost Divergence-Free Koopman Flow Fields for Motion Planning.


