On the Global Convergence of Stochastic Adam for Physics-Informed Neural Networks

Yihang GaoarXiv 2026

TL;DR

This paper provides the first rigorous proof that the Adam optimizer—the "gold standard" for deep learning—guarantees global linear convergence when training wide, two-layer neural networks and Physics-Informed Neural Networks (PINNs). By leveraging the Neural Tangent Kernel (NTK) framework, the author establishes that Adam can drive training loss to zero even in the complex, derivative-heavy landscapes of physics-based simulations.

What Problem Does This Paper Address?

In the world of deep learning, the Adam optimizer is ubiquitous. It’s fast, adaptive, and empirically drives training loss nearly to zero. However, while we have solid mathematical proofs for why simpler methods like Gradient Descent (GD) and Stochastic Gradient Descent (SGD) converge to global minima in "overparameterized" (very wide) networks, Adam has remained a theoretical enigma.

The challenge lies in Adam's complexity:

  1. Momentum: It uses a "first-moment" moving average that couples gradients across different time steps.
  2. Adaptive Preconditioning: It scales updates based on a "second-moment" estimate of squared gradients. Because the same data batch is often used to calculate both the gradient and its scaling factor, it introduces a statistical bias that makes standard convergence proofs fall apart.

This gap is even wider for Physics-Informed Neural Networks (PINNs). Unlike standard image recognition, PINNs must minimize a loss function containing differential operators (derivatives) to solve equations like the Poisson equation. This makes the optimization landscape significantly more "jagged" and difficult to analyze.

Methods

The author tackles these challenges using the Neural Tangent Kernel (NTK) framework. The core idea of NTK is that if a neural network is sufficiently wide, its weights don't have to move very far from their random starting points to find a global minimum. In this regime, the network behaves like a linear model with a stable "Gram matrix."

To handle Adam specifically, the paper introduces several novel analytical tools:

  • Lyapunov Functions: For deterministic (full-batch) Adam, the author constructs a Lyapunov function—a mathematical "energy" function that is guaranteed to decrease over time—to prove that the historical momentum doesn't push the optimization off track.
  • Virtual-Iterate Representation: For stochastic (minibatch) Adam, the author uses a "virtual iterate" trick to decouple the current update from the messy history of previous gradients.
  • Conditional Analysis: To solve the bias problem in minibatches, the author establishes conditions under which the correlation between the gradient and its scaling factor is small enough to ignore, provided the second-moment parameter ($\beta_2$) is sufficiently close to 1.

Datasets

As a theoretical work, the paper does not use standard image datasets like ImageNet. Instead, it focuses on:

  • Synthetic Regression: A general problem with $n$ distinct training samples in $\mathbb{R}^d$.
  • Poisson Equation: A classic partial differential equation (PDE) solved on a bounded domain. The "dataset" here consists of collocation points—specific coordinates in space where the neural network is forced to satisfy the physics of the equation and its boundary conditions.

Key Insights and Ideas

  • Adam is "SGD-like" in the Wide Limit: The paper shows that for very wide networks, Adam’s adaptive scaling stays relatively stable. This allows it to inherit the global convergence properties of SGD, provided the hyperparameters are tuned correctly.
  • The $\beta_2$ Constraint: A crucial finding is that for stochastic Adam to converge, the second-moment parameter $\beta_2$ must be very close to 1. This matches empirical practice, where the default is often $0.999$.
  • PINN Regularity: The author proves that while differential operators in PINNs make the "Gram matrix" harder to control, they don't prevent convergence. They simply require a slightly wider network and a more conservative step size compared to simple regression.
  • Minibatch Scaling: The analysis explicitly characterizes how the minibatch size ($b$) affects the convergence rate, showing that larger batches allow for larger learning rates and more stable convergence.

Key Results

The paper establishes Global Linear Convergence. This means the training loss $L(\theta^{(t)})$ disappears at a geometric rate: $$L(\theta^{(t)}) \leq (1 - \text{rate})^t L(\theta^{(0)})$$

Specific quantitative takeaways include:

  • Width Requirements: For a network to converge, its width $m$ must scale with the number of samples $n$ and the inverse of the smallest eigenvalue of the NTK ($\lambda_0$).
  • Sharper Bounds for PINNs: The paper provides width requirements for PINNs that are theoretically "sharper" (more efficient) than previous analyses for GD or SGD.
  • Comparison: In Table 1, the author shows that Adam achieves convergence rates comparable to GD and SGD, finally putting Adam on a firm theoretical footing alongside its simpler cousins.

Limitations and Future Work

While a major step forward, the author notes several areas for further exploration:

  • Two-Layer Limitation: The proof currently only applies to two-layer networks. Extending this to deep, multi-layer architectures remains a significant challenge.
  • The "Adam Advantage": Interestingly, the theory shows that Adam converges as well as SGD, but it doesn't yet mathematically prove that Adam is faster or better (which is often seen in practice). Explaining Adam's superior generalization and speed remains an open question.
  • Complex PDEs: The analysis is limited to the Poisson equation. Future work could extend these guarantees to more complex, non-linear physics like the Navier-Stokes equations.
  • Other Optimizers: The author suggests that similar techniques could be used to analyze quasi-Newton methods like L-BFGS, which are also popular in the PINN community.

Summary updated

Abstract

The Adam optimizer is widely used to train neural networks with highly nonlinear and nonconvex objective functions. Remarkably, Adam often drives the empirical training loss nearly to zero. This phenomenon has been partially explained by neural tangent kernel (NTK) analyses of gradient descent (GD) and stochastic gradient descent (SGD). However, analyzing Adam presents additional challenges. Its first-moment momentum couples stochastic gradients across iterations, while its adaptive second-moment preconditioner depends on the same stochastic gradient used in the update. In this paper, we establish linear convergence guarantees for Adam in training sufficiently wide two-layer neural networks with either full-batch or minibatch gradients. For full-batch Adam, we construct a Lyapunov function to control the effect of historical momentum. For minibatch Adam, our analysis builds on an exact virtual-iterate representation, a conditional analysis of the dependence between stochastic gradients and adaptive preconditioners, and uniform concentration bounds for the second-moment estimates. We prove geometric decay of the empirical loss for full-batch Adam and geometric decay in restricted expectation on a high-probability event for minibatch Adam. Beyond regression, we extend our convergence analysis to physics-informed neural networks (PINNs) for solving the Poisson equation, where differential operators and separate sampling of interior and boundary points introduce additional challenges. We establish analogous global convergence guarantees for both deterministic and stochastic Adam under explicit conditions on network width and Adam's parameters, characterizing the effects of minibatch size on convergence. These results help bridge the gap between Adam's empirical success and its theoretical understanding, providing sharper convergence guarantees for PINNs than existing analyses.
BibTeX
@misc{gao2026global,
  author = {Yihang Gao},
  title = {{On the Global Convergence of Stochastic Adam for Physics-Informed Neural Networks}},
  year = {2026},
  eprint = {2611.11905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11905},
}
Figure