gradSim: Differentiable simulation for system identification and visuomotor control
Krishna Murthy Jatavallabhula, Miles Macklin, Florian Golemo, Vikram Voleti, Linda Petrini, Martin Weiss, Breandan Considine, Jerome Parent-Levesque, Kevin Xie, Kenny Erleben, Liam Paull, Florian Shkurti, Derek Nowrouzezahrai, Sanja Fidler
TL;DR
gradSim tackles the ill-posed problem of inferring physical properties from video by jointly modeling scene dynamics and image formation with differentiable physics and rendering. By backpropagating from pixels through a unified simulator, it enables end-to-end estimation of mass, friction, elasticity for rigid, deformable, and cloth objects without 3D supervision, and supports visuomotor control using image-space targets. The experiments show accurate parameter identification and effective image-based control, achieving competitive performance relative to 3D-supervised baselines and highlighting smooth loss landscapes conducive to gradient-based optimization. This work offers a scalable, interpretable path toward physics-aware video understanding and vision-guided control, with potential impact on robotics and graphics.
Abstract
We consider the problem of estimating an object's physical properties such as mass, friction, and elasticity directly from video sequences. Such a system identification problem is fundamentally ill-posed due to the loss of information during image formation. Current solutions require precise 3D labels which are labor-intensive to gather, and infeasible to create for many systems such as deformable solids or cloth. We present gradSim, a framework that overcomes the dependence on 3D supervision by leveraging differentiable multiphysics simulation and differentiable rendering to jointly model the evolution of scene dynamics and image formation. This novel combination enables backpropagation from pixels in a video sequence through to the underlying physical attributes that generated them. Moreover, our unified computation graph -- spanning from the dynamics and through the rendering process -- enables learning in challenging visuomotor control tasks, without relying on state-based (3D) supervision, while obtaining performance competitive to or better than techniques that rely on precise 3D labels.
