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
TL;DR
This work addresses training data efficiency in physics-informed neural networks (PINNs) by leveraging training data attribution via influence functions. It introduces PINNfluence, an influence-function-based resampling strategy that scores candidate collocation points and adaptively refines the training set, either by adding or replacing points, using a distribution that emphasizes high-impact samples. Across five PDEs (diffusion, Burgers', Allen-Cahn, wave, drift-diffusion), PINNfluence achieves performance on par with or better than residual-based adaptive refinement (RAR) and other baselines, demonstrating the potential of XAI-inspired data selection to improve PINN training. While offering competitive accuracy, the method incurs higher computational costs due to Hessian and backward-pass calculations, motivating future work on efficiency and integration with broader theory such as neural tangent kernels.
Abstract
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.
