Gradient-Update Mismatch: Rethinking Conflict-Free Training of Physics-Informed Neural Networks
cs.LG
Submitted: 2026-09-01
Updated: 2026-09-01
Code: https://github.com/JingXiao10/GUA
License: http://creativecommons.org/licenses/by/4.0/
The gist: Training Physics-Informed Neural Networks (PINNs) requires jointly optimizing physics residual and initial/boundary condition loss terms, which often induce conflicting gradients.
Terminology
Abstract
Training Physics-Informed Neural Networks (PINNs) requires jointly optimizing physics residual and initial/boundary condition loss terms, which often induce conflicting gradients. Gradient surgery methods mitigate this issue by constructing directions from loss-specific gradients to reduce conflict before optimizer transformation. However, even when the constructed direction is conflict-free, this property may not be preserved after optimizer transformation. Let a t denote the direction constructed by gradient surgery, u t the optimizer proposal, and C t the conflict-free cone induced by the loss-specific gradients. We show that modern optimizers can transform a t through mechanisms such as historical state, adaptive scaling, preconditioning, or decoupled weight decay, so a t in C t does not generally imply u t in C t. We refer to this optimizer-induced discrepancy in conflict-freeness between a t and u t as Gradient-Update Mismatch (GUM). Accordingly, we propose Gradient-Update Alignment (GUA), which projects u t onto C t to obtain the aligned update p t and applies p t to the parameters. When the optimizer maintains internal state, GUA further adjusts this state toward targets reconstructed from the applied update. We conduct extensive experiments and find that GUM is widespread across momentum, adaptive, and curvature-based optimizers, with conflict rates reaching up to 86.3%. Across all PINN settings, GUA achieves conflict-free applied updates and consistently improves various gradient surgery methods, reducing the relative L 2 error by up to 98.2% in individual settings. Data and code are available at https://github.com/JingXiao10/GUA.
Sources
- An Overview on Machine Learning Methods for Partial Differential Equations: from Physics Informed Neural Networks to Deep Operator Learning
- Adam: A Method for Stochastic Optimization
- Fourier Neural Operator for Parametric Partial Differential Equations
- Decoupled Weight Decay Regularization
- Jacobian Descent for Multi-Objective Optimization
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks