arXiv:2610.01356cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01356

Port-Hamiltonian Neural Networks for Systems with Multiple Asymptotically Stable Equilibria

Simon Heilig, Jens Püttschneider, Mohammad Itani, Asja Fischer, Timm Faulwasser

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Stable port-Hamiltonian neural networks certify asymptotic stability by construction. Yet, their Hamiltonian is a global Lyapunov function with a single global minimum, so they can represent only dynamic systems with one attractor. We demonstrate that this excludes even simple systems with energy landscapes forming a double well, and we overcome the restriction by parametising the Hamiltonian as a product of Bregman divergences generated by one input-convex network. We prove that the resulting model is locally Lyapunov stable, that the coexistence of stable equilibria forces additional non-asymptotically-stable equilibria to exist, that all equilibria lie in a bounded region, and under a hyperbolicity assumption that almost-everywhere stability holds. On three systems our approach is able to recover the energy surface characteristics and improve the convergence speed by 1.8×−8.5×1.8 \times -8.5 \times.

1 Introduction

Neural ODEs [Chen et al., 2018] and their physics-informed variants fit a vector field to observed trajectories, restricting the hypothesis class to what is known about the physics: Hamiltonian networks conserve energy [Greydanus et al., 2019], and port-Hamiltonian neural networks (PHNNs) [Desai et al., 2021, Neary and Topcu, 2023, Cherifi et al., 2026] add dissipation and external ports [van der Schaft and Jeltsema, 2014]. Such a bias gives a certificate: the energy dissipation holds across the parameters, so stability guarantees follow from the architecture, and it buys efficiency, since a hypothesis class matching the data-generating process needs fewer samples and fewer optimiser steps [Drgoña et al., 2025].

Stability guarantees for learned dynamics have moved from correction to construction: Kolter and Manek [2019] project a freely learned vector field onto the halfspace certified by an input-convex Lyapunov function with the fully input-convex network (FICNN) [Amos et al., 2017]. Instead, Yu et al. [2021] rely on a generalized Onsager decomposition of the dissipative and conservative parts, and Roth et al. [2025] make the Hamiltonian convex, forming a stable port-Hamiltonian network (s-PHNN) allowing for a strong statement about the neural network's behavior: an s-PHNN is globally asymptotically stable for every parameter value, naturally transferring to inference time.

Many dissipative systems of interest are not globally asymptotically stable with respect to one equilibrium: a buckled beam settles into one of two deflected shapes and a pendulum over magnets onto one of the magnets. These systems have finitely many isolated attractors separated by saddles, with basins partitioning state space up to a null set. Breunung and Kogelbauer [2025] uses Koopman

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AXIOM - Foundations of Efficient Deep Learning.

Figure

(a) s-PHNN

(b) ms-PHNN (ours)

(c) Training & validation loss

Figure 1: Energy landscape and two trajectories of the Duffing oscillator for (a) the fitted s-PHNN and (b) our ms-PHNN, showing that the ms-PHNN captures both asymptotically stable equilibria, whereas the s-PHNN learns only one. (c) Training and validation derivative loss for neural ODE (NODE), s-PHNN, and our ms-PHNN, median over 10 seeds.

representations to model such systems, leaving their model without rigorous stability guarantees. This is complementary to Lyapunov-based region-of-attraction certification [Richards et al., 2018] and to projection-based construction of asymptotically stable invariant sets [Takeishi and Kawahara, 2021].

Contributions. (i) We draw upon the Duffing oscillator [Haddad and Chellaboina, 2008] to illustrate that s-PHNNs cannot represent a system with multiple stable equilibria dynamics due to its global asymptotic stability guarantee. (ii) We propose an extension via a multiplicative Hamiltonian, where each factor captures one stable equilibrium, and evaluate it on three systems with multiple stable equilibria. (iii) We provide theoretical guarantees for the local asymptotic stability of the minimum-energy equilibria, the existence and boundedness of other equilibria, and almost-global asymptotic stability of the stable equilibria.

References (37)