Hybrid machine learning based on Hamiltonian formulations has recently been successfully demonstrated for simple mechanical systems, both energy conserving and not energy conserving. We introduce a pseudo-Hamiltonian formulation that is a generalization of the Hamiltonian formulation via the port-Hamiltonian formulation, and show that pseudo-Hamiltonian neural network models can be used to learn external forces acting on a system. We argue that this property is particularly useful when the external forces are state dependent, in which case it is the pseudo-Hamiltonian structure that facilitates the separation of internal and external forces. Numerical results are provided for a forced and damped mass-spring system and a tank system of higher complexity, and a symmetric fourth-order integration scheme is introduced for improved training on sparse and noisy data.
翻译:基于汉密尔顿配方的混合机学习最近成功地展示了简单的机械系统,包括节能而不是节能。我们引入了假的汉堡配方,即通过港口-汉堡配方对汉密尔顿配方进行概括化,并表明假的汉堡神经网络模型可以用来学习外部力量在系统上的行动。我们争辩说,当外部力量依赖国家时,这种属性特别有用,在这种情况下,是假的汉堡结构为内部和外部力量的分离提供了便利。为被迫和断层的大规模混合系统和复杂程度更高的坦克系统提供了数字结果,并引入了对称四级整合计划,以改进关于稀少和噪音数据的培训。