Lagrangian and Hamiltonian neural networks (LNN and HNN respectively) encode strong inductive biases that allow them to outperform other models of physical systems significantly. However, these models have, thus far, mostly been limited to simple systems such as pendulums and springs or a single rigid body such as a gyroscope or a rigid rotor. Here, we present a Lagrangian graph neural network (LGNN) that can learn the dynamics of rigid bodies by exploiting their topology. We demonstrate the performance of LGNN by learning the dynamics of ropes, chains, and trusses with the bars modeled as rigid bodies. LGNN also exhibits generalizability -- LGNN trained on chains with a few segments exhibits generalizability to simulate a chain with large number of links and arbitrary link length. We also show that the LGNN can simulate unseen hybrid systems including bars and chains, on which they have not been trained on. Specifically, we show that the LGNN can be used to model the dynamics of complex real-world structures such as the stability of tensegrity structures. Finally, we discuss the non-diagonal nature of the mass matrix and it's ability to generalize in complex systems.
翻译:拉格兰吉和汉密尔顿神经网络(分别是LNN和HNNN)的特点是,具有很强的感应偏差,能够大大超越物理系统的其他模型,然而,迄今为止,这些模型大多限于简单的系统,例如钟楼和弹簧,或一个单一的硬体体,例如陀螺仪或硬质的螺旋体。在这里,我们展示了拉格兰吉平面神经网络(LGNN),它可以通过利用它们的地形学来了解僵硬体的体质的动态。我们通过学习绳子、链条和铁条的动态,来显示LGNNN的性能。LGNN还展示了可概括性 -- -- 在有少数部分的链条上训练的LGNN, 模拟具有大量联系和任意连接长度的链条。我们还展示了LGNNN可以模拟无形的混合系统, 包括没有经过训练的铁条和链条。具体地说, 我们显示LGNNN可以用来模拟复杂的现实世界结构的动态,例如其紧张性结构的稳定性和综合体能力。最后,我们讨论的是,非矩阵的系统。