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

cs.LG cs.SY eess.SY Simon Heilig, Jens P\"uttschneider, Mohammad Itani, Asja Fischer, Timm Faulwasser · Oct 1, 2026
Local to this browser
What it does
Standard stable port-Hamiltonian neural networks (s-PHNNs) enforce a single global minimum in the learned Hamiltonian, limiting them to systems with exactly one attractor. The authors overcome this by parametrizing the Hamiltonian as a...
Why it matters
The authors overcome this by parametrizing the Hamiltonian as a product of Bregman divergences generated by a single fully input-convex neural network (FICNN), yielding a model---the ms-PHNN---that can represent multiple asymptotically...
Main concern
The paper offers a clean, theoretically grounded extension of s-PHNNs to multi-attractor systems. The product-Hamiltonian construction is elegant and parameter-efficient, and the analysis---combining Lyapunov arguments, the mountain pass...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Standard stable port-Hamiltonian neural networks (s-PHNNs) enforce a single global minimum in the learned Hamiltonian, limiting them to systems with exactly one attractor. The authors overcome this by parametrizing the Hamiltonian as a product of Bregman divergences generated by a single fully input-convex neural network (FICNN), yielding a model---the ms-PHNN---that can represent multiple asymptotically stable equilibria while retaining local stability certificates by construction. This matters because many physical systems, from buckled beams to magnetic pendulums, exhibit multi-stable energy landscapes that existing guaranteed-stable neural ODEs cannot capture.

Critical review
Verdict
Bottom line

The paper offers a clean, theoretically grounded extension of s-PHNNs to multi-attractor systems. The product-Hamiltonian construction is elegant and parameter-efficient, and the analysis---combining Lyapunov arguments, the mountain pass theorem, and stable manifold theory---provides a coherent set of guarantees. However, the strongest guarantee (almost-global stability) rests on a hyperbolicity assumption that is only verified numerically after training, and the experiments are limited to three low-dimensional synthetic benchmarks. It is a solid contribution to physics-informed learning, but its practical breadth remains to be tested.

“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.”
paper · Abstract
What holds up

The motivational example is compelling: the authors show that an s-PHNN trained on the Duffing oscillator learns only one of its two stable equilibria because the architecture is globally asymptotically stable by design. The proposed fix---a multiplicative Hamiltonian $H_{\bm{\theta}}(\bm{x})=\prod_{k=1}^{m}D_{\bm{\theta},k}(\bm{x})$ built from a single FICNN---is simple yet effective, and the theory developed around it is rigorous. Local asymptotic stability of the target equilibria is proven via standard Lyapunov arguments, the existence and boundedness of extra equilibria are established via the mountain pass theorem and gradient bounds, and the almost-global convergence claim is defended with the stable manifold theorem. The separable canonical variant for mechanical systems is a useful specialization that relaxes the dissipation requirement to the momenta only.

“the s-PHNN can only learn one of the two stable equilibria of the Duffing oscillator. This is precisely what one would expect from the inductive bias imposed by the global asymptotic stability guarantee of the s-PHNN: it can have only one attractor and hence cannot capture the bistable nature of the Duffing oscillator”
paper · Section 2
“Then, for each minimum-energy equilibrium $\bar{\bm{x}}_{i}\in\bar{\mathbb{X}}$, $H_{\bm{\theta}}$ is a suitable Lyapunov function for showing local stability of $\bar{\bm{x}}_{i}$, and therefore $\bar{\bm{x}}_{i}$ is a stable equilibrium.”
paper · Section 3.1, Theorem 1
Main concerns

The almost-global asymptotic stability guarantee in Theorem 2 hinges on Assumption 2, which requires that every non-target equilibrium be hyperbolic with at least one unstable direction. This is a strong, non-constructive prior: the authors verify it only numerically after training for their specific benchmarks, and it is unclear how to enforce it during learning in general.
The experiments are also very small-scale---the state dimensions are 2 and 4---and the model is given the number and approximate locations of the equilibria at initialization. The harder four-magnet task already shows the ms-PHNN trailing the unconstrained NODE in test derivative RMSE, suggesting the inductive bias can become a liability when the landscape is more complex or capacity is limited. The s-PHNN baseline performs so poorly that it functions more as a strawman than a competitive benchmark; comparisons to richer baselines (e.g., ensembles or region-of-attraction methods) are missing.

“having a slightly decreased performance on the harder Four-Magnets task”
paper · Section 4
“we also conduct a numerical verification of our Assumption 2 asserting that our ms-PHNN indeed locates all target equilibria of the ground truth systems.”
paper · Section 4 / Appendix C
Evidence and comparison

The evidence clearly supports the central claim that the multiplicative architecture captures multiple stable equilibria where the s-PHNN cannot. Figure 1 and Table 1 show that the ms-PHNN recovers the correct energy surface on the Duffing oscillator and achieves lower derivative RMSE than both s-PHNN and, in two of three cases, the unconstrained NODE. The convergence speedup of $1.8\times$-$8.5\times$ relative to NODE is measured by the number of optimizer steps needed to reach the final NODE loss level on a derivative-fitting objective; this is a valid metric, but it does not establish superiority on long-term trajectory rollouts, which are not reported. The comparison to related work is fair in establishing the architectural limitation of convex-Hamiltonian approaches, yet it omits discussion of whether alternative multi-modal Lyapunov constructions or mixture models could achieve similar guarantees without the product structure.

“ms-PHNN ... speedup $8.5\pm 2.1$”
paper · Table 1
“improve the convergence speed by $1.8\times$-$8.5\times$”
paper · Abstract
Reproducibility

The authors describe the network architecture, optimizer settings, and data generation in Appendix C. However, no code repository or data link is provided, and several details that matter for reproduction are underspecified: the exact initialization scheme for the FICNN weight matrices, the precise Gaussian noise scale used to perturb the ground-truth equilibria at initialization, and the rejection-sampling code for the batch-covering scheme. Because the stability proofs rely on architectural constraints (non-negative weights in the FICNN, enforced skew-symmetry of $\bm{J}_{\bm{\theta}}$, positive definiteness of $\bm{R}_{\bm{\theta}}$), an independent reimplementation without reference code is error-prone.

“FICNNs with softplus activation function and two hidden layers of size 16 and 32 for the Duffing systems and Four-Magnets respectively”
paper · Section 4, Setup
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 parametrising 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$\times$-8.5$\times$.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.