cs.LGMar 16, 2026

Building Trust in PINNs: Error Estimation through Finite Difference Methods

Authors: Aleksander Krasowski, René P. Klausen, Aycan Celik, Sebastian Lapuschkin, Wojciech Samek, Jonas Naujoks

Organizations: Department of Artificial Intelligence, Fraunhofer Heinrich Hertz Institute · Centre of eXplainable Artificial Intelligence, Technological University Dublin · Department of Electrical Engineering and Computer Science, Technische Universität Berlin · BIFOLD - Berlin Institute for the Foundations of Learning and Data

Abstract

Physics-informed neural networks (PINNs) constitute a flexible deep learning approach for solving partial differential equations (PDEs), which model phenomena ranging from heat conduction to quantum mechanical systems. Despite their flexibility, PINNs offer limited insight into how their predictions deviate from the true solution, hindering trust in their prediction quality. We propose a lightweight post-hoc method that addresses this gap by producing pointwise error estimates for PINN predictions, which offer a natural form of explanation for such models, identifying not just whether a prediction is wrong, but where and by how much. For linear partial differential equations, the error between a PINN approximation and the true solution satisfies the same differential operator as the original problem, but driven by the PINN's PDE residual as its source term. We solve this error equation numerically using finite difference methods requiring no knowledge of the true solution. Evaluated on several benchmark PDEs, our method yields accurate error maps at low computational cost, enabling targeted and interpretable validation of PINNs.

Figures & tables

Explore similar work

CardsList
  1. Reliable Error Estimation for PINNs: Lower and Upper A Posteriori Bounds

    Jun 10, 2026Ismail Huseynov, Arzu Ahmadova, Agamirza BashirovDynamical SystemsNeural Network Verification

  2. PINNs Failure Modes are Overfitting

    May 29, 2026Nigel T. Andersen, Takashi MatsubaraNeural Network GeneralizationNeural PDE Solvers

  3. Linearized PINN with pretrained nonlinear layers

    Sep 14, 2026Wenhao Chen, Alexandre M. TartakovskyEfficient Neural Network InferencePDE Solving