KoopMotion: Learning Almost Divergence Free Koopman Flow Fields for Motion Planning
Alice Kate Li, Thales C Silva, Victoria Edwards, Vijay Kumar, M. Ani Hsieh
TL;DR
KoopMotion addresses the challenge of learning motion plans from demonstrations with convergence guarantees by combining Koopman operator theory with Fourier-feature lifting to produce flow fields for motion planning. It introduces two novel losses: an almost divergence-free flow constraint and a goal-convergence constraint, incorporated into a unified loss $L_{Koopman}$, $L_{FlowDivergence}$, and $L_{Goal}$, and demonstrates that the learned discrete-time Koopman model yields stable, convergent trajectories that track desired motions even from outside the training set. The approach achieves strong performance on 2D LASA handwriting data, 3D end-effector trajectories, and hardware experiments with a miniature autonomous surface vehicle, while requiring as little as 3% of the LASA data. Spectral analysis of the learned Koopman operator confirms asymptotic stability, and the method shows favorable improvements in the swept area metric over baselines, indicating better spatiotemporal fidelity and robustness to disturbances. Overall, KoopMotion provides a sample-efficient framework for motion planning with convergence properties, offering practical impact for robust robot motion under disturbances and in dynamic environments.
Abstract
In this work, we propose a novel flow field-based motion planning method that drives a robot from any initial state to a desired reference trajectory such that it converges to the trajectory's end point. Despite demonstrated efficacy in using Koopman operator theory for modeling dynamical systems, Koopman does not inherently enforce convergence to desired trajectories nor to specified goals - a requirement when learning from demonstrations (LfD). We present KoopMotion which represents motion flow fields as dynamical systems, parameterized by Koopman Operators to mimic desired trajectories, and leverages the divergence properties of the learnt flow fields to obtain smooth motion fields that converge to a desired reference trajectory when a robot is placed away from the desired trajectory, and tracks the trajectory until the end point. To demonstrate the effectiveness of our approach, we show evaluations of KoopMotion on the LASA human handwriting dataset and a 3D manipulator end-effector trajectory dataset, including spectral analysis. We also perform experiments on a physical robot, verifying KoopMotion on a miniature autonomous surface vehicle operating in a non-static fluid flow environment. Our approach is highly sample efficient in both space and time, requiring only 3\% of the LASA dataset to generate dense motion plans. Additionally, KoopMotion provides a significant improvement over baselines when comparing metrics that measure spatial and temporal dynamics modeling efficacy. Code at: \href{https://alicekl.github.io/koop-motion/}{\color{blue}{https://alicekl.github.io/koop-motion}}.
