Papers › Interpretable Machine Learning for TabPFN

Interpretable Machine Learning for TabPFN

16 Mar 2024arXiv:2403.10923archive 2025-07-28

David Rundel, Julius Kobialka, Constantin von Crailsheim, Matthias Feurer, Thomas Nagler, David Rügamer

The recently developed Prior-Data Fitted Networks (PFNs) have shown very promising results for applications in low-data regimes. The TabPFN model, a special case of PFNs for tabular data, is able to achieve state-of-the-art performance on a variety of classification tasks while producing posterior predictive distributions in mere seconds by in-context learning without the need for learning parameters or hyperparameter tuning. This makes TabPFN a very attractive option for a wide range of domain applications. However, a major drawback of the method is its lack of interpretability. Therefore, we propose several adaptations of popular interpretability methods that we specifically design for TabPFN. By taking advantage of the unique properties of the model, our adaptations allow for more efficient computations than existing implementations. In particular, we show how in-context learning facilitates the estimation of Shapley values by avoiding approximate retraining and enables the use of Leave-One-Covariate-Out (LOCO) even when working with large-scale Transformers. In addition, we demonstrate how data valuation methods can be used to address scalability challenges of TabPFN. Our proposed methods are implemented in a package tabpfn_iml and made available at https://github.com/david-rundel/tabpfn_iml.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.10923")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

david-rundel/tabpfn_iml officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
4unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from david-rundel/tabpfn_iml. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

JointBCELossWithLogits david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/losses.py official repository ran MIT (permissive) · 890fb6ef88c9dbef · report
draw_random_style david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/priors/differentiable_prior.py official repository ran MIT (permissive) · 6751753e52ba3b27 · report
get_append_embedding_encoder david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/encoders.py official repository ran MIT (permissive) · 939b599ed6041748 · report
get_model david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/priors/fast_gp.py official repository ran MIT (permissive) · f72c39b3934d20d3 · report
get_model_on_device david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/priors/fast_gp.py official repository ran MIT (permissive) · cd13023248585727 · report
get_normalized_encoder david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/encoders.py official repository ran MIT (permissive) · 39f5dc76953cf6db · report
get_restarting_cosine_schedule_with_warmup david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/utils.py official repository ran MIT (permissive) · aa7ad3fc695f98b5 · report
unpack_dict_of_tuples david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/priors/differentiable_prior.py official repository ran MIT (permissive) · a20e00970d0cbf4c · report
get_NormalInitializer david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/initializers.py official repository unverified MIT (permissive) · 4c84ce37831d7194 · report
get_cosine_schedule_with_warmup david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/utils.py official repository unverified MIT (permissive) · a9c14b9fb71dbe7c · report
get_linear_schedule_with_warmup david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/utils.py official repository unverified MIT (permissive) · afba2c06a42074fe · report
get_normalized_uniform_encoder david-rundel/tabpfn_iml/tabpfniml/tabpfn_interpret/encoders.py official repository unverified MIT (permissive) · 16eab2bd7416886c · report

Tasks

Data ValuationIn-Context LearningInterpretable Machine Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

TABPFN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections