arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.05917cs.LGcs.GR
收藏

DiffPD:可微投影动力学

DiffPD: Differentiable Projective Dynamics

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Tao Du, Kui Wu, Pingchuan Ma, Sebastien Wah, Andrew Spielberg, Daniela Rus, Wojciech Matusik

摘要:

我们提出了一种新的,快速微分模拟器的软体学习和控制应用。现有的可微分软体模拟器可以分为两类,根据其时间积分方法:使用显式时间步进方案的模拟器需要很小的时间步长,以避免梯度计算中的数值不稳定性,使用隐式时间积分的模拟器通常通过采用伴随方法并求解昂贵的线性化动力学来计算梯度。受投影动力学(PD)的启发,我们提出了微分投影动力学(DiffPD),一个高效的可微的基于PD的隐式时间积分的软体模拟器。DiffPD的关键思想是通过在前向PD模拟中利用预分解的Cholesky分解来加速反向传播。在接触处理方面,DiffPD支持两种类型的接触:描述接触和摩擦力的基于惩罚的模型以及强制执行非穿透条件和静摩擦的基于互补的模型。我们评估性能的DiffPD和观察它是4-19倍的速度比标准的牛顿的方法在各种应用中,包括系统辨识,逆设计问题,轨迹优化,闭环控制。我们还应用DiffPD在现实到模拟(现实到SIM)的例子与接触和碰撞,并显示其重建一个数字孪生的现实世界的场景的能力。

英文摘要:

We present a novel, fast differentiable simulator for soft-body learning and control applications. Existing differentiable soft-body simulators can be classified into two categories based on their time integration methods: Simulators using explicit time-stepping schemes require tiny time steps to avoid numerical instabilities in gradient computation, and simulators using implicit time integration typically compute gradients by employing the adjoint method and solving the expensive linearized dynamics. Inspired by Projective Dynamics (PD), we present Differentiable Projective Dynamics (DiffPD), an efficient differentiable soft-body simulator based on PD with implicit time integration. The key idea in DiffPD is to speed up backpropagation by exploiting the prefactorized Cholesky decomposition in forward PD simulation. In terms of contact handling, DiffPD supports two types of contacts: a penalty-based model describing contact and friction forces and a complementarity-based model enforcing non-penetration conditions and static friction. We evaluate the performance of DiffPD and observe it is 4-19 times faster compared with the standard Newton's method in various applications including system identification, inverse design problems, trajectory optimization, and closed-loop control. We also apply DiffPD in a reality-to-simulation (real-to-sim) example with contact and collisions and show its capability of reconstructing a digital twin of real-world scenes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑