Hamiltonian neural networks for solving equations of motion

Marios Mattheakis, David Sondak, Akshunna S. Dogra, and Pavlos Protopapas
Phys. Rev. E 105, 065305 – Published 30 June 2022

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énon-Heiles dynamical system. In both systems, a symplectic Euler integrator requires two orders more evaluation points than the Hamiltonian network to achieve the same order of the numerical error in the predicted phase space trajectories.

  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Received 2 February 2022
  • Accepted 10 June 2022

DOI:https://doi.org/10.1103/PhysRevE.105.065305

©2022 American Physical Society

Physics Subject Headings (PhySH)

  1. Research Areas
Nonlinear Dynamics

Authors & Affiliations

Marios Mattheakis1,*, David Sondak1, Akshunna S. Dogra1,2,3, and Pavlos Protopapas1

  • 1John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, Massachusetts 02138, USA
  • 2Department of Mathematics, Imperial College London, London SW7 2AZ, United Kingdom
  • 3EPSRC CDT in Mathematics of Random Systems: Analysis, Modelling and Algorithms, London SW7 2AZ, United Kingdom

Article Text (Subscription Required)

Click to Expand

References (Subscription Required)

Click to Expand
Issue

Vol. 105, Iss. 6 — June 2022

Reuse & Permissions
Access Options
Author publication services for translation and copyediting assistance advertisement

Authorization Required


×
×

Images

×

Sign up to receive regular email alerts from Physical Review E

Log In

Cancel
×

Search


Article Lookup

Paste a citation or DOI

Enter a citation
×