Real-Time Explanations for Tabular Foundation Models

Luan Borges Teodoro Reis Sena, Francisco Galuppo Azevedo
3/31/2026
cs.LG

Official code: kunumi/ShapPFN (0 stars, last commit 2026-03-30).

Abstract

Interpretability is central for scientific machine learning, as understanding \emph{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 ($R^2$=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

View on arXivView PDF

Code Implementations(1)

kunumi/ShapPFNOfficial100%
00Shell, PythonMar 30, 20266 months ago

Similar Papers

Cite this paper

@article{sena2026realtime,
  title  = {Real-Time Explanations for Tabular Foundation Models},
  author = {Luan Borges Teodoro Reis Sena and Francisco Galuppo Azevedo},
  year   = {2026},
  eprint = {2603.29946},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.29946v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.29946.svg)](https://codeofpaper.com/paper/2603.29946)

Discussion