Improving Gradient Computation for Differentiable Physics Simulation with Contacts
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
- 2019Differentiable Convex Optimization Layerscited by 458
- 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 375
- 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
- 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 107
- 2022Accelerated Policy Learning with Parallel Differentiable Simulationcited by 92
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
- 2020NeuralSim: Augmenting Differentiable Simulators with Neural Networkscited by 77
- 2020Scalable Differentiable Physics for Learning and Controlcited by 72
- 2021DiffCloth: Differentiable Cloth Simulation with Dry Frictional Contactcited by 64
- 2021DiffPD: Differentiable Projective Dynamicscited by 62
- 2021DiSECt: A Differentiable Simulation Engine for Autonomous Robotic Cuttingcited by 62
- 2021An End-to-End Differentiable Framework for Contact-Aware Robot Designcited by 53
12 more
- 2021Fast and Feature-Complete Differentiable Physics for Articulated Rigid Bodies with Contactcited by 50
- 2022Grasp'D: Differentiable Contact-rich Grasp Synthesis for Multi-fingered Handscited by 49
- 2021Efficient Differentiable Simulation of Articulated Bodiescited by 38
- 2021Extending Lagrangian and Hamiltonian Neural Networks with Differentiable Contact Modelscited by 33
- 2021Bundled Gradients through Contact via Randomized Smoothingcited by 23
- 2020Learning Physical Constraints with Neural Projectionscited by 19
- 2020ADD: Analytically Differentiable Dynamics for Multi-Body Systems with Frictional Contactcited by 17
- 2021DiffSDFSim: Differentiable Rigid-Body Dynamics With Implicit Shapescited by 14
- 2020Learning to Slide Unknown Objects with Differentiable Physics Simulationscited by 12
- 2022Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?cited by 6
- 2022Solving Optimal Control Problems of Rigid-Body Dynamics with Collisions Using the Hybrid Minimum Principlecited by 3
- 2022Augmenting differentiable physics with randomized smoothingcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 3.
5 papers.
- 2024Adaptive Horizon Actor-Critic for Policy Learning in Contact-Rich Differentiable Simulationcited by 18
- 2026Learning Physics-Guided Residual Dynamics for Deformable Object Simulationcited by 2
- 2025Reparameterization Proximal Policy Optimizationcited by 1
- 2026Amortising Trajectory Optimisation for Residual MPC via Implicit Contact Differentiationcited by 0
- 2026On the Numerical Reliability of Differentiable Physics-Based Optimization for Robotic Material Manipulationcited by 0
- 2026On the Numerical Reliability of Differentiable Physics-Based Optimization for Robotic Material Manipulation28 Sep 2026
- 2026Amortising Trajectory Optimisation for Residual MPC via Implicit Contact Differentiation27 Jul 2026
- 2026Learning Physics-Guided Residual Dynamics for Deformable Object Simulation15 Jul 2026
- 2025Reparameterization Proximal Policy Optimization8 Aug 2025
- 2024Adaptive Horizon Actor-Critic for Policy Learning in Contact-Rich Differentiable Simulation28 May 2024