Extending Lagrangian and Hamiltonian Neural Networks with Differentiable Contact Models
Yaofeng Desmond Zhong, Biswadip Dey, Amit Chakraborty
Abstract
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 Lagrangian or Hamiltonian dynamics into the neural network architecture. These existing approaches are based on differential equations, which do not allow discontinuity in the states and thereby limit the class of systems one can learn. However, in reality, most physical systems, such as legged robots and robotic manipulators, involve contacts and collisions, which introduce discontinuities in the states. In this paper, we introduce a differentiable contact model, which can capture contact mechanics: frictionless/frictional, as well as elastic/inelastic. This model can also accommodate inequality constraints, such as limits on the joint angles. The proposed contact model extends the scope of Lagrangian and Hamiltonian neural networks by allowing simultaneous learning of contact and system properties. We demonstrate this framework on a series of challenging 2D and 3D physical systems with different coefficients of restitution and friction. The learned dynamics can be used as a differentiable physics simulator for downstream gradient-based optimization tasks, such as planning and control. 1 2 BP5-e
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers12
- Learning Physical Dynamics with Subequivariant Graph Neural NetworksJiaqi Han, Wenbing Huang, Hengbo Ma, Jiachen Li et al.NeurIPS 2022 · 72 citations
- Deconstructing the Inductive Biases of Hamiltonian Neural NetworksNate Gruver, Marc Anton Finzi, Samuel Don Stanton, Andrew Gordon WilsonICLR 2022 · 50 citations
- Learning Physics Constrained Dynamics Using AutoencodersTsung-Yen Yang, Justinian Rosca, Karthik Narasimhan, Peter J. RamadgeNeurIPS 2022 · 39 citations
- ModLaNets: Learning Generalisable Dynamics via Modularity and Physical Inductive BiasYupu Lu, Shijie Lin, Guanqi Chen, Jia PanICML 2022 · 10 citations
- DEL: Discrete Element Learner for Learning 3D Particle Dynamics with Neural RenderingJiaxu Wang, Jingkai Sun, Ziyi Zhang, Junhao He et al.NeurIPS 2024 · 5 citations
Related papers
- Efficient Differentiable Contact Model with Long-range InfluenceXiaohan Ye, Kui Wu, Taku Komura, Zherong PanICLR 2026 · 2 citations
- Geometric Contact Flows: Contactomorphisms for Dynamics and ControlAndrea Testa, Søren Hauberg, Tamim Asfour, Leonel RozoICML 2025
- Deep Energy-based Modeling of Discrete-Time PhysicsTakashi Matsubara, Ai Ishikawa, Takaharu YaguchiNeurIPS 2020 · 46 citations
- Differentiable Simulation of Soft Multi-body SystemsYi-Ling Qiao, Junbang Liang, Vladlen Koltun, Ming C. LinNeurIPS 2021 · 61 citations
- Learning Articulated Rigid Body Dynamics with Lagrangian Graph Neural NetworkRavinder Bhattoo, Sayan Ranu, N. M. Anoop KrishnanNeurIPS 2022 · 39 citations
