arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.13412cs.LGcs.AIcs.NAmath.NAmath.OC
收藏

利用专家混合机制扩展物理信息硬约束

Scaling physics-informed hard constraints with mixture-of-experts

University of California, Berkeley(加州大学伯克利分校)

Nithin Chalapathi, Yiheng Du, Aditi Krishnapriyan

AI总结:

本文提出利用专家混合机制将硬物理约束分解到较小域上并行求解,以可扩展方式提升神经PDE求解器对非线性系统动力学预测的准确性、训练稳定性与计算效率。

摘要:

在神经网络训练期间施加已知的物理约束(例如守恒定律)会引入归纳偏置,从而能够提高物理动力学建模的准确性、可靠性、收敛性和数据效率。虽然此类约束可以通过损失函数惩罚以软约束方式施加,但可微物理与优化的最新进展通过将PDE约束优化作为神经网络中的独立层来提升性能,从而能够更严格地遵循物理约束。然而,施加硬约束会显著增加计算和内存成本,尤其是对于复杂动力系统而言。这是因为需要在表示空间和时间离散化的网格中的大量点上求解优化问题,这大大增加了约束的复杂性。为应对这一挑战,我们开发了一种可扩展的方法,利用专家混合机制(Mixture-of-Experts, MoE)来强制执行硬物理约束,该方法可与任何神经网络架构结合使用。我们的方法在较小的分解域上施加约束,每个分解域由一个“专家”通过可微优化求解。在训练期间,每个专家利用隐函数定理独立执行局部反向传播步骤;各专家的独立性允许在多个GPU上并行化。与标准可微优化相比,我们的可扩展方法在神经PDE求解器设置中预测具有挑战性的非线性系统动力学时取得了更高的准确性。我们还改善了训练稳定性,并在训练和推理阶段显著减少了计算时间。

英文摘要:

Imposing known physical constraints, such as conservation laws, during neural network training introduces an inductive bias that can improve accuracy, reliability, convergence, and data efficiency for modeling physical dynamics. While such constraints can be softly imposed via loss function penalties, recent advancements in differentiable physics and optimization improve performance by incorporating PDE-constrained optimization as individual layers in neural networks. This enables a stricter adherence to physical constraints. However, imposing hard constraints significantly increases computational and memory costs, especially for complex dynamical systems. This is because it requires solving an optimization problem over a large number of points in a mesh, representing spatial and temporal discretizations, which greatly increases the complexity of the constraint. To address this challenge, we develop a scalable approach to enforce hard physical constraints using Mixture-of-Experts (MoE), which can be used with any neural network architecture. Our approach imposes the constraint over smaller decomposed domains, each of which is solved by an "expert" through differentiable optimization. During training, each expert independently performs a localized backpropagation step by leveraging the implicit function theorem; the independence of each expert allows for parallelization across multiple GPUs. Compared to standard differentiable optimization, our scalable approach achieves greater accuracy in the neural PDE solver setting for predicting the dynamics of challenging non-linear systems. We also improve training stability and require significantly less computation time during both training and inference stages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑