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 have 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 physics loss functions with competing gradient directions, there is a need to adaptively tune the contribution of competing 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, common to 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损失的新办法,并展示其在两种激励量子力学和电磁传播应用中学习通用解决方案的效率。这项工作使用的所有代码和数据都可在 https://github.com/jayroxis/Cophy-PGNNS中查阅。