Goto

Collaborating Authors

 explicit constraint




Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints

Neural Information Processing Systems

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.




Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints

Neural Information Processing Systems

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.


Review for NeurIPS paper: Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints

Neural Information Processing Systems

I could not find where it was defined. Sorry if I just missed it somewhere. If I should say something more here, I would say that negative examples, if any, could make the discussion more complete. I understand that the proposed parameterization, seemingly just an incremental modification, is advantageous in many problems of physics learning as the Cartesian coordinate is an orthodox representation. Meanwhile, could you elaborate on cases where the proposed parameterization is not really advantageous and constitute such examples numerically?


Review for NeurIPS paper: Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints

Neural Information Processing Systems

The paper proposes to learn physical systems by embedding the system into Cartesian coordinates with explicit constraints. The reviewers agree the paper is novel but also suggest adding real-world data experiments.


Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints

Neural Information Processing Systems

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.


Enhancing the Inductive Biases of Graph Neural ODE for Modeling Dynamical Systems

Bishnoi, Suresh, Bhattoo, Ravinder, Ranu, Sayan, Krishnan, N. M. Anoop

arXiv.org Artificial Intelligence

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. Alternatively, Neural ODEs with appropriate inductive biases have also been shown to give similar performances. However, these models, when applied to particle based systems, are transductive in nature and hence, do not generalize to large system sizes. In this paper, we present a graph based neural ODE, GNODE, to learn the time evolution of dynamical systems. Further, we carefully analyse the role of different inductive biases on the performance of GNODE. We show that, similar to LNN and HNN, encoding the constraints explicitly can significantly improve the training efficiency and performance of GNODE significantly. Our experiments also assess the value of additional inductive biases, such as Newtons third law, on the final performance of the model. We demonstrate that inducing these biases can enhance the performance of model by orders of magnitude in terms of both energy violation and rollout error. Interestingly, we observe that the GNODE trained with the most effective inductive biases, namely MCGNODE, outperforms the graph versions of LNN and HNN, namely, Lagrangian graph networks (LGN) and Hamiltonian graph networks (HGN) in terms of energy violation error by approx 4 orders of magnitude for a pendulum system, and approx 2 orders of magnitude for spring systems. These results suggest that competitive performances with energy conserving neural networks can be obtained for NODE based systems by inducing appropriate inductive biases.