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

Sifan Wang, Ananyae Kumar Bhartari, Bowen Li, P. Perdikaris

arXiv:2502.00604 · 2026-07-27 공개 · arXiv · PDF

multi-task-learning physics-informed-neural-networks second-order-optimization soap pde-benchmarks gradient-conflicts gradient-alignment reynolds-number

Abstract

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.

한국어 요약

한 줄 요약

PINNs에서 경사도 충돌을 해결하기 위한 2차 최적화 접근법을 제시하며, SOAP 알고리즘을 통해 10개 PDE 벤치마크에서 2~10배 정확도 향상.

핵심 기여도

핵심 아이디어

PINNs에서 물리적 제약과 데이터 피팅 간의 경사도 충돌은 1차 최적화 방법(예: Adam)이 평균 경사도 방향만 따르기 때문에 해결이 어려운 문제이다. 본 연구는 2차 최적화가 이러한 충돌을 암묵적으로 해결할 수 있음을 이론적으로 증명하고, SOAP이라는 준-뉴턴법을 통해 헤시안 전처리를 효율적으로 근사함으로써 경사도 정렬을 달성했다. 특히, SOAP은 헤시안의 구조적 정보를 활용하여 경사도 간의 방향을 일치시키는 동시에 계산 비용을 낮추는 장점을 가진다. 이는 PINNs에서 물리적 제약과 데이터 간의 경계를 명확히 하지 않고도 최적화를 안정적으로 수행할 수 있게 한다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 PINNs에서 경사도 충돌 문제를 이론적으로 분석하고, 2차 최적화를 통해 이를 해결하는 새로운 프레임워크를 제시함으로써, 과학 계산 분야의 최적화 이론을 확장하는 데 기여한다. 특히, SOAP은 계산 효율성을 유지하면서도 정확도를 크게 향상시켜, 복잡한 물리 시스템 모델링에 실용적 가치를 제공한다. 그러나, SOAP은 여전히 헤시안 근사를 위한 메모리와 계산 자원이 필요하며, 대규모 시스템에 확장하는 데 한계가 있다. 또한, GAS는 경사도 충돌을 정량화하는 데 유용하지만, 실제 최적화 과정에서의 동적 변화를 완전히 포착하지 못할 수 있다.

실용적 활용

본 연구는 난류 흐름, 반응-확산 시스템, 열전달 등 복잡한 물리 현상을 모델링하는 산업 분야(예: 항공우주, 에너지, 환경 공학)에서 PINNs의 신뢰성을 높이는 데 활용될 수 있다. 또한, 다중 목적 최적화 문제를 다루는 딥러닝 모델(예: 컴퓨터 비전, 자연어 처리)에도 적용 가능하며, 경사도 충돌을 효과적으로 관리하는 새로운 최적화 알고리즘 개발에 기초가 될 수 있다.