Stable Port-Hamiltonian Neural Networks

Fabian J. Roth (Technische Universität Darmstadt) · Dominik K. Klein (Technische Universität Darmstadt) · Maximilian Kannapinn (Technische Universität Darmstadt) · Jan Peters (German Research Center for AI) · Oliver Weeger (Technische Universität Darmstadt)
artificial neural networksdata-driven surrogate modelingdissipationenergy conservationextrapolationglobal lyapunov stabilityinductive biasesinstabilitieslearned dynamicsmachine learning architecturemulti-physics simulation datanonlinear dynamic system identificationphysically implausible forecastsrobust learningsparse datastable port-hamiltonian neural networks

In recent years, nonlinear dynamic system identification using artificial neural networks has garnered attention due to its broad potential applications across science and engineering. However, purely data-driven approaches often struggle with extrapolation and may yield physically implausible forecasts. Furthermore, the learned dynamics can exhibit instabilities, making it difficult to apply such models safely and robustly. This article introduces stable port-Hamiltonian neural networks, a machine learning architecture that incorporates physical biases of energy conservation and dissipation while ensuring global Lyapunov stability of the learned dynamics. Through illustrative and real-world examples, we demonstrate that these strong inductive biases facilitate robust learning of stable dynamics from sparse data, while avoiding instability and surpassing purely data-driven approaches in accuracy and physically meaningful generalization. Furthermore, the model's applicability and potential for data-driven surrogate modeling are showcased on multi-physics simulation data.