让神经网络严格满足微分代数方程约束,提升物理模型准确性
DAE-HardNet: A Physics Constrained Neural Network Enforcing Differential-Algebraic Hard Constraints
- 通过可微投影层强制模型输出满足微分与代数约束
- 相比传统方法,物理损失降低数量级且保持预测精度
- 适合需要精确物理规律嵌入的科学计算场景
传统物理信息神经网络(PINNs)仅软性最小化物理约束偏差,尤其在含微分算子时难以严格满足。本文提出DAE-HardNet,一种严格强制满足微分-代数方程(DAEs)的物理约束神经网络,同时学习函数及其导数。通过可微投影层将模型预测映射至约束流形,确保物理一致性。在洛特卡-沃尔泰拉捕食者-猎物系统与瞬态热传导等多类问题上验证有效。结果表明,相比多层感知机(MLPs)和PINNs,DAE-HardNet实现物理损失数量级下降,且能同时估计未知参数。由于前置网络已学习导数,特定问题下可跳过投影层以加速推理。代码开源:https://github.com/SOULS-TAMU/DAE-HardNet。
原文摘要 · Abstract (English)
Traditional physics-informed neural networks (PINNs) do not always satisfy physics based constraints, especially when the constraints include differential operators. Rather, they minimize the constraint violations in a soft way. Strict satisfaction of differential-algebraic equations (DAEs) to embed domain knowledge and first-principles in data-driven models is generally challenging. This is because data-driven models consider the original functions to be black-box whose derivatives can only be obtained after evaluating the functions. We introduce DAE-HardNet, a physics-constrained (rather than simply physics-informed) neural network that learns both the functions and their derivatives simultaneously, while enforcing algebraic as well as differential constraints. This is done by projecting model predictions onto the constraint manifold using a differentiable projection layer. We apply DAE-HardNet to several systems and test problems governed by DAEs, including the dynamic Lotka-Volterra predator-prey system and transient heat conduction. We also show the ability of DAE-HardNet to estimate unknown parameters through a parameter estimation problem. Compared to multilayer perceptrons (MLPs) and PINNs, DAE-HardNet achieves orders of magnitude reduction in the physics loss while maintaining the prediction accuracy. It has the added benefits of learning the derivatives which improves the constrained learning of the backbone neural network prior to the projection layer. For specific problems, this suggests that the projection layer can be bypassed for faster inference. The current implementation and codes are available at https://github.com/SOULS-TAMU/DAE-HardNet.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。