Hamiltonian neural networks with automatic symmetry detection

Chaos. 2023 Jun 1;33(6):063115. doi: 10.1063/5.0142969.

Abstract

Recently, Hamiltonian neural networks (HNNs) have been introduced to incorporate prior physical knowledge when learning the dynamical equations of Hamiltonian systems. Hereby, the symplectic system structure is preserved despite the data-driven modeling approach. However, preserving symmetries requires additional attention. In this research, we enhance HNN with a Lie algebra framework to detect and embed symmetries in the neural network. This approach allows us to simultaneously learn the symmetry group action and the total energy of the system. As illustrating examples, a pendulum on a cart and a two-body problem from astrodynamics are considered.