Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints
Reasoning about the physical world requires models that are endowed with the right inductive biases to learn the underlying dynamics. Recent works improve generalization for predicting trajectories by learning the Hamiltonian or Lagrangian of a system rather than the differential equations directly. While these methods encode the constraints of the systems using generalized coordinates, we show that embedding the system into Cartesian coordinates and enforcing the constraints explicitly with Lagrange multipliers dramatically simplifies the learning problem. We introduce a series of challenging chaotic and extended-body systems, including systems with N-pendulums, spring coupling, magnetic fields, rigid rotors, and gyroscopes, to push the limits of current approaches. Our experiments show that Cartesian coordinates with explicit constraints lead to a 100x improvement in accuracy and data efficiency.
Code (1)
Similar Papers 제목 키워드 기반
On a geometric description of time dependent singular Lagrangians with applications to biological systems
We consider certain analytical features of a stochastic model that can explain among other things competition among species and simultaneous predation on the competing species from a geometric perspective which allows fo…
Phase space integrity in neural network models of Hamiltonian dynamics: A Lagrangian descriptor approach
We propose Lagrangian Descriptors (LDs) as a diagnostic framework for evaluating neural network models of Hamiltonian systems beyond conventional trajectory-based metrics. Standard error measures quantify short-term pred…
Extending Lagrangian and Hamiltonian Neural Networks with Differentiable Contact Models
The incorporation of appropriate inductive bias plays a critical role in learning dynamics from data. A growing body of work has been exploring ways to enforce energy conservation in the learned dynamics by encoding Lagr…
Contact mechanicsFrictionInductive BiasEnhancing the Inductive Biases of Graph Neural ODE for Modeling Dynamical Systems
Neural networks with physics based inductive biases such as Lagrangian neural networks (LNN), and Hamiltonian neural networks (HNN) learn the dynamics of physical systems by encoding strong inductive biases. Alternativel…
The Port-Hamiltonian Structure of Vehicle Manipulator Systems
This paper presents a port-Hamiltonian formulation of vehicle-manipulator systems (VMS), a broad class of robotic systems including aerial manipulators, underwater manipulators, space robots, and omnidirectional mobile m…