Scaling laws are widely used to predict foundation model performance and guide compute allocation. However, tabular foundation models (TFMs) differ from conventional foundation models in that they are pretrained on virtually unlimited synthetic data from configurable distributions, while ultimately being evaluated on real-world datasets. We investigate whether scaling laws for TabPFNv2-style models reliably extrapolate to larger compute budgets and generalize across evaluation settings. Our analysis reveals differences between synthetic and real-world scaling behavior and shows that accurately fitting a scaling law does not necessarily yield reliable prescriptions on unseen datasets. In particular, selecting configurations using too few evaluation datasets leads to systematically over-optimistic performance estimates. We further demonstrate that compute-optimal scaling requires expanding the range of synthetic pretraining dataset sizes alongside model size and training compute. Increasing the maximum numbers of rows and features sampled during pretraining improves performance and produces more predictable scaling trends. These insights guide the training of more efficient TabPFNv2-like models, using the open-source training pipeline of nanoTabPFN.
Figures & tables
Figure 1: Pareto Trends for Different Metrics. We observe typical compute-optimal performance scaling for both synthetic validation loss and aggregated metrics on real datasets. With more high-compute observations, scaling fits on any performance metric can extrapolate reliably. However, the relative scaling trends of data and parameters depend heavily on the choice of metric. Solid lines: in-sample fit; Dashed: extrapolation.
Figure 2: Comparing trends for scaling parameters across synthetic and real-world evaluation. Scaling prescriptions generally agree within real and synthetic data but disagree between synthetic and real-world data. Solid lines: in-sample fit; Dashed: extrapolation.
Figure 3: The size of the pretraining synthetic dataset has two degrees of freedom: the size of rows and columns. Both are scaling variables that need scaling with compute, irrespective of the metric measured. The γ is the exponent on the compute when modeling the y-axis metric as a power law aCγ .
Figure 4: Selection bias of the scaling frontier versus the number of evaluation datasets n . Solid: gap between the in-sample frontier built from n datasets and the same runs scored on a held-out dataset (median, 10–90% band over draws). Dotted: in-sample residual of the fitted scaling law, taken as the noise floor. The gap reaches the residual at n=8 for NLL but only at n=20 for ROC AUC.
Table 1: Hyperparameter values searched over all runs with a training budget up to 1016 FLOPs. Fixed in all runs: AdamW, MLP hidden size 4× the embedding size. Parameters follow from embedding size and layers; max. cells is max. features × max. datapoints.
Budget (FLOPs)
1013
1014
1015
1016
1017
Runs
4,050
1,651
288
86
45
Appendix
Table 2: Number of training runs by nominal compute budget. The 1017 -FLOP runs are reserved for extrapolation evaluation.
Metric
Observed at 1017
Predicted at 1017
Fit R2
Extrapolation MAE
Synthetic validation loss
0.770
0.769
0.997
0.001
Real-world NLL
0.309
0.289
0.986
0.011
Real-world ROC AUC
0.877
0.873
0.991
0.004
Appendix
Table 3: Scaling-law fit quality and extrapolation to unseen compute budgets. Fit R2 is computed on the training frontier in the original metric space, while extrapolation MAE is averaged over four held-out budgets from 1016.25 to 1017 FLOPs.
Figure 5: Compute-optimal values of the searched hyperparameters. Each column is one metric, each row one hyperparameter. A filled point is the run on the compute frontier of that metric at the given FLOP budget, i.e. the best run at that budget that also beats every smaller budget; light horizontal lines mark the values in the search space. The dashed line is a power law y=c⋅Cγ fitted by least squares in log–log space to the frontier points up to 1016 FLOPs, with the exponent γ and the in-sample R2 given in each panel. Open points in the shaded region are the best runs at the four held-out budgets ( 1.8⋅1016 to 1017 FLOPs), which do not enter the fit. Weight decay is not fitted because the frontier contains zero.
Figure 6: Compute-optimal values of quantities derived from the searched hyperparameters: parameter count, number of training cells seen, largest table in the prior (max. features × max. datapoints), and the ratios embedding size / layers and datapoints / features. Markers, lines and the shaded held-out region are as in Figure 5 . Training cells and parameters follow a power law closely ( R2≥0.84 for all metrics except ROC AUC on parameters), whereas the two ratios show no consistent trend with compute.
Form
RMSE
Backtest MAE
Max. excess
Logistic
0.0140
0.024
+0.008
Power law + deficit
0.0048
0.004
+0.030
Two logistics
0.0038
0.008
−0.002
Appendix
Table 4: Comparison of representative functional forms. Maximum excess measures the largest difference between the fitted prior-specific curve and the all-configurations fit over 1011 – 1019 FLOPs. Negative values indicate that the prior-specific fit remains below the reference curve.
Figure 7: ROC AUC frontier for the largest synthetic prior and three fitted functional forms: (a) logistic, (b) power law with a logistic deficit, and (c) two logistics. Hollow markers denote held-out observations; the dotted gray curve shows the fitted frontier over all configurations.
Tabular foundation models, such as TabPFNv2 and TabICL, have recently dethroned gradient-boosted trees at the top of predictive benchmarks, demonstrating the value of in-context learning for tabular data. We introduce TabICLv2, a new state-of-the-art foundation model for regression and classification built on three pillars: (1) a novel synthetic data generation engine designed for high pretraining diversity; (2) various architectural innovations, including a new scalable softmax in attention improving generalization to larger datasets without prohibitive long-sequence pretraining; and (3) optimized pretraining protocols, notably replacing AdamW with the Muon optimizer. On the TabArena and TALENT benchmarks, TabICLv2 without any tuning surpasses the performance of the current state of the art, RealTabPFN-2.5 (hyperparameter-tuned, ensembled, and fine-tuned on real data). With only moderate pretraining compute, TabICLv2 generalizes effectively to million-scale datasets under 50 GB GPU memory while being markedly faster than RealTabPFN-2.5. We provide extensive ablation studies to quantify these contributions and foster open research by releasing code for inference, pretraining, and synthetic data generation at https://github.com/soda-inria/tabicl.
Jingang Qu, David Holzmüller, Gaël Varoquaux +1
SODA Team, INRIA Saclay, Palaiseau, France · Probabl, France
Which forms of test-time compute improve the predictions of strong pretrained tabular foundation models (TFMs)? We systematically study this along three axes: adaptation, aggregation, and context construction. Our evaluation spans modern TFMs across the TabArena benchmark, supplemented by experiments on wide and large-scale tables from OpenML. For adaptation, we introduce DiagScale, a diagonal query-key similarity update. It trains only 0.003-0.03% of model parameters and achieves gains comparable to full fine-tuning across three independently pretrained backbones. For aggregation, both pool composition and selection strategy matter. TabPFN-3 already averages predictions from different preprocessing variants of the same data, and adding more such predictions yields diminishing returns. With a broader pool of 96 configurations, greedy selection reduces error by 2.4% relative to the default predictor, but uniform averaging increases error. For context construction, attention-guided retrieval improves TabPFN-3's predictions on some large tables and supports source pools beyond the full context memory limit. The context expansion methods we test yield no consistent improvement. Taken together, our results suggest that adaptation and selective aggregation yield consistent benchmark-level gains. The benefits of context construction depend more on the task and data regime. Adaptation and aggregation over the same backbone yield further gains when combined, but require substantially more computation than default inference. These trade-offs motivate choosing strategies according to the available computation budget. Code is available at https://github.com/kanghui-learning/test-time-compute-for-tabular-foundation-models.
Kanghui Ning, Marin Biloš, James T. Wilson +5
School of Computing, University of Connecticut, Storrs, USA. · Department of Machine Learning Research, Morgan Stanley, New York, USA.
Recent work in tabular machine learning has emphasized the importance of diverse and realistic evaluation settings. The niche of large-scale (1M+) data, however, remains under-explored. To study training-data scaling, we assemble eight real-world tabular datasets with up to around ten million training examples, retaining the natural distribution shifts of the tasks and using random-split evaluation as a control. We find that GBDTs and MLP-based models show broadly similar scaling trends, with gains from both additional training data and algorithmic improvements. Tabular foundation models show more varied scaling behavior, with recent versions benefiting more consistently from larger contexts even under distribution shift. However, scaling training data under distribution shift introduces new challenges: in-distribution and out-of-distribution performance mostly improve together at smaller scales but can diverge at larger scales. We examine this through MLP capacity sweeps and comparisons of the validation distributions used for tuning and early stopping in MLPs and GBDTs. We also compare common practices of using validation data, contrasting its use for model selection in MLP pipelines with using it for in-context fitting in tabular foundation model pipelines. Under stronger shifts, MLPs selected using validation representative of the evaluation conditions generally maintain or improve performance as training data grows. In contrast, including such examples in context improves foundation-model performance, but does not prevent deterioration with increasing training size in our experiments.