mlsanityData to 7 Oct 2026

Improving Gradient Computation for Differentiable Physics Simulation with Contacts

arXiv 2305.00092 ↗First posted 28 Apr 2023cs.LG cs.AI cs.ROcited by 5

Not on the map. Why?

Abstract (arXiv)

Differentiable simulation enables gradients to be back-propagated through physics simulations. In this way, one can learn the dynamics and properties of a physics system by gradient-based optimization or embed the whole differentiable simulation as a layer in a deep learning model for downstream tasks, such as planning and control. However, differentiable simulation at its current stage is not perfect and might provide wrong gradients that deteriorate its performance in learning tasks. In this paper, we study differentiable rigid-body simulation with contacts. We find that existing differentiable simulation methods provide inaccurate gradients when the contact normal direction is not fixed - a general situation when the contacts are between two moving objects. We propose to improve gradient computation by continuous collision detection and leverage the time-of-impact (TOI) to calculate the post-collision velocities. We demonstrate our proposed method, referred to as TOI-Velocity, on two optimal control problems. We show that with TOI-Velocity, we are able to learn an optimal control sequence that matches the analytical solution, while without TOI-Velocity, existing differentiable simulation methods fail to do so.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 24 of its 41 references that are in the map. First posted on arXiv 28 Apr 2023.

Builds on

24 of 41 references.

References · 24

  1. 2019Differentiable Convex Optimization Layerscited by 458
  2. 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 375
  3. 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
  4. 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 107
  5. 2022Accelerated Policy Learning with Parallel Differentiable Simulationcited by 92
  6. 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
  7. 2020NeuralSim: Augmenting Differentiable Simulators with Neural Networkscited by 77
  8. 2020Scalable Differentiable Physics for Learning and Controlcited by 72
  9. 2021DiffCloth: Differentiable Cloth Simulation with Dry Frictional Contactcited by 64
  10. 2021DiffPD: Differentiable Projective Dynamicscited by 62
  11. 2021DiSECt: A Differentiable Simulation Engine for Autonomous Robotic Cuttingcited by 62
  12. 2021An End-to-End Differentiable Framework for Contact-Aware Robot Designcited by 53
12 more
  1. 2021Fast and Feature-Complete Differentiable Physics for Articulated Rigid Bodies with Contactcited by 50
  2. 2022Grasp'D: Differentiable Contact-rich Grasp Synthesis for Multi-fingered Handscited by 49
  3. 2021Efficient Differentiable Simulation of Articulated Bodiescited by 38
  4. 2021Extending Lagrangian and Hamiltonian Neural Networks with Differentiable Contact Modelscited by 33
  5. 2021Bundled Gradients through Contact via Randomized Smoothingcited by 23
  6. 2020Learning Physical Constraints with Neural Projectionscited by 19
  7. 2020ADD: Analytically Differentiable Dynamics for Multi-Body Systems with Frictional Contactcited by 17
  8. 2021DiffSDFSim: Differentiable Rigid-Body Dynamics With Implicit Shapescited by 14
  9. 2020Learning to Slide Unknown Objects with Differentiable Physics Simulationscited by 12
  10. 2022Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?cited by 6
  11. 2022Solving Optimal Control Problems of Rigid-Body Dynamics with Collisions Using the Hybrid Minimum Principlecited by 3
  12. 2022Augmenting differentiable physics with randomized smoothingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 3.

5 papers.