cs.LGSep 27, 2026

The limits of exactness: On the failure of automatic differentiation in physics-informed machine learning

Authors: Ameya D. Jagtap

Organizations: Aerospace Engineering Department, Worcester Polytechnic Institute, Worcester, MA 01609, USA

Abstract

Automatic differentiation (AD) lets neural networks compute derivatives of governing equations to machine precision, and this precision has made it the computational backbone of physics-informed machine learning. Yet exactness in the mathematical sense is not the same as fidelity to the physics. Here I argue that a derivative can be numerically perfect and still be the wrong derivative for the problem at hand, because AD, by construction, has no notion of the physical structure a solution must obey. Convection and its associated directionality, diffusion, and dispersion are only the most visible instances of a much longer list that spans all branches of computational science and engineering, including conservation, thermodynamic consistency, symmetry, symplectic structure, positivity, monotonicity, and boundedness. Recognizing this broader gap reframes how the field should build the next generation of PDE-driven neural surrogates.

Figures & tables

Explore similar work

CardsList
  1. A Systematic Analysis of Automatic Differentiation versus Discretization-based Constraints for Physics-Informed PDE Solvers

    Sep 7, 2026Xing Guo, Hongwei Tang, Zewei Meng +3Neural Partial Differential Equation SolversDiscretization