Interpreting and generalizing deep learning in physics-based problems with functional linear models
Amirhossein Arzani, Lingxiao Yuan, Pania Newell, Bei Wang
TL;DR
The work tackles interpretability and poor OOD generalization in physics-based deep learning by introducing generalized functional linear models as interpretable surrogates. These surrogates are linear sums of integral equations with kernels drawn from a library and learned via sparse regression, enabling post-hoc interpretation of a trained network or direct data-driven construction. Across solid mechanics, fluid dynamics, and transport problems, the interpretable surrogate achieves comparable training accuracy and often improved OOD generalization, while providing transparent kernel-based mappings between input functions and outputs. The framework supports a hybrid strategy where a neural network handles in-distribution predictions and the interpretable surrogate addresses extrapolation, with potential extensions to time-dependent problems and inverse problems, thereby enhancing trust and utility in scientific ML.
Abstract
Although deep learning has achieved remarkable success in various scientific machine learning applications, its opaque nature poses concerns regarding interpretability and generalization capabilities beyond the training data. Interpretability is crucial and often desired in modeling physical systems. Moreover, acquiring extensive datasets that encompass the entire range of input features is challenging in many physics-based learning tasks, leading to increased errors when encountering out-of-distribution (OOD) data. In this work, motivated by the field of functional data analysis (FDA), we propose generalized functional linear models as an interpretable surrogate for a trained deep learning model. We demonstrate that our model could be trained either based on a trained neural network (post-hoc interpretation) or directly from training data (interpretable operator learning). A library of generalized functional linear models with different kernel functions is considered and sparse regression is used to discover an interpretable surrogate model that could be analytically presented. We present test cases in solid mechanics, fluid mechanics, and transport. Our results demonstrate that our model can achieve comparable accuracy to deep learning and can improve OOD generalization while providing more transparency and interpretability. Our study underscores the significance of interpretable representation in scientific machine learning and showcases the potential of functional linear models as a tool for interpreting and generalizing deep learning.
