Fast and Feature-Complete Differentiable Physics for Articulated Rigid Bodies with Contact
Not on the map. Why?
Abstract (arXiv)
We present a fast and feature-complete differentiable physics engine, Nimble (nimblephysics.org), that supports Lagrangian dynamics and hard contact constraints for articulated rigid body simulation. Our differentiable physics engine offers a complete set of features that are typically only available in non-differentiable physics simulators commonly used by robotics applications. We solve contact constraints precisely using linear complementarity problems (LCPs). We present efficient and novel analytical gradients through the LCP formulation of inelastic contact that exploit the sparsity of the LCP solution. We support complex contact geometry, and gradients approximating continuous-time elastic collision. We also introduce a novel method to compute complementarity-aware gradients that help downstream optimization tasks avoid stalling in saddle points. We show that an implementation of this combination in an existing physics engine (DART) is capable of a 87x single-core speedup over finite-differencing in computing analytical Jacobians for a single timestep, while preserving all the expressiveness of original DART.
Key facts. Cited by 50 papers in the map (data through 7 Oct 2026). Builds on 16 of its 43 references that are in the map. First posted on arXiv 30 Mar 2021.
Builds on
16 of 43 references.
References · 16
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2016Interaction Networks for Learning about Objects, Relations and Physicscited by 503
- 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
- 2020Learning to Control PDEs with Differentiable Physicscited by 131
- 2016A Compositional Object-Based Approach to Learning Physical Dynamicscited by 119
- 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 107
- 2018ChainQueen: A Real-Time Differentiable Physical Simulator for Soft Roboticscited by 98
- 2018Flexible Neural Representation for Physics Predictioncited by 91
- 2020Scalable Differentiable Physics for Learning and Controlcited by 72
- 2016Theano: A Python framework for fast computation of mathematical expressionscited by 64
- 2018SPNets: Differentiable Fluid Dynamics for Deep Neural Networkscited by 62
- 2019Interactive Differentiable Simulationcited by 17
4 more
- 2020Learning to Slide Unknown Objects with Differentiable Physics Simulationscited by 12
- 2020Augmenting Differentiable Simulators with Neural Networks to Close the Sim2Real Gapcited by 9
- 2020Automatic Differentiation and Continuous Sensitivity Analysis of Rigid Body Dynamicscited by 4
- 2019Constrained Sampling-based Trajectory Optimization using Stochastic Approximationcited by 3
Built on by
Citing papers per year: 2021: 4; 2022: 17; 2023: 10; 2024: 7; 2025: 6; 2026: 6.
50 papers.
Sort:
By area:
- 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 375
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
- 2021Gradients are Not All You Needcited by 82
- 2022Human Trajectory Prediction via Neural Social Physicscited by 66
- 2022NeuPhysics: Editable Neural Geometry and Physics from Monocular Videoscited by 50
- 2022Differentiable Physics Simulation of Dynamics-Augmented Neural Objectscited by 45
- 2022DiffSkill: Skill Abstraction from Differentiable Physics for Deformable Object Manipulations with Toolscited by 44
- 2022Differentiable Simulation of Soft Multi-body Systemscited by 39
- 2022Differentiable Dynamics for Articulated 3d Human Motion Reconstructioncited by 38
- 2023DexDeform: Dexterous Deformable Object Manipulation with Human Demonstrations and Differentiable Physicscited by 23
- 2022SAM-RL: Sensing-Aware Model-Based Reinforcement Learning via Differentiable Physics-Based Simulation and Renderingcited by 22
- 2023A Survey on Physics Informed Reinforcement Learning: Review and Open Problemscited by 22
38 more
- 2024Learning Quadruped Locomotion Using Differentiable Simulationcited by 22
- 2021Combining Physics and Deep Learning to learn Continuous-Time Dynamics Modelscited by 20
- 2021SAGCI-System: Towards Sample-Efficient, Generalizable, Compositional, and Incremental Robot Learningcited by 16
- 2022Contact Points Discovery for Soft-Body Manipulations with Differentiable Physicscited by 14
- 2022A Survey on Reinforcement Learning Methods in Character Animationcited by 12
- 2022Learning Tool Morphology for Contact-Rich Manipulation Tasks with Differentiable Simulationcited by 9
- 2023SoftMAC: Differentiable Soft Body Simulation with Forecast-based Contact Model and Two-way Coupling with Articulated Rigid Bodies and Clothescited by 9
- 2023DeepSimHO: Stable Pose Estimation for Hand-Object Interaction via Physics Simulationcited by 8
- 2023Jade: A Differentiable Physics Engine for Articulated Rigid Bodies with Intersection-Free Frictional Contactcited by 7
- 2023Differentiable Visual Computing for Inverse Problems and Machine Learningcited by 7
- 2022Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?cited by 6
- 2023DiffVL: Scaling Up Soft Body Manipulation using Vision-Language Driven Differentiable Physicscited by 6
- 2023Improving Gradient Computation for Differentiable Physics Simulation with Contactscited by 5
- 2024Human Motion Prediction under Unexpected Perturbationcited by 5
- 2022Differentiable Analog Quantum Computing for Optimization and Controlcited by 4
- 2025From 2D to 3D Cognition: A Brief Survey of General World Modelscited by 4
- 2025Embodied Co-Design for Rapidly Evolving Agents: Taxonomy, Frontiers, and Challengescited by 4
- 2024Learning Object Properties Using Robot Proprioception via Differentiable Robot-Object Interactioncited by 3
- 2025PhysPose: Refining 6D Object Poses with Physical Constraintscited by 3
- 2026IRIS: A Real-World Benchmark for Inverse Recovery and Identification of Physical Dynamic Systems from Monocular Videocited by 3
- 2022Predicting Physical Object Properties from Videocited by 2
- 2024DiffGen: Robot Demonstration Generation via Differentiable Physics Simulation, Differentiable Rendering, and Vision-Language Modelcited by 2
- 2024DiffSim2Real: Deploying Quadrupedal Locomotion Policies Purely Trained in Differentiable Simulationcited by 2
- 2025Prof. Robot: Differentiable Robot Rendering Without Static and Self-Collisionscited by 2
- 2026Learning Physics-Guided Residual Dynamics for Deformable Object Simulationcited by 2
- 2022Differentiable and Learnable Robot Modelscited by 1
- 2023Diff-Transfer: Model-based Robotic Manipulation Skill Transfer via Differentiable Physics Simulationcited by 1
- 2025Learning Extremely High Density Crowds as Active Matterscited by 1
- 2025Accelerated Learning with Linear Temporal Logic using Differentiable Simulationcited by 1
- 2026Differentiate the Solver, Not the Equation: Reverse-Sweep Adjoints for Block Implicit Simulationcited by 1
- 2022Unified Simulation, Perception, and Generation of Human Behaviorcited by 0
- 2022Relative Policy-Transition Optimization for Fast Policy Transfercited by 0
- 2023The Impact of Time Step Frequency on the Realism of Robotic Manipulation Simulation for Objects of Different Scalescited by 0
- 2024Autotuning Bipedal Locomotion MPC with GRFM-Net for Efficient Sim-to-Real Transfercited by 0
- 2024Physics Augmented Tuple Transformer for Autism Severity Level Detectioncited by 0
- 2026Does "Do Differentiable Simulators Give Better Policy Gradients?'' Give Better Policy Gradients?cited by 0
- 2026URDF Synthesis from RGB-D Sequences via Differentiable Joint Inference and Energy-Consistent Verificationcited by 0
- 2026Amortising Trajectory Optimisation for Residual MPC via Implicit Contact Differentiationcited by 0
- 2026Differentiate the Solver, Not the Equation: Reverse-Sweep Adjoints for Block Implicit Simulation9 Aug 2026
- 2026Amortising Trajectory Optimisation for Residual MPC via Implicit Contact Differentiation27 Jul 2026
- 2026Learning Physics-Guided Residual Dynamics for Deformable Object Simulation15 Jul 2026
- 2026URDF Synthesis from RGB-D Sequences via Differentiable Joint Inference and Energy-Consistent Verification17 Jun 2026
- 2026Does "Do Differentiable Simulators Give Better Policy Gradients?'' Give Better Policy Gradients?20 Apr 2026
- 2026IRIS: A Real-World Benchmark for Inverse Recovery and Identification of Physical Dynamic Systems from Monocular Video17 Mar 2026
- 2025Embodied Co-Design for Rapidly Evolving Agents: Taxonomy, Frontiers, and Challenges4 Dec 2025
- 2025From 2D to 3D Cognition: A Brief Survey of General World Models25 Jun 2025
- 2025Accelerated Learning with Linear Temporal Logic using Differentiable Simulation1 Jun 2025
- 2025PhysPose: Refining 6D Object Poses with Physical Constraints30 Mar 2025
- 2025Learning Extremely High Density Crowds as Active Matters15 Mar 2025
- 2025Prof. Robot: Differentiable Robot Rendering Without Static and Self-Collisions14 Mar 2025
38 more
- 2024DiffSim2Real: Deploying Quadrupedal Locomotion Policies Purely Trained in Differentiable Simulation4 Nov 2024
- 2024Learning Object Properties Using Robot Proprioception via Differentiable Robot-Object Interaction4 Oct 2024
- 2024Physics Augmented Tuple Transformer for Autism Severity Level Detection27 Sep 2024
- 2024Autotuning Bipedal Locomotion MPC with GRFM-Net for Efficient Sim-to-Real Transfer24 Sep 2024
- 2024DiffGen: Robot Demonstration Generation via Differentiable Physics Simulation, Differentiable Rendering, and Vision-Language Model12 May 2024
- 2024Human Motion Prediction under Unexpected Perturbation23 Mar 2024
- 2024Learning Quadruped Locomotion Using Differentiable Simulation21 Mar 2024
- 2023DiffVL: Scaling Up Soft Body Manipulation using Vision-Language Driven Differentiable Physics11 Dec 2023
- 2023SoftMAC: Differentiable Soft Body Simulation with Forecast-based Contact Model and Two-way Coupling with Articulated Rigid Bodies and Clothes6 Dec 2023
- 2023Differentiable Visual Computing for Inverse Problems and Machine Learning21 Nov 2023
- 2023The Impact of Time Step Frequency on the Realism of Robotic Manipulation Simulation for Objects of Different Scales12 Oct 2023
- 2023DeepSimHO: Stable Pose Estimation for Hand-Object Interaction via Physics Simulation11 Oct 2023
- 2023Diff-Transfer: Model-based Robotic Manipulation Skill Transfer via Differentiable Physics Simulation7 Oct 2023
- 2023Jade: A Differentiable Physics Engine for Articulated Rigid Bodies with Intersection-Free Frictional Contact9 Sep 2023
- 2023A Survey on Physics Informed Reinforcement Learning: Review and Open Problems5 Sep 2023
- 2023Improving Gradient Computation for Differentiable Physics Simulation with Contacts28 Apr 2023
- 2023DexDeform: Dexterous Deformable Object Manipulation with Human Demonstrations and Differentiable Physics27 Mar 2023
- 2022Learning Tool Morphology for Contact-Rich Manipulation Tasks with Differentiable Simulation4 Nov 2022
- 2022Differentiable Analog Quantum Computing for Optimization and Control28 Oct 2022
- 2022SAM-RL: Sensing-Aware Model-Based Reinforcement Learning via Differentiable Physics-Based Simulation and Rendering27 Oct 2022
- 2022NeuPhysics: Editable Neural Geometry and Physics from Monocular Videos22 Oct 2022
- 2022Differentiable Physics Simulation of Dynamics-Augmented Neural Objects17 Oct 2022
- 2022Human Trajectory Prediction via Neural Social Physics21 Jul 2022
- 2022Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?8 Jul 2022
- 2022Relative Policy-Transition Optimization for Fast Policy Transfer13 Jun 2022
- 2022Predicting Physical Object Properties from Video2 Jun 2022
- 2022Differentiable Dynamics for Articulated 3d Human Motion Reconstruction24 May 2022
- 2022Contact Points Discovery for Soft-Body Manipulations with Differentiable Physics5 May 2022
- 2022Differentiable Simulation of Soft Multi-body Systems3 May 2022
- 2022Unified Simulation, Perception, and Generation of Human Behavior28 Apr 2022
- 2022DiffSkill: Skill Abstraction from Differentiable Physics for Deformable Object Manipulations with Tools31 Mar 2022
- 2022A Survey on Reinforcement Learning Methods in Character Animation7 Mar 2022
- 2022Differentiable and Learnable Robot Models22 Feb 2022
- 2022Do Differentiable Simulators Give Better Policy Gradients?2 Feb 2022
- 2021SAGCI-System: Towards Sample-Efficient, Generalizable, Compositional, and Incremental Robot Learning29 Nov 2021
- 2021Gradients are Not All You Need10 Nov 2021
- 2021Combining Physics and Deep Learning to learn Continuous-Time Dynamics Models5 Oct 2021
- 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulation24 Jun 2021
- 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 375
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
- 2021Gradients are Not All You Needcited by 82
- 2022Human Trajectory Prediction via Neural Social Physicscited by 66
- 2022NeuPhysics: Editable Neural Geometry and Physics from Monocular Videoscited by 50
- 2022Differentiable Physics Simulation of Dynamics-Augmented Neural Objectscited by 45
- 2022DiffSkill: Skill Abstraction from Differentiable Physics for Deformable Object Manipulations with Toolscited by 44
- 2022Differentiable Simulation of Soft Multi-body Systemscited by 39
- 2022Differentiable Dynamics for Articulated 3d Human Motion Reconstructioncited by 38
- 2023DexDeform: Dexterous Deformable Object Manipulation with Human Demonstrations and Differentiable Physicscited by 23
- 2022SAM-RL: Sensing-Aware Model-Based Reinforcement Learning via Differentiable Physics-Based Simulation and Renderingcited by 22
- 2023A Survey on Physics Informed Reinforcement Learning: Review and Open Problemscited by 22
12 most cited of 48 All 48 (JSON)
- 2026Differentiate the Solver, Not the Equation: Reverse-Sweep Adjoints for Block Implicit Simulation9 Aug 2026
- 2026Amortising Trajectory Optimisation for Residual MPC via Implicit Contact Differentiation27 Jul 2026
- 2026Learning Physics-Guided Residual Dynamics for Deformable Object Simulation15 Jul 2026
- 2026URDF Synthesis from RGB-D Sequences via Differentiable Joint Inference and Energy-Consistent Verification17 Jun 2026
- 2026Does "Do Differentiable Simulators Give Better Policy Gradients?'' Give Better Policy Gradients?20 Apr 2026
- 2026IRIS: A Real-World Benchmark for Inverse Recovery and Identification of Physical Dynamic Systems from Monocular Video17 Mar 2026
- 2025Embodied Co-Design for Rapidly Evolving Agents: Taxonomy, Frontiers, and Challenges4 Dec 2025
- 2025Accelerated Learning with Linear Temporal Logic using Differentiable Simulation1 Jun 2025
- 2025PhysPose: Refining 6D Object Poses with Physical Constraints30 Mar 2025
- 2025Learning Extremely High Density Crowds as Active Matters15 Mar 2025
- 2025Prof. Robot: Differentiable Robot Rendering Without Static and Self-Collisions14 Mar 2025
- 2024DiffSim2Real: Deploying Quadrupedal Locomotion Policies Purely Trained in Differentiable Simulation4 Nov 2024
12 newest of 48 All 48 (JSON)