Reactive Motion Generation via
Phase-varying Neural Potential Functions


Ahmet E Tekden1      Dimitrios Kanoulas2      Aude Billard3      Yasemin Bekiroglu1,2

1Chalmers University of Technology
2University College London
3Ecole Polytechnique Federale de Lausanne


Abstract

Dynamical systems (DS) methods for Learning-from-Demonstration (LfD) provide stable, continuous policies from few demonstrations. First-order dynamical systems (DS) are effective for many point-to-point and periodic tasks, as long as each position maps to a unique velocity. For tasks with intersections (e.g., drawing an “8”), extensions such as second-order dynamics or phase variables are often used. Second-order models incorporate velocity, but this makes them sensitive to disturbances near intersections because they require accurate velocity observations. They can also become ambiguous when similar motion segments produce nearly identical position–velocity pairs that should lead to different onward motions. In contrast, phase-based methods rely on open-loop time or phase variables, which limit their ability to recover after perturbations. We introduce Phase-varying Neural Potential Functions (PNPF), an LfD framework that conditions a potential function on a closed-loop phase variable, which is estimated directly from state progression, rather than on open-loop temporal inputs. This phase variable allows the system to handle state revisits, while the learned potential function generates local vector fields for reactive and stable control. PNPF generalizes effectively across point-to-point, periodic, and full 6D motion tasks, outperforms existing baselines on trajectories with intersections, and demonstrates robust performance in real-time robotic manipulation under external disturbances.


Code

Coming Soon

Supplementary Video