Differentiable simulators provide an avenue for closing the sim-to-real gap by enabling the use of efficient, gradient-based optimization algorithms to find the simulation parameters that best fit the observed sensor readings. Nonetheless, these analytical models can only predict the dynamical behavior of systems for which they have been designed. In this work, we study the augmentation of a novel differentiable rigid-body physics engine via neural networks that is able to learn nonlinear relationships between dynamic quantities and can thus learn effects not accounted for in traditional simulators.Such augmentations require less data to train and generalize better compared to entirely data-driven models. Through extensive experiments, we demonstrate the ability of our hybrid simulator to learn complex dynamics involving frictional contacts from real data, as well as match known models of viscous friction, and present an approach for automatically discovering useful augmentations. We show that, besides benefiting dynamics modeling, inserting neural networks can accelerate model-based control architectures. We observe a ten-fold speed-up when replacing the QP solver inside a model-predictive gait controller for quadruped robots with a neural network, allowing us to significantly improve control delays as we demonstrate in real-hardware experiments. We publish code, additional results and videos from our experiments on our project webpage at https://sites.google.com/usc.edu/neuralsim.
翻译:不同的模拟器为缩小模拟到现实的差距提供了一个途径,它使得能够使用高效的、基于梯度的优化算法,找到最符合所观察到的传感器读数的模拟参数。然而,这些分析模型只能预测设计这些模型所针对系统的动态行为。在这项工作中,我们研究通过神经网络增强一个新型的、不同的僵硬体物理学引擎,这种网络能够学习动态数量之间的非线性关系,从而可以学习传统模拟器中不计入的影响。如此增强需要较少的数据,以便比完全由数据驱动的模型更好地培训和普及。通过广泛的实验,我们展示了我们的混合模拟模拟器有能力学习复杂的动态,涉及摩擦接触真实数据,以及匹配已知的粘度摩擦模型,并展示了自动发现有用增强力的方法。我们显示,除了利用动态建模模型外,插入神经网络可以加速模型控制结构。我们观察在替换模型化的制动模型制成模型/制成模型内解算器时需要10倍的加速度。我们通过广泛试验显示我们的混合模拟制成器控制器,在磁场上大大改进了我们的网络/制成。