DiffPD: Differentiable Projective Dynamics
Open Access
- 29 November 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 41 (2), 1-21
- https://doi.org/10.1145/3490168
Abstract
We present a novel, fast differentiable simulator for soft-body learning and control applications. Existing differentiable soft-body simulators can be classified into two categories based on their time integration methods: Simulators using explicit timestepping schemes require tiny timesteps to avoid numerical instabilities in gradient computation, and simulators using implicit time integration typically compute gradients by employing the adjoint method and solving the expensive linearized dynamics. Inspired by Projective Dynamics (PD), we present Differentiable Projective Dynamics (DiffPD), an efficient differentiable soft-body simulator based on PD with implicit time integration. The key idea in DiffPD is to speed up backpropagation by exploiting the prefactorized Cholesky decomposition in forward PD simulation. In terms of contact handling, DiffPD supports two types of contacts: a penalty-based model describing contact and friction forces and a complementarity-based model enforcing non-penetration conditions and static friction. We evaluate the performance of DiffPD and observe it is 4–19 times faster compared with the standard Newton’s method in various applications including system identification, inverse design problems, trajectory optimization, and closed-loop control. We also apply DiffPD in a reality-to-simulation (real-to-sim) example with contact and collisions and show its capability of reconstructing a digital twin of real-world scenes.Keywords
Funding Information
- Defense Advanced Research Projects Agency (FA8750-20-C-0075)
- Intelligence Advanced Research Projects Activity (2019-19020100001)
- National Science Foundation (2106962)
- Computational Design of Complex Fluidic Systems
This publication has 36 references indexed in Scilit:
- Projective dynamicsACM Transactions on Graphics, 2014
- Dynamic Simulation of Soft Multimaterial 3D-Printed ObjectsSoft Robotics, 2014
- Unshackling evolutionPublished by Association for Computing Machinery (ACM) ,2013
- Vega: Non‐Linear FEM Deformable Object SimulatorComputer Graphics Forum, 2012
- Example-based elastic materialsACM Transactions on Graphics, 2011
- Example-based elastic materialsPublished by Association for Computing Machinery (ACM) ,2011
- Real-Time subspace integration for St. Venant-Kirchhoff deformable modelsPublished by Association for Computing Machinery (ACM) ,2005
- Fluid control using the adjoint methodPublished by Association for Computing Machinery (ACM) ,2004
- Motion sketching for control of rigid-body simulationsACM Transactions on Graphics, 2003
- Keyframe control of smoke simulationsACM Transactions on Graphics, 2003