Papers › TuneTables: Context Optimization for Scalable Prior-Data Fitted Networks

TuneTables: Context Optimization for Scalable Prior-Data Fitted Networks

17 Feb 2024arXiv:2402.11137archive 2025-07-28

Benjamin Feuer, Robin Tibor Schirrmeister, Valeriia Cherepanova, Chinmay Hegde, Frank Hutter, Micah Goldblum, Niv Cohen, Colin White

While tabular classification has traditionally relied on from-scratch training, a recent breakthrough called prior-data fitted networks (PFNs) challenges this approach. Similar to large language models, PFNs make use of pretraining and in-context learning to achieve strong performance on new tasks in a single forward pass. However, current PFNs have limitations that prohibit their widespread adoption. Notably, TabPFN achieves very strong performance on small tabular datasets but is not designed to make predictions for datasets of size larger than 1000. In this work, we overcome these limitations and substantially improve the performance of PFNs via context optimization. We introduce TuneTables, a parameter-efficient fine-tuning strategy for PFNs that compresses large datasets into a smaller learned context. We conduct extensive experiments on 19 algorithms over 98 datasets and find that TuneTables achieves the best performance on average, outperforming boosted trees such as CatBoost, while optimizing fewer than 5% of TabPFN's parameters. Furthermore, we show that TuneTables can be used as an interpretability tool and can even be used to mitigate biases by optimizing a fairness objective. We open-source our code and raw results at https://github.com/penfever/TuneTables.

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="2402.11137")

Code

Syntology Ran 10 of 17 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 3 ran · our draft was wrong; 6 ran with no contract checked.

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

penfever/tabpfn-pt officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
penfever/tunetables officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

17 samples harvested; 10 ran; 0 honoured the contract we drafted; 7 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.

1ran · violated contract
3ran · our draft was wrong
6ran
7unverified

Licence: 0 of the 17 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 penfever/tunetables. “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.

is_json_serializable penfever/tunetables/tunetables/batch/run_tt_job.py official repository ran · violated contract Apache-2.0 (permissive) · a5c44847d0bc55c2 · report
JointBCELossWithLogits penfever/TuneTables/tunetables/losses.py official repository ran Apache-2.0 (permissive) · 890fb6ef88c9dbef · report
get_append_embedding_encoder penfever/TuneTables/tunetables/encoders.py official repository ran Apache-2.0 (permissive) · 939b599ed6041748 · report
get_normalized_encoder penfever/TuneTables/tunetables/encoders.py official repository ran Apache-2.0 (permissive) · 39f5dc76953cf6db · report
get_wandb_api_key penfever/tunetables/tunetables/batch/run_tt_job.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b91cdb6ff3f535f8 · report
kl_divergence penfever/TuneTables/tunetables/losses.py official repository ran Apache-2.0 (permissive) · 98d35d058dcc75c7 · report
make_serializable penfever/tunetables/tunetables/batch/run_tt_job.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8022d5417a746548 · report
set_compatibility_params penfever/TuneTables/tunetables/train_loop.py official repository ran Apache-2.0 (permissive) · ab1f1da564c5ae70 · report
taylor_linear_attention_forward penfever/tunetables/tunetables/transformer.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7646a622a583702c · report
taylor_linear_attention_forward penfever/TuneTables/tunetables/layer.py official repository ran Apache-2.0 (permissive) · 8b70d1a53aec77a8 · report
TaylorMultiheadAttention penfever/tunetables/tunetables/transformer.py official repository unverified Apache-2.0 (permissive) · 79f5b9e40c967c9b · report
TransformerEncoderLayer penfever/tunetables/tunetables/transformer.py official repository unverified Apache-2.0 (permissive) · 3ca52e651c5bddce · report
TransformerModel penfever/tunetables/tunetables/transformer.py official repository unverified Apache-2.0 (permissive) · 3b298b0945e919bb · report
eval_method penfever/TuneTables/tunetables/run_baselines.py official repository unverified Apache-2.0 (permissive) · 9e7eb2a909a1fb2d · report
get_NormalInitializer penfever/TuneTables/tunetables/initializers.py official repository unverified Apache-2.0 (permissive) · 4c84ce37831d7194 · report
get_normalized_uniform_encoder penfever/TuneTables/tunetables/encoders.py official repository unverified Apache-2.0 (permissive) · 16eab2bd7416886c · report
reload_config penfever/TuneTables/tunetables/train_loop.py official repository unverified Apache-2.0 (permissive) · 68a73e2ea3cbee4f · report

Tasks

FairnessIn-Context Learningparameter-efficient fine-tuningtabular-classification

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