arXiv:2608.29448cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29448

SS-ESOAP: Self-Scaled Adaptive Preconditioning for Physics-Informed Learning

Guangyuan Wang, Mads Toftrup, Sebastian Loeschcke, Yixuan Wang, Anima Anandkumar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Physics-informed neural networks (PINNs) often face ill-conditioned objectives that limit high-accuracy training. Dense quasi-Newton methods improve local conditioning but require expensive optimizer state, while Kronecker-factored methods such as SOAP scale to larger networks but rely on periodic basis updates. We introduce SS-ESOAP, which augments SOAP-style preconditioning with a scalar secant-energy correction adapted to Kronecker geometry and an adaptive basis update followed by variance-state downscaling. We characterize the directional secant matching induced by the scalar correction and give a bound on variance-state mismatch across basis changes. Across eight PDE benchmarks, SS-ESOAP attains the lowest final residual on six, including Burgers and Boussinesq, while SOAP-family baselines perform better on Gray-Scott and Ginzburg-Landau. On Boussinesq, SS-ESOAP reaches a residual of 10−510^{-5} in 4.1 hours with 9.2 GB peak VRAM, while Adam does not reach this target within 14 hours. Three-seed L2L^{2} and H1H^{1} errors on four representative PDEs support the link between lower residuals and improved solution accuracy. These results position SS-ESOAP as a scalable option for stiff, high-accuracy physics-informed training, rather than a uniform replacement for existing optimizers.

1 Introduction

High-precision optimization is central to scientific machine learning. One example is the search for finite-time singularities in the three-dimensional Euler and Navier-Stokes equations. PINNs have been used to reconstruct candidate self-similar profiles in unbounded domains [1–3]. Such candidates require low residuals before computer-assisted analysis. PINN objectives are often ill-conditioned near this accuracy regime, where standard first-order training may plateau [4–8].

More broadly, PINN optimization presents challenges that differ from standard supervised learning. PINN losses combine PDE residuals with boundary and initial-condition terms, which can induce gradient imbalance, numerical stiffness, and ill-conditioned loss landscapes [4–6][4–6]. As a result, standard first-order optimizers such as Adam often converge slowly or plateau in high-accuracy regimes, motivating curvature-aware methods for PINN training [9][9].

Second-order methods use curvature information via Hessian-approximation updates, enabling more efficient descent directions than first-order methods in many non-convex problems. Quasi-Newton methods such as BFGS [10][10] and L-BFGS [11][11] build these approximations from gradient differences, avoiding explicit second derivatives while retaining

Preprint. Under review. Correspondence to: guangyuan.wang@mail.mcgill.ca.

favorable local convergence. Self-scaled variants, such as SS-BFGS, rescale the Hessian approximation to better match the local curvature spectrum [9, 12–14]. However, these methods operate on the flattened vector, requiring O(din2dout2)O(d_{\mathrm{in}}^2 d_{\mathrm{out}}^2) for a single dout×dind_{\mathrm{out}} \times d_{\mathrm{in}} matrix parameter, making exact self-scaled quasi-Newton updates impractical for deep networks.

Kronecker-factored preconditioners provide a scalable alternative. Methods such as K-FAC [15], Shampoo [16], and SOAP [17] approximate curvature or gradient covariance through tensor products of smaller matrices, enabling structured preconditioning without maintaining a dense Hessian approximation. Rather than enforcing a quasi-Newton secant condition, these methods use second-order statistics such as empirical Fisher information or uncentered gradient covariance to rescale the gradient. However, existing Kronecker-factored methods still face limitations in non-stationary regimes. Standard Shampoo and SOAP typically update the preconditioner eigenspace at fixed intervals, which may not match the rate at which curvature statistics evolve during PINN training. Moreover, accumulated second-moment statistics are often reprojected after basis updates, which can be unstable when the basis rotates substantially [18].

In this work, we propose SS-ESOAP, a layerwise Kronecker-factored optimizer for high-accuracy PINN training. The method adds two operations to SOAP-style preconditioning. First, a scalar factor matches the Kronecker metric to the secant energy observed along the latest parameter displacement. Second, an EShampoo-style off-diagonal criterion triggers a basis update [18]. At each triggered update, SS-ESOAP reprojects the momentum state and downscales the coordinatewise second moment instead of reprojecting that second moment.

For a dout×dind_{\text{out}} \times d_{\text{in}} matrix parameter, SS-ESOAP stores O(din2+dout2)O(d_{\text{in}}^2 + d_{\text{out}}^2) Kronecker factors in addition to Adam-style states. The scalar secant calculation costs O(dindout)O(d_{\text{in}} d_{\text{out}}) after the required eigenspace quantities are available, or O(dindout)O(d_{\text{in}} d_{\text{out}}) when counted over all matrix entries. The basis check and eigendecomposition retain cubic layer-width costs, analyzed in Appendix F.

Across eight PDE benchmarks, SS-ESOAP records the lowest final residual on six. On Boussinesq, it reaches 10−510^{-5} in 4.1 hours, while Adam does not reach the same target within a 14-hour run. The gains are regime-dependent. Purifying Shampoo performs better on Gray-Scott, and SOAP performs better on Ginzburg-Landau. We therefore study SS-ESOAP as a specialized optimizer for stiff, high-accuracy regimes.

References (35)