Automatic Differentiation is Essential in Training Neural Networks for Solving Differential Equations
Not on the map. Why?
Abstract (arXiv)
Neural network-based approaches have recently shown significant promise in solving partial differential equations (PDEs) in science and engineering, especially in scenarios featuring complex domains or incorporation of empirical data. One advantage of the neural network methods for PDEs lies in its automatic differentiation (AD), which necessitates only the sample points themselves, unlike traditional finite difference (FD) approximations that require nearby local points to compute derivatives. In this paper, we quantitatively demonstrate the advantage of AD in training neural networks. The concept of truncated entropy is introduced to characterize the training property. Specifically, through comprehensive experimental and theoretical analyses conducted on random feature models and two-layer neural networks, we discover that the defined truncated entropy serves as a reliable metric for quantifying the residual loss of random feature models and the training speed of neural networks for both AD and FD methods. Our experimental and theoretical analyses demonstrate that, from a training perspective, AD outperforms FD in solving PDEs.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 17 of its 44 references that are in the map. First posted on arXiv 23 May 2024.
Builds on
17 of 44 references.
References · 17
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2016An overview of gradient descent optimization algorithmscited by 1,033
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2017The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problemscited by 583
- 2017Solving high-dimensional partial differential equations using deep learningcited by 556
- 2021Choose a Transformer: Fourier or Galerkincited by 343
- 2020PhyGeoNet: Physics-Informed Geometry-Adaptive Convolutional Neural Networks for Solving Parameterized Steady-State PDEs on Irregular Domaincited by 174
- 2020Deep Network Approximation for Smooth Functionscited by 164
- 2021CAN-PINN: A Fast Physics-Informed Neural Network Based on Coupled-Automatic-Numerical Differentiation Methodcited by 93
- 2021Error analysis for physics informed neural networks (PINNs) approximating Kolmogorov PDEscited by 57
- 2023Nearly Optimal VC-Dimension and Pseudo-Dimension Bounds for Deep Neural Network Derivativescited by 30
- 2020Teaching the Incompressible Navier-Stokes Equations to Fast Neural Surrogate Models in 3Dcited by 27
5 more
- 2022Transformer Meets Boundary Value Inverse Problemscited by 22
- 2021Finite Volume Neural Network: Modeling Subsurface Contaminant Transportcited by 15
- 2024Deeper or Wider: A Perspective from Optimal Generalization Error with Sobolev Losscited by 14
- 2022DOSnet as a Non-Black-Box PDE Solver: When Deep Learning Meets Operator Splittingcited by 11
- 2023Homotopy Relaxation Training Algorithms for Infinite-Width Two-Layer ReLU Neural Networkscited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 3.
9 papers.
- 2024Quantifying Training Difficulty and Accelerating Convergence in Neural Network-Based PDE Solverscited by 4
- 2025Learn Singularly Perturbed Solutions via Homotopy Dynamicscited by 2
- 2024DeepONet for Solving Nonlinear Partial Differential Equations with Physics-Informed Trainingcited by 1
- 2025ZENN: A Thermodynamics-Inspired Computational Framework for Heterogeneous Data-Driven Modelingcited by 1
- 2025ARDO: A Weak Formulation Deep Neural Network Method for Elliptic and Parabolic PDEs Based on Random Differences of Test Functionscited by 0
- 2025A Neural Network for the Identical Kuramoto Equation: Architectural Considerations and Performance Evaluationcited by 0
- 2026Automatically Differentiable Nonlinear Tensor Networks (ADNTNs) for Exponential Parameter Compression of Deep Neural Networkscited by 0
- 2026Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyondcited by 0
- 2026A Systematic Analysis of Automatic Differentiation versus Discretization-based Constraints for Physics-Informed PDE Solverscited by 0
- 2026A Systematic Analysis of Automatic Differentiation versus Discretization-based Constraints for Physics-Informed PDE Solvers7 Sep 2026
- 2026Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond11 Aug 2026
- 2026Automatically Differentiable Nonlinear Tensor Networks (ADNTNs) for Exponential Parameter Compression of Deep Neural Networks28 May 2026
- 2025A Neural Network for the Identical Kuramoto Equation: Architectural Considerations and Performance Evaluation17 Sep 2025
- 2025ARDO: A Weak Formulation Deep Neural Network Method for Elliptic and Parabolic PDEs Based on Random Differences of Test Functions3 Sep 2025
- 2025ZENN: A Thermodynamics-Inspired Computational Framework for Heterogeneous Data-Driven Modeling14 May 2025
- 2025Learn Singularly Perturbed Solutions via Homotopy Dynamics1 Feb 2025
- 2024Quantifying Training Difficulty and Accelerating Convergence in Neural Network-Based PDE Solvers8 Oct 2024
- 2024DeepONet for Solving Nonlinear Partial Differential Equations with Physics-Informed Training6 Oct 2024