Task-Contribution Dynamics of Adam in Physics-Informed Neural Networks: Slow-Manifold Analysis and Gradient Modulation
Enzhan Zheng, Xiaoliang Song
Abstract
Physics-informed neural networks (PINNs) often suffer from imbalanced optimization of competing loss components, particularly when approximating solutions with high-frequency or multiscale features. Although existing balancing strategies have proven effective in alleviating this difficulty, the mechanisms governing the evolution of individual task contributions to Adam's parameter updates remain insufficiently understood. We introduce task-wise indicators to characterize this evolution and identify three distinct training regimes: smooth variation, intermittent spikes, and persistent oscillations. Focusing on the early smooth regime, we combine discrete-time analysis with a continuous-time singular perturbation framework under the full-batch setting and the parameter regime (1-β2)/(1-β1)1. A first-order approximation of the locally attracting slow manifold reveals two factors governing the step-to-step redistribution of task contributions: curvature-related alignment disparities and differences in the coordinatewise distributions of preconditioned task gradients. Both factors involve Adam's shared second-moment estimate. Inspired by AdaTask, we propose Gradient-Modulated Adam (GMAdam), which modulates incoming task gradients using task-specific second-moment estimates. Numerical experiments on high-frequency Poisson and wave equations, the Allen-Cahn equation, and two-dimensional lid-driven cavity flow (Re=100,400) demonstrate consistent improvements in predictive accuracy over AdaTask at comparable computational cost.
Create a lesson
Related papers
Equidistribution of Solution Gradients in Physics-Informed Neural Networks via Coordinate Transformations
Shared title terminology · Tianchi Yu, Ivan Oseledets
When and why can integral constraints improve the accuracy of physics-informed neural networks?
Shared title terminology · Myeong-Su Lee
Stable admissible neural classes and convergent physics-informed neural networks
Shared title terminology · Leevan Ling, Shu Ma, Yizhong Sun
Convergence analysis of physics-informed neural networks for subdiffusion
Shared title terminology · Bangti Jin, Qiqi Rao, Zhi Zhou
Block-Sparse Gauss-Newton Optimization of Finite Basis Physics-Informed Neural Networks: Sparse Automatic Differentiation Approach
Shared title terminology · Denis Korolev, Adrian Hill, Jeeeun Lee
Variationally correct physics-informed operator learning for nonlinear partial differential equations
Shared title terminology · Yuan Qiu, Wolfgang Dahmen, Peng Chen