Skip to main content
QUICK REVIEW

[论文解读] Applying physics-based loss functions to neural networks for improved generalizability in mechanics problems

Samuel Raymond, David B. Camarillo|arXiv (Cornell University)|Apr 30, 2021
Model Reduction and Neural NetworksPhysics and Astronomy被引用 18
一句话总结

本文提出了一种基于物理的损失函数,通过在神经网络中强制执行能量守恒,提升了机械系统在不同能量状态下的泛化能力。通过将均方误差与能量差惩罚项结合,该方法在无需复杂导数层的情况下,实现了对摆运动的精确、能量守恒的预测,显著优于标准损失函数在保持系统动力学方面的表现。

ABSTRACT

Physics-Informed Machine Learning (PIML) has gained momentum in the last 5 years with scientists and researchers aiming to utilize the benefits afforded by advances in machine learning, particularly in deep learning. With large scientific data sets with rich spatio-temporal data and high-performance computing providing large amounts of data to be inferred and interpreted, the task of PIML is to ensure that these predictions, categorizations, and inferences are enforced by, and conform to the limits imposed by physical laws. In this work a new approach to utilizing PIML is discussed that deals with the use of physics-based loss functions. While typical usage of physical equations in the loss function requires complex layers of derivatives and other functions to ensure that the known governing equation is satisfied, here we show that a similar level of enforcement can be found by implementing more simpler loss functions on specific kinds of output data. The generalizability that this approach affords is shown using examples of simple mechanical models that can be thought of as sufficiently simplified surrogate models for a wide class of problems.

研究动机与目标

  • 为解决标准神经网络在预测机械系统动力学时的脆弱性,尤其是在不同能量状态下的表现问题。
  • 通过将守恒定律直接嵌入损失函数,提升物理信息机器学习中的泛化能力。
  • 开发一种计算高效的传统物理信息神经网络(PINNs)替代方法,避免复杂的导数计算。
  • 证明简单而通用的物理约束(如能量守恒)可显著提升机械系统中预测的准确性与鲁棒性。

提出的方法

  • 该方法使用一种混合损失函数,结合标准均方误差(MSE)与基于输入状态和输出状态之间总机械能差异的惩罚项。
  • 网络被训练以预测摆运动的下一个时间步,而非完整的时间历史,从而实现时间上的泛化。
  • 能量守恒项被计算为输入能量与预测输出能量之间的绝对差值,并添加到MSE损失中。
  • 该方法通过直接在输出状态上施加物理约束,而非强制满足完整的控制偏微分方程(PDE),避免了复杂的逐层导数计算。
  • 该方法适用于任何可量化能量或其他守恒定律的系统,可在各类机械问题中广泛使用。
  • 训练使用了从不同初始角度(π/2、π/3、π/6)提升的摆系统模拟数据,代表不同的能量水平。

实验结果

研究问题

  • RQ1是否可以通过一种简单的基于物理的损失项(强制能量守恒)来提升神经网络在机械系统预测中的泛化能力?
  • RQ2当在多样化能量状态上进行训练时,结合MSE与能量差的混合损失函数相较于标准MSE损失的表现如何?
  • RQ3通过损失函数项强制执行能量守恒是否优于传统训练方法,在不同初始条件下更好地保持系统动力学?
  • RQ4该方法在多大程度上可减少在不同能量水平数据上训练的神经网络中的模式崩溃现象?
  • RQ5该方法是否可广泛应用于机械系统,而无需复杂的导数计算或PDE强制执行?

主要发现

  • 仅使用标准MSE损失时,网络出现了模式崩溃,即无论初始条件如何,网络都倾向于预测最低能量状态。
  • 结合能量守恒的混合损失函数显著提升了在所有初始能量状态(π/2、π/3、π/6)下的预测准确性。
  • 能量守恒网络在时间上更有效地保持了总机械能,远优于基线模型。
  • 尽管单个数值的预测误差略有增加,但能量守恒模型生成的轨迹更具物理合理性与稳定性。
  • 该方法在无需复杂导数层或PDE强制执行的情况下,实现了在不同能量水平间的更好泛化。
  • 该方法计算效率高,且可广泛应用于任何可量化能量或其他守恒定律的系统。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。