arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00604cs.LGcs.AIphysics.comp-ph
收藏

物理信息神经网络中的梯度对齐:一种二阶优化视角

Gradient Alignment in Physics-informed Neural Networks: A Second-Order Optimization Perspective

Institution for Foundation of Data Science, Yale University(数据科学基础研究所,耶鲁大学);Penn Institute for Computational Science, University of Pennsylvania(宾夕法尼亚大学计算科学研究所);Department of Mathematics, City University of Hong Kong(香港城市大学数学系);Department of Mechanical Engineering and Applied Mechanics, University of Pennsylvania(宾夕法尼亚大学机械工程与应用力学系)

Sifan Wang, Ananyae Kumar Bhartari, Bowen Li, Paris Perdikaris

AI总结:

本文从二阶优化视角研究物理信息神经网络中的梯度冲突问题,证明SOAP拟牛顿方法能通过隐式梯度对齐突破一阶方法限制,在多个PDE基准上取得最先进结果,并提出多梯度对齐分数作为分析工具。

摘要:

通过复合损失函数进行多任务学习是现代深度学习的基础,然而优化相互竞争的目标仍然具有挑战性。我们提出了新的理论和实践方法来处理损失项之间的方向冲突,并展示了它们在物理信息神经网络(PINNs)中的有效性,而在PINNs中这类冲突尤其难以解决。通过理论分析,我们证明了这些冲突如何限制一阶方法,并表明二阶优化通过隐式梯度对齐自然地解决了这些冲突。我们证明SOAP,一种最近提出的拟牛顿方法,能够高效地近似Hessian预条件子,从而在PINNs中实现了突破性性能:在10个具有挑战性的偏微分方程基准上取得了最先进的结果,包括首次成功应用于雷诺数高达10,000的湍流,精度比现有方法提高了2-10倍。我们还引入了一种新的梯度对齐分数,将余弦相似度推广到多个梯度,为分析优化动力学提供了实用工具。我们的发现建立了理解和解决梯度冲突的框架,对科学计算之外的优化具有广泛意义。

英文摘要:

Multi-task learning through composite loss functions is fundamental to modern deep learning, yet optimizing competing objectives remains challenging. We present new theoretical and practical approaches for addressing directional conflicts between loss terms, demonstrating their effectiveness in physics-informed neural networks (PINNs) where such conflicts are particularly challenging to resolve. Through theoretical analysis, we demonstrate how these conflicts limit first-order methods and show that second-order optimization naturally resolves them through implicit gradient alignment. We prove that SOAP, a recently proposed quasi-Newton method, efficiently approximates the Hessian preconditioner, enabling breakthrough performance in PINNs: state-of-the-art results on 10 challenging PDE benchmarks, including the first successful application to turbulent flows with Reynolds numbers up to 10,000, with 2-10x accuracy improvements over existing methods. We also introduce a novel gradient alignment score that generalizes cosine similarity to multiple gradients, providing a practical tool for analyzing optimization dynamics. Our findings establish frameworks for understanding and resolving gradient conflicts, with broad implications for optimization beyond scientific computing.

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

↑