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

可微隐式软体物理

Differentiable Implicit Soft-Body Physics

University of Utah(犹他大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Junior Rojas, Eftychios Sifakis, Ladislav Kavan

摘要:

我们提出了一个可微的软体物理模拟器,可以组成神经网络作为一个可微层。与其他使用显式前向模型来定义状态转换的可微物理方法相比,我们专注于通过函数最小化定义的隐式状态转换。隐式数值积分方法中出现隐式状态转换,其提供大时间步长和优异的数值稳定性的益处,但是由于没有显式可微前向传递而需要特殊处理以实现可微性。与其他需要力函数和力雅可比矩阵的显式公式的隐式微分方法相比,我们提出了一种基于能量的方法,该方法允许我们通过反向模式自动微分自动计算这些导数并以无矩阵的方式进行计算。这在定义物理模型时允许更大的灵活性和生产力,并且在神经网络训练的上下文中特别重要,神经网络训练通常依赖于反向模式自动微分(反向传播)。我们证明了我们的可微模拟器在运动任务的策略优化中的有效性,并表明它比无模型强化学习实现了更好的样本效率。

英文摘要:

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.

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

↑