Solving Hamiltonian Systems Based on a Data-driven Deep Learning Algorithm

1Kırklareli University
2Tekirdağ Namık Kemal University
Social Science Research Network (SSRN), 2024
📢 Accepted for publication in Sigma Journal of Engineering and Natural Sciences , in press (to appear April 2026)
*Indicates Equal Contribution
Sixth research result visualization

The proposed method consists of three steps. In the first step, the system is solved with a solver for a small number of points, ts. In the second step, training is performed using the data points obtained, with a model that employs an MSE loss function, and additional data points are predicted for tm using the model. In the final step, training is conducted with a model that employs an energy-conserving loss function, and predictions are made for tp. As a result, the final model gains the capability to make predictions for any t.

Abstract

Hamiltonian systems possess important properties, such as the preservation of the symplectic structure and the conservation of energy. Traditional numerical iteration methods generally violate these properties. This paper proposes a data-driven deep learning algorithm to solve separable Hamiltonian systems. It is computationally efficient and scalable. The proposed algorithm tries to hold the balance between symplectic and energy-conserving. Additionally, it can work efficiently with few data points, and the obtained solution is continuous. The algorithm consists of three main steps: (i) obtaining data points from a solver, (ii) data augmentation, and (iii) ensuring energy conservation. The algorithm was evaluated on the simple harmonic oscillator, nonlinear oscillator, and Lotka-Volterra systems. The proposed algorithm has demonstrated successful performance across all these systems despite the few data. In conclusion, it has been experimentally demonstrated that the proposed method is effective even with few data points. Furthermore, the proposed algorithm can effectively work regardless of the solver chosen in all examples.

BibTeX

@article{Unal2026SolvingHamiltonian,
        title={Solving Hamiltonian Systems Based on a Data-driven Deep Learning Algorithm},
        author={Tayfun Ünal, Ayten İrem Işık, and Ünver Çiftçi},
        journal={Social Science Research Network (SSRN)},
        year={2024},
        url={http://dx.doi.org/10.2139/ssrn.4471685}
        }
Article views