A Derivative-Fidelity Failure Mode in Physics-Informed Neural Networks: Strengthened Benchmark Evidence from Function-Value Training
Physics-informed neural networks (PINNs) may exhibit a failure mode where function values are accurate but derivatives are not, a problem highlighted by new benchmark evidence.
Intelligence analysis by Gemini 2.5 Flash Lite

A new study identifies a critical failure mode in physics-informed neural networks (PINNs), demonstrating that accurate function approximations do not guarantee accurate derivatives, a key component for enforcing physical laws.
Imagine you're teaching a robot to draw a wavy line. You show it the line's shape (function value), and it draws it perfectly! But when you ask it to tell you how much the line curves at different spots (derivatives), it gets it wrong, especially where the curve is sharpest. This paper shows that AI models used for science can be like that robot: good at showing the picture, but bad at describing the details of how it changes.
Analysis
Derivative Fidelity
The core of this research by Koji Koyamada addresses a subtle yet significant limitation in the application of Physics-Informed Neural Networks (PINNs). PINNs are designed to solve differential equations by incorporating physical laws directly into the neural network's training process. This is typically achieved by using automatic differentiation to compute the residuals of these equations. However, the paper posits that a strong agreement in the network's output function values does not automatically translate to accurate derivatives. This discrepancy is termed a 'derivative-fidelity failure mode.' The study uses one-dimensional benchmarks, specifically training multilayer perceptrons on the function values of sin(x) and exp(x), while independently evaluating their second derivatives. The findings suggest that even when a PINN visually approximates the function accurately, its computed derivatives can be substantially erroneous, particularly in regions of high curvature. This implies that while the network might appear to be learning the underlying physics, it could be failing to capture crucial dynamic behaviors represented by these derivatives.
Benchmark Evidence
To substantiate the derivative-fidelity failure mode, the paper presents strengthened benchmark evidence derived from function-value training. The experiments systematically explore various factors that might influence this failure. These include the density of training points, the choice of activation functions, the strategy of evaluating derivatives near endpoints (endpoint-dense evaluation), and the error metrics used (both L2 and maximum-error diagnostics). The results consistently show a divergence between function value accuracy and derivative accuracy. This is especially pronounced in areas where the function's curvature changes rapidly, a common scenario in many physical systems. The paper's contribution lies not only in identifying this failure mode but also in providing a diagnostic protocol. This protocol aims to help researchers distinguish between superficial value accuracy and the true reliability of the physics residuals computed by PINNs, which is essential for trustworthy scientific AI applications.
Function-Value Training
The specific training methodology examined is 'function-value training,' where the neural network is primarily optimized to match known function values, with the physics constraints (differential equations) being enforced through the derivative calculations. The research highlights that this approach, while intuitive, can mask underlying issues with derivative accuracy. The implications are far-reaching for fields that rely on PINNs for simulations, such as fluid dynamics, heat transfer, and material science. If the derivatives are inaccurate, the simulated physical behavior will be incorrect, leading to flawed predictions and potentially erroneous engineering designs. The paper's rigorous testing across different parameters and error measures provides compelling evidence that derivative fidelity must be explicitly considered and diagnosed when deploying PINNs, rather than assuming it is implicitly guaranteed by good function-value performance.
Key points
- Physics-informed neural networks (PINNs) can exhibit a failure mode where function values are accurate but derivatives are not.
- This 'derivative-fidelity failure mode' is demonstrated through benchmark tests on sin(x) and exp(x) functions.
- Errors in second derivatives are particularly pronounced in high-curvature regions.
- The study provides a diagnostic protocol to distinguish value accuracy from physics-residual reliability in PINNs.
- Accurate function approximation does not guarantee accurate enforcement of physical laws via derivatives.
This research could lead to more robust and reliable physics-informed neural networks by developing better diagnostic tools and training methods. Improved derivative fidelity will enhance the accuracy of AI-driven scientific simulations and predictions across various fields.
If the derivative-fidelity failure mode is not adequately addressed, PINNs may continue to produce seemingly accurate results that are fundamentally flawed in their physical representations, leading to misinterpretations and errors in scientific research and engineering applications.



