arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.00092cs.LGcs.AIcs.ROcs.SYeess.SYmath.OC
收藏

改进含接触的可微物理仿真的梯度计算

Improving Gradient Computation for Differentiable Physics Simulation with Contacts

Siemens Corporation, Technology(西门子公司技术部);Flatiron Institute(熨斗研究所)

Yaofeng Desmond Zhong, Jiequn Han, Biswadip Dey, Georgia Olympia Brikis

AI总结:

针对含接触的可微刚体仿真中接触法线不固定时梯度不准确的问题,提出基于连续碰撞检测和碰撞时间计算碰撞后速度的TOI-Velocity方法,可在最优控制任务中得到匹配解析解的结果。

摘要:

可微仿真能够让梯度通过物理仿真进行反向传播。借助这一特性,研究者可以通过基于梯度的优化学习物理系统的动力学与属性,也能将整个可微仿真作为层嵌入深度学习模型,用于规划、控制等下游任务。但目前的可微仿真仍不完善,可能提供错误梯度,导致其在学习任务中的性能下降。本文研究含接触的可微刚体仿真,发现现有可微仿真方法在接触法线方向不固定时(即两个运动物体相互接触的普遍场景)会提供不准确的梯度。我们提出通过连续碰撞检测改进梯度计算,并利用碰撞时间(TOI)计算碰撞后速度。我们在两个最优控制问题上验证了所提方法TOI-Velocity,结果表明,使用TOI-Velocity能够学习到与解析解匹配的最优控制序列,而不使用该方法的现有可微仿真方法无法实现这一点。

英文摘要:

Differentiable simulation enables gradients to be back-propagated through physics simulations. In this way, one can learn the dynamics and properties of a physics system by gradient-based optimization or embed the whole differentiable simulation as a layer in a deep learning model for downstream tasks, such as planning and control. However, differentiable simulation at its current stage is not perfect and might provide wrong gradients that deteriorate its performance in learning tasks. In this paper, we study differentiable rigid-body simulation with contacts. We find that existing differentiable simulation methods provide inaccurate gradients when the contact normal direction is not fixed - a general situation when the contacts are between two moving objects. We propose to improve gradient computation by continuous collision detection and leverage the time-of-impact (TOI) to calculate the post-collision velocities. We demonstrate our proposed method, referred to as TOI-Velocity, on two optimal control problems. We show that with TOI-Velocity, we are able to learn an optimal control sequence that matches the analytical solution, while without TOI-Velocity, existing differentiable simulation methods fail to do so.

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

↑