Lune

NeurIPS2024Top-tier venue

Kronecker-Factored Approximate Curvature for Physics-Informed Neural Networks

Felix Dangel, Johannes Müller, Marius Zeinhofer

Abstract

Physics-informed neural networks (PINNs) are infamous for being hard to train. Recently, second-order methods based on natural gradient and Gauss-Newton methods have shown promising performance, improving the accuracy achieved by first-order methods by several orders of magnitude. While promising, the proposed methods only scale to networks with a few thousand parameters due to the high computational cost to evaluate, store, and invert the curvature matrix. We propose Kronecker-factored approximate curvature (KFAC) for PINN losses that greatly reduces the computational cost and allows scaling to much larger networks. Our approach goes beyond the established KFAC for traditional deep learning problems as it captures contributions from a PDE's differential operator that are crucial for optimization. To establish KFAC for such losses, we use Taylor-mode automatic differentiation to describe the differential operator's computation graph as a forward network with shared weights. This allows us to apply KFAC thanks to a recently-developed general formulation for networks with weight sharing. Empirically, we find that our KFAC-based optimizers are competitive with expensive second-order methods on small problems, scale more favorably to higher-dimensional neural networks and PDEs, and consistently outperform first-order methods and LBFGS.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ANaGRAM: A Natural Gradient Relative to Adapted Model for efficient PINNs learning cites An operator preconditioning perspective on training in physics-informed machine learning
  • ANaGRAM: A Natural Gradient Relative to Adapted Model for efficient PINNs learning cites Characterizing possible failure modes in physics-informed neural networks
  • Improving Energy Natural Gradient Descent through Woodbury, Momentum, and Randomization cites Characterizing possible failure modes in physics-informed neural networks
  • An operator preconditioning perspective on training in physics-informed machine learning cites Characterizing possible failure modes in physics-informed neural networks
  • Kronecker-Factored Approximate Curvature for Modern Neural Network Architectures cites Gradient Descent on Neurons and its Link to Approximate Second-order Optimization
  • A Sketch-and-Project Analysis of Subsampled Natural Gradient Algorithms cites ANaGRAM: A Natural Gradient Relative to Adapted Model for efficient PINNs learning
  • A Sketch-and-Project Analysis of Subsampled Natural Gradient Algorithms cites Improving Energy Natural Gradient Descent through Woodbury, Momentum, and Randomization
  • The Challenges of the Nonlinear Regime for Physics-Informed Neural Networks cites Characterizing possible failure modes in physics-informed neural networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Improving Energy Natural Gradient Descent through Woodbury, Momentum, and RandomizationAndrés Guzmán-Cordero, Felix Dangel, Gil Goldshlager, Marius ZeinhoferNeurIPS 2025 · 17 citations
  2. A Sketch-and-Project Analysis of Subsampled Natural Gradient AlgorithmsGil Goldshlager, Jiang Hu, Lin LinICML 2026 · 1 citation
  3. Collapsing Taylor Mode Automatic DifferentiationFelix Dangel, Tim Siebert, Marius Zeinhofer, Andrea WaltherNeurIPS 2025 · 1 citation
  4. ANaGRAM: A Natural Gradient Relative to Adapted Model for efficient PINNs learningNilo Schwencke, Cyril FurtlehnerICLR 2025
  5. Geometry-Misalignment in Distributional LearningTao Wang, Xiaoting ZhongICML 2026

Builds on9

  1. Characterizing possible failure modes in physics-informed neural networksAditi S. Krishnapriyan, Amir Gholami, Shandian Zhe, Robert M. Kirby et al.NeurIPS 2021 · 1,421 citations
  2. Kronecker-Factored Approximate Curvature for Modern Neural Network ArchitecturesRuna Eschenhagen, Alexander Immer, Richard E. Turner, Frank Schneider et al.NeurIPS 2023 · 62 citations
  3. The Challenges of the Nonlinear Regime for Physics-Informed Neural NetworksAndrea Bonfanti, Giuseppe Bruno, Cristina CiprianiNeurIPS 2024 · 41 citations
  4. Gradient Descent on Neurons and its Link to Approximate Second-order OptimizationFrederik BenzingICML 2022 · 31 citations
  5. An operator preconditioning perspective on training in physics-informed machine learningTim De Ryck, Florent Bonnet, Siddhartha Mishra, Emmanuel de BézenacICLR 2024 · 28 citations

Related papers

  1. SKFAC: Training Neural Networks With Faster Kronecker-Factored Approximate CurvatureZedong Tang, Fenlong Jiang, Maoguo Gong, Hao Li et al.CVPR 2021
  2. A Trace-restricted Kronecker-Factored Approximation to Natural GradientKai-Xin Gao, Xiao-Lei Liu, Zheng-Hai Huang, Min Wang et al.AAAI 2021 · 13 citations
  3. Convolutional neural network training with distributed K-FACJ. Gregory Pauloski, Zhao Zhang, Lei Huang, Weijia Xu et al.SC 2020 · 26 citations
  4. Stochastic Taylor Derivative Estimator: Efficient amortization for arbitrary differential operatorsZekun Shi, Zheyuan Hu, Min Lin, Kenji KawaguchiNeurIPS 2024 · 32 citations
  5. KAISA: an adaptive second-order optimizer framework for deep neural networksJ. Gregory Pauloski, Qi Huang, Lei Huang, Shivaram Venkataraman et al.SC 2021 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines