Symplectic ODE-Net: Learning Hamiltonian Dynamics with Control
Yaofeng Desmond Zhong, Biswadip Dey, Amit Chakraborty
TL;DR
SymODEN addresses learning dynamical systems with physical structure by enforcing Hamiltonian dynamics with control, enabling energy conservation and interpretable insights into system properties. It learns a parameterized Hamiltonian via neural nets for the inverse mass matrix, potential energy, and input map, integrated through differentiable ODE solvers to predict state trajectories. The paper extends to embedded angle data and hybrid spaces, introduces an energy-shaping-based control perspective, and demonstrates improved generalization with fewer training samples across pendulum, CartPole, and Acrobot tasks. These results suggest a practical path toward reliable model-based control for nonlinear physical systems using physics-informed neural networks.
Abstract
In this paper, we introduce Symplectic ODE-Net (SymODEN), a deep learning framework which can infer the dynamics of a physical system, given by an ordinary differential equation (ODE), from observed state trajectories. To achieve better generalization with fewer training samples, SymODEN incorporates appropriate inductive bias by designing the associated computation graph in a physics-informed manner. In particular, we enforce Hamiltonian dynamics with control to learn the underlying dynamics in a transparent way, which can then be leveraged to draw insight about relevant physical aspects of the system, such as mass and potential energy. In addition, we propose a parametrization which can enforce this Hamiltonian formalism even when the generalized coordinate data is embedded in a high-dimensional space or we can only access velocity data instead of generalized momentum. This framework, by offering interpretable, physically-consistent models for physical systems, opens up new possibilities for synthesizing model-based control strategies.
