Dojo: A Differentiable Physics Engine for Robotics

πŸ“… 2022-03-02
πŸ“ˆ Citations: 38
✨ Influential: 6
πŸ“„ PDF
πŸ€– AI Summary
Existing physics engines for robotics struggle to simultaneously ensure stable simulation, high-fidelity rigid contact modeling, and full differentiability with respect to states, actions, and system parameters. To address this, we propose Dojoβ€”the first end-to-end differentiable physics engine designed specifically for robotics. Dojo uniquely integrates variational integrators with a second-order cone nonlinear complementarity problem (NCP) solver, guaranteeing energy and momentum conservation during contact and enabling smooth, analytic gradient computation across contact events. It further employs a customized primal-dual interior-point method for efficient implicit differentiation. Evaluated on motion planning, policy optimization, and system identification tasks, Dojo demonstrates significantly improved gradient accuracy and faster optimization convergence in challenging rigid-contact scenarios.
πŸ“ Abstract
We present Dojo, a differentiable physics engine for robotics that prioritizes stable simulation, accurate contact physics, and differentiability with respect to states, actions, and system parameters. Dojo achieves stable simulation at low sample rates and conserves energy and momentum by employing a variational integrator. A nonlinear complementarity problem with second-order cones for friction models hard contact, and is reliably solved using a custom primal-dual interior-point method. Special properties of the interior-point method are exploited using implicit differentiation to efficiently compute smooth gradients that provide useful information through contact events. We demonstrate Dojo with a number of examples including: planning, policy optimization, and system identification, that demonstrate the engine's unique ability to simulate hard contact while providing smooth, analytic gradients.
Problem

Research questions and friction points this paper is trying to address.

Develops a differentiable physics engine for robotics simulation
Models hard contact and friction with nonlinear complementarity constraints
Enables gradient-based optimization for control and system identification
Innovation

Methods, ideas, or system contributions that make the work stand out.

Differentiable physics engine for robotics
Custom interior-point method solver
Smooth gradient approximations via implicit function
πŸ”Ž Similar Papers
No similar papers found.
T
Taylor A. Howell
Stanford University, Stanford, CA 94305, USA
Simon Le Cleac'h
Simon Le Cleac'h
Research Scientist, the AI Institute
Robot learningManipulationLocomotionOptimizationSimulation
J
Jan Brudigam
School of Computation, Information and Technology, Technical University of Munich, Munich, 80333, Germany
J
J. Z. Kolter
Department of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213, USA
M
M. Schwager
Stanford University, Stanford, CA 94305, USA
Zachary Manchester
Zachary Manchester
Carnegie Mellon University
RoboticsControlOptimizationSpace Exploration