Differentiable Implicit Soft-Body Physics

02/11/2021
by   Junior Rojas, et al.
0

We present a differentiable soft-body physics simulator that can be composed with neural networks as a differentiable layer. In contrast to other differentiable physics approaches that use explicit forward models to define state transitions, we focus on implicit state transitions defined via function minimization. Implicit state transitions appear in implicit numerical integration methods, which offer the benefits of large time steps and excellent numerical stability, but require a special treatment to achieve differentiability due to the absence of an explicit differentiable forward pass. In contrast to other implicit differentiation approaches that require explicit formulas for the force function and the force Jacobian matrix, we present an energy-based approach that allows us to compute these derivatives automatically and in a matrix-free fashion via reverse-mode automatic differentiation. This allows for more flexibility and productivity when defining physical models and is particularly important in the context of neural network training, which often relies on reverse-mode automatic differentiation (backpropagation). We demonstrate the effectiveness of our differentiable simulator in policy optimization for locomotion tasks and show that it achieves better sample efficiency than model-free reinforcement learning.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/06/2018

Automatic differentiation of ODE integration

We discuss the calculation of the derivatives of ODE systems with the au...
research
01/15/2021

DiffPD: Differentiable Projective Dynamics

We present a novel, fast differentiable simulator for soft-body learning...
research
11/19/2022

Fully implicit frictional dynamics with soft constraints

Dynamics simulation with frictional contacts is important for a wide ran...
research
05/02/2022

Physics-Based Inverse Rendering using Combined Implicit and Explicit Geometries

Mathematically representing the shape of an object is a key ingredient f...
research
03/02/2022

Dojo: A Differentiable Simulator for Robotics

We present a differentiable rigid-body-dynamics simulator for robotics t...
research
07/02/2022

Object Representations as Fixed Points: Training Iterative Refinement Algorithms with Implicit Differentiation

Iterative refinement – start with a random guess, then iteratively impro...
research
11/10/2021

Gradients are Not All You Need

Differentiable programming techniques are widely used in the community a...

Please sign up or login with your details

Forgot password? Click here to reset