Skip to content
Preprint

A matched-integrator evaluation of Hamiltonian neural networks on pendulum and Kepler dynamics

Aug 2026 · 0 citations · 11 references
Computer Science

TL;DR

These experiments provide a controlled study of how Hamiltonian parameterization affects long-horizon prediction and physical consistency across two conservative dynamical systems.

Abstract

Hamiltonian Neural Networks (HNNs) parameterize conservative dynamics through a learned scalar Hamiltonian, providing an architectural prior that is absent from generic vector-field neural networks. We evaluate this prior under a controlled protocol in which an HNN and a parameter-matched feedforward baseline are trained on the same RK4-generated trajectories, use the same central-difference derivative targets and optimization settings, and are integrated at inference with the same RK4 scheme. Results are reported over five independent training seeds. On the nonlinear pendulum, the HNN reduces mean energy drift by 42-fold and mean trajectory MSE by 15.8-fold at T = 100, approximately 16 pendulum periods. Its energy drift also remains bounded and exhibits substantially lower seed-to-seed variability than the standard-network baseline. An energy-stratified analysis shows that the difference becomes more pronounced as trajectories explore more nonlinear regions of phase space. As an additional diagnostic, we examine an explicit St\"ormer--Verlet-style rollout of the learned HNN. Because the learned Hamiltonian is not constrained to the separable form H(q,p) = T(p) + V(q), the standard symplecticity guarantee of velocity Verlet does not directly apply. We further apply the same matched-integrator protocol to the three-dimensional Kepler two-body problem. The HNN again exhibits lower trajectory, energy, and angular-momentum drift than the parameter-matched baseline. These experiments provide a controlled study of how Hamiltonian parameterization affects long-horizon prediction and physical consistency across two conservative dynamical systems.

View source

Similar papers

Preprint Aug 2026

Adaptive Stability-Constrained Neural Differential Equations for Controlled Dynamical Systems with Unknown Inputs

An adaptive stability-constrained neural differential equation (AS-NDE) for systems with measured controls and unmatched, unknown perturbations and a reproducible evaluation protocol for a forced Duffing oscillator and a permanent-magnet synchronous motor model is given.

Syed Pouladi · 0 citations
Preprint Sep 2026

Port-Hamiltonian Koopman Operator Synthesis for Mechanical Systems

This work presents a structure-preserving Koopman framework for Euler-Lagrange systems built on generalized-momentum coordinates, and demonstrates improved prediction accuracy, data efficiency, and closed-loop tracking over Koopman baselines, with increasing gains for higher-dimensional systems.

Rajpal Singh, Aditya Singh, J. Keshavan · 0 citations
Conference Aug 2026

Comparative Study of Neural State-Space Models for Nonlinear Pendulum Identification

This paper presents a simulation-based comparative study of neural state-space models (NSSMs) for the identification of a damped and forced nonlinear pendulum. Three model variants are considered: a baseline data-driven NSSM, a physics-informed NSSM, and a Lyapunov-constrained NSSM. A total of 50 training runs were exe...

P. Bałazy, Krzysztof Lalik, Adam Szulęcki et al. · 0 citations
Preprint Aug 2026

Long-Time Trajectory Approximation via SA-NODEs: Model Predictive and Floquet Strategies

We study the approximation of dynamical systems by semi-autonomous neural ordinary differential equations (SA-NODEs) over long time horizons. For a single network trained on the whole horizon, the available error bound deteriorates double exponentially in the horizon length. We develop two training strategies that avoi...

Zi-Qian Li, Nikolaos M. Matzakos · 0 citations
Jul 2026

Extrapolating the emergence of Hamiltonian chaos with random-feature Hamiltonian neural networks

This is the first demonstration that a learned Hamiltonian can qualitatively extrapolate from predominantly regular dynamics into a broad chaotic sea absent from training, and what decides parameter extrapolation is not Hamiltonian structure alone but how the fitted Hamiltonian continues in the control parameter.

Jaesung Choi · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.