Real-Time Explanations for Tabular Foundation Models
Organizations: Kunumi Institute, Belo Horizonte, Minas Gerais, Brazil · Universidade Federal de Minas Gerais, Belo Horizonte, Minas Gerais, Brazil
Abstract
Interpretability is central for scientific machine learning, as understanding why models make predictions enables hypothesis generation and validation. While tabular foundation models show strong performance, existing explanation methods like SHAP are computationally expensive, limiting interactive exploration. We introduce ShapPFN, a foundation model that integrates Shapley value regression directly into its architecture, producing both predictions and explanations in a single forward pass. On standard benchmarks, ShapPFN achieves competitive performance while producing high-fidelity explanations (=0.96, cosine=0.99) over 1000\times faster than KernelSHAP (0.06s vs 610s). Our code is available at https://github.com/kunumi/ShapPFN
Figures & tables
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Parameter Optimized | Loss Wt. | Warmup Steps | Num Subsets | Bkg Samples | SHAP Cos | ROC AUC |
| SHAP Loss Weight | 1 | 2000 | 4 | 4 | 0.979 | 0.829 |
| 2 | 2000 | 4 | 4 | 0.977 | 0.826 | |
| 10 | 2000 | 4 | 4 | 0.979 | 0.798 | |
| 50 | 2000 | 4 | 4 | 0.890 | 0.777 | |
| Warmup Steps | 1 | 0 | 4 | 4 | 0.977 | 0.830 |
| 1 | 400 | 4 | 4 | 0.979 | 0.828 |
Neural Network Interpretability
Neural network interpretability studies how models represent information and make predictions, and how to explain, test, or control their internal computations.
See all 329 papers