Physics-guided Neural Networks (PGNNs) represent an emerging class of neural networks that are trained using physics-guided (PG) loss functions (capturing violations in network outputs with known physics), along with the supervision contained in data. Existing work in PGNNs has demonstrated the efficacy of adding single PG loss functions in the neural network objectives, using constant trade-off parameters, to ensure better generalizability. However, in the presence of multiple PG functions with competing gradient directions, there is a need to adaptively tune the contribution of different PG loss functions during the course of training to arrive at generalizable solutions. We demonstrate the presence of competing PG losses in the generic neural network problem of solving for the lowest (or highest) eigenvector of a physics-based eigenvalue equation, which is commonly encountered in many scientific problems. We present a novel approach to handle competing PG losses and demonstrate its efficacy in learning generalizable solutions in two motivating applications of quantum mechanics and electromagnetic propagation. All the code and data used in this work is available at https://github.com/jayroxis/Cophy-PGNN.
翻译:物理引导神经网络(PGNNs)是新兴的神经网络,利用物理引导损失功能(在已知物理物理的网络产出中发现违规现象)以及数据所包含的监督手段进行培训。PGNs的现有工作表明,在神经网络目标中增加单一PG损失功能是有效的,使用不变的权衡参数,以确保更普遍化。然而,在多个PG功能具有相竞争的梯度方向的情况下,在培训过程中需要适应性地调整不同PG损失功能的贡献,以达成普遍适用的解决办法。我们证明,在解决基于物理的机能价值方程式最低(或最高)的通用神经网络问题中存在相竞的PG损失。许多科学问题通常会遇到这种问题。我们提出了一个新颖的办法,处理相竞的PG损失,并表明其在两种激励应用量子力力和电磁传播的通用解决方案中学习其效力。这项工作使用的所有代码和数据都可在 https://github.com/jayroxis/Cophy-GNNPO中查到。