r/FunMachineLearning • u/yashrajpandeyy • Jul 06 '26
[D] I independently reproduced Google's TabFM. It beat Optuna-tuned XGBoost on 10/10 fold-matched datasets, and my multi-GPU crash fix got merged into their repo
Google Research released TabFM on June 30 - a zero-shot foundation model for tabular data (in-context learning, no training on your rows). The claim is that it matches, or beats, tuned GBDTs out of the box. I spent the week independently reproducing that claim. Full writeup: https://yashrajpandey.com/writing/breaking-google-tabfm/
Setup: 13 TabArena datasets (OpenML Study 457, official repeat-0 folds), fold-matched comparison only, everything seeded and pinned to a commit. Baselines: XGBoost tuned with 100 Optuna TPE trials + 3-fold inner CV per dataset, random forest, linear floor, and TabPFN.
What held up:
- TabFM won all 10 fold-matched datasets against the tuned XGBoost. On the anchor dataset (maternal health risk), tuning actually widened the gap: 0.877 vs 0.821 accuracy.
- It is remarkably seed-stable: run-to-run std 0.0001-0.0006, smaller than every tree baseline.
What did not:
- Two "wins" (+0.001, +0.002 vs TabPFN) were inside measurement noise, so I demoted them to ties.
- The advertised 22.75 GB GPU footprint is mostly XLA preallocation pool. Real footprint is ~16.95 GB, flat from 100 to 20k context rows. Disabling preallocation doubled the usable context ceiling on a 24 GB card.
- Bioresponse (1,777 features) is a genuine failure case, and 78k/150k-row datasets were impractically slow.
Bonus: predict() crashed on my dual-4090 box - with multiple GPUs visible, a sharding override forces a batch of 1 into a 2-way shard. I root-caused it, reproduced it on CPU with simulated devices (so the regression test runs in CI without a GPU), and the fix was merged into google-research/tabfm by one of the authors.
Repro repo (seeded, pinned, per-run JSONs committed): https://github.com/devYRPauli/tabfm-evaluation
Happy to discuss methodology - especially the fold-matching and seed-variance parts, which changed my conclusions more than any modeling choice.


