Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond
Not on the map. Why?
Abstract (arXiv)
We systematically investigate finite-difference (FD) derivative computation in Physics-Informed Neural Networks (PINNs) as an alternative to automatic differentiation (AD). On three benchmark PDEs we show that, with a properly calibrated step size, FD matches AD in accuracy on every problem while running faster across the full tested batch-size range and using substantially less GPU memory, and that a stochastic variant we propose outperforms AD on a stationary problem. We further show that for neural architectures with inter-sample dependencies (e.g. BatchNorm, self-attention) the standard PyTorch autograd idiom is silently incorrect; the correct per-sample alternative is computationally infeasible at PINN-relevant batch sizes, while FD provides a forward-only approximation that is empirically an order of magnitude closer to the true per-sample derivative.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 26 references that are in the map. First posted on arXiv 11 Aug 2026.
Builds on
14 of 26 references.
References · 14
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2022Scientific Machine Learning through Physics-Informed Neural Networks: Where we are and What's nextcited by 608
- 2021CAN-PINN: A Fast Physics-Informed Neural Network Based on Coupled-Automatic-Numerical Differentiation Methodcited by 93
- 2023PINNacle: A Comprehensive Benchmark of Physics-Informed Neural Networks for Solving PDEscited by 87
- 2023Separable Physics-Informed Neural Networkscited by 66
- 2023PINNsFormer: A Transformer-Based Framework For Physics-Informed Neural Networkscited by 64
- 2020Efficient Learning of Generative Models via Finite-Difference Score Matchingcited by 49
- 2024Numerical analysis of physics-informed neural networks and related models in physics-informed machine learningcited by 39
- 2025Transition Models: Rethinking the Generative Learning Objectivecited by 34
- 2022Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless Discretizationscited by 27
Built on by
Not cited yet.