Banner Banner

Leveraging Influence Functions for Resampling Data in Physics-Informed Neural Networks

Jonas R. Naujoks
Aleksander Krasowski
Moritz Weckbecker
Galip Ümit Yolcu
Thomas Wiegand
Sebastian Lapuschkin
Wojciech Samek
René P. Klausen

June 19, 2025

Physics-informed neural networks (PINNs) offer a powerful approach to solving partial differential equations (PDEs), which are ubiquitous in the quantitative sciences. Applied to both forward and inverse problems across various scientific domains, PINNs have recently emerged as a valuable tool in the field of scientific machine learning. A key aspect of their training is that the data -- spatio-temporal points sampled from the PDE's input domain -- are readily available. Influence functions, a tool from the field of explainable AI (XAI), approximate the effect of individual training points on the model, enhancing interpretability. In the present work, we explore the application of influence function-based sampling approaches for the training data. Our results indicate that such targeted resampling based on data attribution methods has the potential to enhance prediction accuracy in physics-informed neural networks, demonstrating a practical application of an XAI method in PINN training.