arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.05060cs.LGcs.AIcs.RO
收藏

有接触的可微物理模拟:它们是否具有正确的相对于。位置、速度和控制

Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?

Siemens Technology(西门子科技);Flatiron Institute(熨斗研究所)

Yaofeng Desmond Zhong, Jiequn Han, Georgia Olympia Brikis

摘要:

近年来,越来越多的工作集中在可微物理模拟上,并产生了一系列开源项目,如Tiny Differentiable Simulator,Nimble Physics,diffTaichi,Brax,Warp,Dojo和DiffCoSim。通过使物理模拟端到端可区分,我们可以执行基于梯度的优化和学习任务。大多数可微模拟器考虑物体之间的碰撞和接触,但它们使用不同的接触模型来实现可微性。本文综述了四种可微接触形式-线性互补问题(LCP)、凸优化模型、柔顺模型和基于位置的动力学(PBD)。我们分析和比较这些模型计算的梯度,并表明梯度并不总是正确的。我们还展示了他们的能力,学习最优控制策略,通过比较学习的策略与最优策略的分析形式。重现实验结果的代码库可在https://github.com/DesmondZhong/diff_sim_grads上获得。

英文摘要:

In recent years, an increasing amount of work has focused on differentiable physics simulation and has produced a set of open source projects such as Tiny Differentiable Simulator, Nimble Physics, diffTaichi, Brax, Warp, Dojo and DiffCoSim. By making physics simulations end-to-end differentiable, we can perform gradient-based optimization and learning tasks. A majority of differentiable simulators consider collisions and contacts between objects, but they use different contact models for differentiability. In this paper, we overview four kinds of differentiable contact formulations - linear complementarity problems (LCP), convex optimization models, compliant models and position-based dynamics (PBD). We analyze and compare the gradients calculated by these models and show that the gradients are not always correct. We also demonstrate their ability to learn an optimal control strategy by comparing the learned strategies with the optimal strategy in an analytical form. The codebase to reproduce the experiment results is available at https://github.com/DesmondZhong/diff_sim_grads.

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

↑