Hamiltonian neural networks for solving equations of motion

Citation:

Marios Mattheakis, David Sondak, Akshunna S. Dogra, and Pavlos Protopapas. 6/30/2022. “Hamiltonian neural networks for solving equations of motion.” Phys. Rev. E, 105, Pp. 065305. Publisher's Version Copy at https://tinyurl.com/y7ey8v9w

Abstract:

There has been a wave of interest in applying machine learning to study dynamical systems. We present a Hamiltonian neural network that solves the differential equations that govern dynamical systems. This is an equation-driven machine learning method where the optimization process of the network depends solely on the predicted functions without using any ground truth data. The model learns solutions that satisfy, up to an arbitrarily small error, Hamilton’s equations and, therefore, conserve the Hamiltonian invariants. The choice of an appropriate activation function drastically improves the predictability of the network. Moreover, an error analysis is derived and states that the numerical errors depend on the overall network performance. The Hamiltonian network is then employed to solve the equations for the nonlinear oscillator and the chaotic H ́enon-Heiles dynamical system. In both systems, a symplectic Euler integrator requires two orders more evaluation points than the Hamiltonian network in order to achieve the same order of the numerical error in the predicted phase space trajectories.

 

Notes:

The codes that reproduce the results can be found here:

 

or
 
 

 

Last updated on 06/30/2022