Metraipolis › archive › dc_5e0d315f3e36
Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond — arXiv:2608.11020
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.11020
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T06:19:32.493Z
- SHA-256 of the archived text
d0f18776e39d0be49e7215b50194576f71dddd9e3621605adcd0b3e0133c675d- Stable URL of this page
https://metraipolis.com/documento/dc_5e0d315f3e36
How to cite
Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond — arXiv:2608.11020 — arXiv (en), https://arxiv.org/abs/2608.11020 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5e0d315f3e36 (Metraipolis archive dc_5e0d315f3e36, sha256 d0f18776e39d0be49e7215b50194576f71dddd9e3621605adcd0b3e0133c675d)
BibTeX
@misc{dc5e0d315f3e36,
title = {Derivative Computation in PINNs: Automatic Differentiation, Finite Differences and Beyond — arXiv:2608.11020},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.11020},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5e0d315f3e36; sha256 d0f18776e39d0be49e7215b50194576f71dddd9e3621605adcd0b3e0133c675d},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.11020. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-12 in cs.LG). Categorie arXiv: Machine Learning (cs.LG) ; Numerical Analysis (math.NA); Computational Physics (physics.comp-ph). Pagina del lavoro: https://arxiv.org/abs/2608.11020 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T06:11:45.105Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-12?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).