Learning Stable and Passive Neural Differential Equations
Jing Cheng, Ruigang Wang, Ian R. Manchester
TL;DR
This work addresses learning stable neural differential equations by enforcing Lyapunov-based stability and passivity. It introduces stable Hamiltonian neural dynamics (SHND), where a PLNet-based Hamiltonian $H$ guides the flow through $\,\dot{x}=[J(x)-R(x)]\nabla H(x)$, with $J$ skew-symmetric and $R$ positive semi-definite; when $R\succeq \epsilon I$, the system achieves global exponential stability with rate $\lambda=\epsilon\mu^2$ and controllable overshoot. A passive port-Hamiltonian extension adds input-output ports that preserve passivity via $\dot H\le u^T y$, enabling passivity-based control insights. The approach leverages a bi-Lipschitz network to construct $H$ with quadratic bounds, ensuring both lower and upper bounds on the Lyapunov function and robust stability guarantees. Empirical results on a damped double pendulum show SHND outperforms Lyapunov-projection baselines in fitting, simulation accuracy, and robustness, while providing explicit stability guarantees that are valuable for control-oriented modeling and safe deployment.
Abstract
In this paper, we introduce a novel class of neural differential equation, which are intrinsically Lyapunov stable, exponentially stable or passive. We take a recently proposed Polyak Lojasiewicz network (PLNet) as an Lyapunov function and then parameterize the vector field as the descent directions of the Lyapunov function. The resulting models have a same structure as the general Hamiltonian dynamics, where the Hamiltonian is lower- and upper-bounded by quadratic functions. Moreover, it is also positive definite w.r.t. either a known or learnable equilibrium. We illustrate the effectiveness of the proposed model on a damped double pendulum system.
