Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Symplectic Neural Networks for learning Generalized Hamiltonians

About

Hamiltonian Neural Networks (HNNs) integrate physical priors into neural models by learning a system's Hamiltonian, improving generalization and sample efficiency. Identifying the system Hamiltonian from noisy observations of state variables is a challenging task. For simulations to faithfully reflect the long-term behavior of Hamiltonian systems, especially energy conservation, it is essential to use symplectic integrators, which preserve the system's geometric structure. This fidelity comes at a cost: implicit symplectic integrators are more computationally intensive and make backpropagation through the ODE solver non-trivial. However, by leveraging the fact that symplectic discretizations of the adjoint system yield the same sensitivities associated by backpropagation, we obtain an efficient method of training the Neural Network parameters. In our work, we explore this alternate method of HNN training under noisy observation of trajectories with our HNN model based on an implicit symplectic integrator. Computationally, a predictor-corrector based ODE solver and fixed point iteration help to mitigate the computational cost of the implicit timestepping, resulting in more efficient generation of gradient updates. We showcase the numerical advantage, in experiments, in system identification and energy preservation on a range of non-separable, chaotic systems and the efficient computation and memory complexity of our method. We also observe that the post-processing of the learned Hamiltonian using backward error analysis yields a modified Hamiltonian that is a more accurate approximation of the true Hamiltonian without the need to use more accurate discretizations of the flow map.

Harsh Choudhary, Vyacheslav Kungurtsev, Chandan Gupta, Melvin Leok, Georgios Korpas• 2026

Related benchmarks

TaskDatasetResultRank
Hamiltonian PredictionHenon-Heiles Random Uniform RU (test)
Mean Absolute Error (MAE)1.14
3
Hamiltonian PredictionHenon-Heiles Square Grid SG (test)
Mean Absolute Error1.02
3
Hamiltonian PredictionDouble Well Random Uniform RU (test)
MAE1
3
Hamiltonian PredictionDouble Well Square Grid (test)
Mean Absolute Error1.2
3
Hamiltonian PredictionDouble Well Gaussian (test)
MAE1.57
3
Hamiltonian PredictionKepler System Random Uniform RU (test)
Mean Absolute Error0.88
3
Hamiltonian PredictionKepler System Square Grid SG (test)
Mean Absolute Error0.86
3
Hamiltonian PredictionKepler System Gaussian (test)
MAE1.52
3
Hamiltonian PredictionCoupled Harmonic Oscillator Random Uniform (test)
Mean Absolute Error2.5
3
Hamiltonian PredictionCoupled Harmonic Oscillator Square Grid SG (test)
Mean Absolute Error2.6
3
Showing 10 of 12 rows

Other info

Follow for update