Challenges in Automatic Differentiation and Numerical Integration in Physics‐Informed Neural Networks Modelling

ABSTRACT In this paper, we numerically examine the precision challenges that emerge in automatic differentiation and numerical integration in various tasks now tackled by physics‐informed neural networks (PINNs). Specifically, we illustrate how ill‐posed problems or inaccurately computed functions can cause serious precision issues in differentiation and integration. A major difficulty lies in detecting these problems. A simple, large‐scale view of the function, or good‐looking loss functions or convergence results, may not reveal any potential errors, and the resulting outcomes are often mistakenly considered correct. To address this, it is often critical to determine whether standard double‐precision arithmetic suffices or if higher precision is necessary, but using higher precision arithmetic with neural networks does not have to bring an improvement at all. Three problematic use cases for solving differential equations using PINNs are analyzed in detail. For the case requiring numerical integration, we also evaluate several numerical quadrature methods and suggest particular numerical analysis steps to choose the most suitable method.

Institutions

Publication Details

Journal
International Journal for Numerical Methods in Engineering
Published
2025-10-16
DOI
https://doi.org/10.1002/nme.70148
Primary Topic
Model Reduction and Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Challenges in Automatic Differentiation and Numerical Integration in Physics‐Informed Neural Networks Modelling

International Journal for Numerical Methods in Engineering
Model Reduction and Neural Networks
article

Challenges in Automatic Differentiation and Numerical Integration in Physics‐Informed Neural Networks Modelling

article en

Abstract

ABSTRACT In this paper, we numerically examine the precision challenges that emerge in automatic differentiation and numerical integration in various tasks now tackled by physics‐informed neural networks (PINNs). Specifically, we illustrate how ill‐posed problems or inaccurately computed functions can cause serious precision issues in differentiation and integration. A major difficulty lies in detecting these problems. A simple, large‐scale view of the function, or good‐looking loss functions or convergence results, may not reveal any potential errors, and the resulting outcomes are often mistakenly considered correct. To address this, it is often critical to determine whether standard double‐precision arithmetic suffices or if higher precision is necessary, but using higher precision arithmetic with neural networks does not have to bring an improvement at all. Three problematic use cases for solving differential equations using PINNs are analyzed in detail. For the case requiring numerical integration, we also evaluate several numerical quadrature methods and suggest particular numerical analysis steps to choose the most suitable method.

International Journal for Numerical Methods in EngineeringVol. 126(20)
University of West Bohemia in Pilsen (CZ)
Openalex Percentile: Top 48%
Model Reduction and Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.