Most teams pick a model by its accuracy or AUC. Then they put it in production and make decisions on its probabilities: hold this order if fraud risk is above 20%, offer free returns insurance if return risk is below 10%, send a discount if churn risk passes 40%.
Those cut-offs only work if a “20%” from the model really means about 20 in 100. That property is called calibration, and it is where our new study found the clearest difference between a tabular foundation model and the gradient boosting libraries most teams already use.
This is the plain-language companion to The calibration and energy cost of tabular foundation models in clinical prediction, published in Artificial Intelligence in Health (October 2026). The data is clinical, but the question is the same one any store faces when it acts on a risk score. A second article covers the other half of the paper: what TabPFN costs to run.
Key takeaways:
- TabPFN gave better calibrated probabilities than tuned and calibrated XGBoost, LightGBM and CatBoost on all five datasets, across four calibration metrics.
- The gap was small: a mean difference in adaptive calibration error of 0.011, only just past the pre-registered 0.01 margin.
- TabPFN also ranked cases slightly better on four of five datasets (mean AUROC +0.013).
- A dataset with a 4.9% positive rate had to be dropped because TabPFN gave no usable predictions, which is a warning for fraud and other rare events.
- Better probabilities only pay off when a decision really depends on the number, not just on the ranking.
What did the study compare?
We compared TabPFN, a pretrained “foundation model” for small tables that makes predictions without being trained on your data in the usual way, against the three gradient boosted tree libraries most teams use: XGBoost, LightGBM and CatBoost.
We gave the tree models a fair chance:
- Two settings each: an untuned default (400 trees, depth 6) and a stronger one (800 trees, deeper trees, subsampling).
- Three ways to fix their probabilities after training: isotonic regression, Platt scaling and beta calibration, each fitted on a separate 25% split so the test data stayed untouched.
- The best tree model and calibrator were picked per dataset, so TabPFN was up against the strongest tree option, not a straw man.
TabPFN ran with its default settings, with no tuning.
The five public datasets were Pima diabetes (768 people), Cleveland heart disease (270), Wisconsin breast cancer (569), heart failure survival (299) and diabetic retinopathy (1,372). Each was evaluated over 30 train and test splits (15 repeats of 2-fold cross-validation), so one lucky split could not drive the result.
Before running anything we wrote down the hypothesis, the margin that would count as “no real difference” (0.01 in adaptive calibration error) and what result would prove us wrong. That pre-registration is part of the public code release.
Was TabPFN better calibrated than XGBoost, LightGBM and CatBoost?
Yes, on every dataset, but not by much. The mean difference in adaptive expected calibration error was 0.011. Because the pre-registered margin was 0.01, the study rejected “the two are equivalent” by a narrow amount. A one-sided sign test across datasets gave p = 0.031.
Here is how the best calibrated tree model compared with TabPFN on the four datasets that counted toward the conclusion (lower is better for both columns):
| Dataset | Calibration error, trees → TabPFN | Brier score, trees → TabPFN |
|---|---|---|
| Pima diabetes | 0.074 → 0.064 | 0.180 → 0.158 |
| Cleveland heart disease | 0.110 → 0.092 | 0.146 → 0.127 |
| Wisconsin breast cancer | 0.025 → 0.018 | 0.032 → 0.024 |
| Heart failure | 0.097 → 0.090 | 0.132 → 0.123 |
The fifth dataset, diabetic retinopathy, was “saturated”: both models were close to perfect, so it could not tell them apart and was left out of the confirmatory result.
The most interesting row is Cleveland heart disease. The tree model’s calibration slope there was 0.54, which means its probabilities were far too extreme: when it said 90%, the real rate was much lower. TabPFN’s slope was 0.84, closer to the ideal of 1. That is the kind of error that quietly breaks a fixed threshold.
Does the ranking change too, or only the probabilities?
The ranking improved a little. TabPFN had a higher AUROC on four of five datasets, with a mean gain of 0.013 and intervals that excluded zero.
We also ran a decision curve analysis, which asks a practical question: if you act on every case above a given risk threshold, do you get more benefit than harm? Across thresholds from 5% to 50%, TabPFN gave higher net benefit in 45 of 50 dataset and threshold combinations, with a mean gain of 0.010. Heart failure was the exception, split evenly. We flag that this analysis was added after the pre-registration, so treat it as supporting evidence rather than the main test.
Why calibration matters for online stores
Clinical risk scores and ecommerce risk scores fail in the same way. A store’s models usually feed a rule with a number in it:
- Fraud and chargebacks: hold orders above a set risk, approve the rest.
- Returns: flag orders likely to come back, or price shipping insurance from the predicted rate.
- Churn and win-back: spend discount budget only where predicted churn is high enough to be worth it.
- Cash on delivery: ask for prepayment when the risk of a refused parcel passes a line.
If the model ranks well but its probabilities run hot, you block more good orders than you meant to. If they run cold, you let more bad ones through. In both cases the AUC report looks fine while the money leaks out.
Our result says something useful here: a modern tabular foundation model gets these probabilities slightly more right out of the box than a tuned, calibrated gradient boosting model. It also says the improvement is small. For many stores, fixing calibration on the model they already run (a held-out calibration split plus isotonic or beta scaling, then a calibration plot on fresh data) will capture most of the value.
Where TabPFN fell short
Three findings should temper any rush to switch.
Rare events. We wanted to include a stroke dataset with a 4.9% positive rate. TabPFN produced no usable predictions on it, so it had to be excluded. Fraud, chargebacks and many return reasons are rarer than 4.9%. If that is your use case, test TabPFN on your own imbalanced data before anything else.
Pretraining overlap. Four of the five datasets are well known and may overlap with what TabPFN saw during pretraining. That could flatter it. Your store’s data will be new to it.
Cost. The probabilities are better, but the compute bill is much higher, and on a CPU it becomes impractical at scale. That half of the paper is covered in the companion article on TabPFN’s running cost.
So which model should you use?
The paper ends with a simple guide, and it maps well onto store decisions:
| Your situation | Better choice |
|---|---|
| Fewer than about 6 predictions in total | TabPFN |
| The decision depends on the exact probability, and you have a GPU | TabPFN |
| You only need a ranking (who to review first) | Calibrated gradient boosting |
| CPU-only server or on-premise | Calibrated gradient boosting |
| Large dataset with many columns | Calibrated gradient boosting |
In short, TabPFN earns its place when a small number of high-stakes decisions hinge on the exact probability and you have an accelerator. For a store scoring thousands of orders a day on ordinary servers, a well calibrated gradient boosting model is still the sensible default.
How to check your own model’s calibration this week
- Keep a slice of recent data the model never saw.
- Group predictions into bins (0 to 10%, 10 to 20% and so on) and compare the average prediction with the real rate in each bin.
- If the lines drift apart, fit isotonic or beta calibration on a separate split and check again on fresh data.
- Re-check after every retrain. Calibration drifts when the data does.
If you want help doing this on your fraud, returns or churn model, or want to know whether a foundation model would pay off for you, book a free call. My open-source tools for measuring AI cost and energy, such as greeninfer, are free to use.
About the paper
The calibration and energy cost of tabular foundation models in clinical prediction. Muhammad Ahmad Zia, Muhammad Muzaffar, Yosef Hasan Jbara, Bassam Elzaghmouri, Marwan Abu-Zanona and Danish Mahmood Khan (Zia and Khan contributed equally). Artificial Intelligence in Health, AccScience Publishing, published online 30 October 2026. DOI: 10.36922/AIH026320111. Funded by King Faisal University (grant KFU265010). Code, pre-registration and measurement harness: Zenodo.

