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 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.
Code (1)
Tasks
Contact mechanicsFrictionInductive BiasSimilar Papers 제목 키워드 기반
Lagrangian Neural Network with Differentiable Symmetries and Relational Inductive Bias
Realistic models of physical world rely on differentiable symmetries that, in turn, correspond to conservation laws. Recent works on Lagrangian and Hamiltonian neural networks show that the underlying symmetries of a sys…
Inductive BiasFast and Feature-Complete Differentiable Physics for Articulated Rigid Bodies with Contact
We present a fast and feature-complete differentiable physics engine, Nimble (nimblephysics.org), that supports Lagrangian dynamics and hard contact constraints for articulated rigid body simulation. Our differentiable p…
Momentum Conserving Lagrangian Neural Networks
Realistic models of physical world rely on differentiable symmetries that, in turn, correspond to conservation laws. Recent works on Lagrangian and Hamiltonian neural networks show that the underlying symmetries of a sys…
Inductive BiasOn 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…
A Bayesian framework for discovering interpretable Lagrangian of dynamical systems from data
Learning and predicting the dynamics of physical systems requires a profound understanding of the underlying physical laws. Recent works on learning physical laws involve generalizing the equation discovery frameworks to…
Equation Discovery