用于 PDE 的 HyperLoRA
HyperLoRA for PDEs
AI总结:
本文提出结合 LoRA 与物理信息损失的 HyperPINN,用 hypernetwork 预测低秩张量,以低 8 倍参数高效求解参数化 PDE。
摘要:
物理信息神经网络(PINNs)已被广泛用于开发偏微分方程解的神经代理模型。PINNs 的一个缺点是,当初始-边界条件和 PDE 系数每次发生变化时,都必须重新训练。Hypernetwork 是一种基于模型的元学习技术,它接收参数化任务嵌入作为输入,并预测 PINN 的权重作为输出。然而,预测神经网络的权重是一个高维回归问题,并且在预测大型基础网络的参数时,hypernetworks 的表现并不理想。为规避这一问题,我们采用低秩适配(LoRA)形式,将基础网络的每一层分解为低秩张量,并使用 hypernetworks 预测这些低秩张量。尽管所得权重回归问题的维度有所降低,但基于 LoRA 的 Hypernetworks 会违背给定任务的底层物理规律。我们证明,在训练中加入额外的物理信息损失项(HyperPINN)以满足控制微分方程时,基于 LoRA 的 hypernetworks 的泛化能力会显著提升。我们观察到,基于 LoRA 的 HyperPINN 训练使我们能够快速学习参数化 PDE(如 Burgers 方程和 Navier Stokes:Kovasznay 流)的解;与所有其他基线相比,其预测参数平均减少 8 倍,且不会损失精度。
英文摘要:
Physics-informed neural networks (PINNs) have been widely used to develop neural surrogates for solutions of Partial Differential Equations. A drawback of PINNs is that they have to be retrained with every change in initial-boundary conditions and PDE coefficients. The Hypernetwork, a model-based meta learning technique, takes in a parameterized task embedding as input and predicts the weights of PINN as output. Predicting weights of a neural network however, is a high-dimensional regression problem, and hypernetworks perform sub-optimally while predicting parameters for large base networks. To circumvent this issue, we use a low ranked adaptation (LoRA) formulation to decompose every layer of the base network into low-ranked tensors and use hypernetworks to predict the low-ranked tensors. Despite the reduced dimensionality of the resulting weight-regression problem, LoRA-based Hypernetworks violate the underlying physics of the given task. We demonstrate that the generalization capabilities of LoRA-based hypernetworks drastically improve when trained with an additional physics-informed loss component (HyperPINN) to satisfy the governing differential equations. We observe that LoRA-based HyperPINN training allows us to learn fast solutions for parameterized PDEs like Burger's equation and Navier Stokes: Kovasznay flow, while having an 8x reduction in prediction parameters on average without compromising on accuracy when compared to all other baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。