Differentiable Cloth Simulation for Inverse Problems
Junbang Liang
1
Differentiable Cloth Simulation for Inverse Problems Junbang Liang - - PowerPoint PPT Presentation
Differentiable Cloth Simulation for Inverse Problems Junbang Liang 1 Content Motivation Related Work Our Method Simulation pipeline Gradient Computation Results 2 Motivation Differentiable Physics
Junbang Liang
1
○ Simulation pipeline ○ Gradient Computation
2
○ Physical property estimation ○ Control of physical systems
3
○ Physical property estimation ○ Control of physical systems Yang et al. (2017) Demo of our differentiable simulation
4
○ Simulation pipeline ○ Gradient Computation
5
○ Formulation not scalable to high dimensionality Degrave et al. 2019 Belbute-Peres et al. 2019
6
○ Unable to guarantee physical correctness
7
8
○ Simulation pipeline ○ Gradient Computation
9
10
11
1. 2.
○ S ○ Newton’s method
3. 4.
12
1. 2.
○ S ○ Newton’s method
3. 4. 5.
13
1. 2.
○ S ○ Newton’s method
3. 4. 5.
Gradient computation available? Handled by auto-differentiation Handled by auto-differentiation Handled by auto-differentiation
16
1. 2.
○ S ○ Newton’s method
3. 4. 5.
Using implicit differentiation! Gradient computation available?
17
○ : the loss function.
18
function.
where is computed from , and is the solution of .
19
1. 2.
○ S ○ Newton’s method
3. 4. 5.
Using implicit differentiation! Gradient computation available?
20
21
22
23
24
○ n: DOFs in the impacts ○ m: number of constraints/impacts
tangential direction w.r.t. constraint gradient
25
○ n: DOFs in the impacts ○ m: number of constraints/impacts
tangential direction w.r.t. constraint gradient
26
where Q and R is obtained from:
○ n: number of vertices ○ m: number of constraints
27
○ Simulation pipeline ○ Gradient Computation
28
○ Backpropagation speedup
○ Material estimation ○ Motion control
29
30
The runtime performance of gradient computation is significantly improved by up to two orders of magnitude.
31
force.
32
force. Our method achieves the fastest speed and the smallest overall error.
33
34
35
Our method achieves the best performance with a much smaller number of simulations.
36
37
○ Applicable to optimization tasks ○ Embedded in neural networks for learning and control
38
○ Vectorization ○ PyTorch3D/DiffTaichi
○ Rigid body, deformable body, articulated body, etc
39
40