Hélder Monteiro
Project · Open source · MIT

tabUM

A small tabular in-context-learning foundation model: 14.31M parameters, zero-shot classification and regression on any table, up to 100 classes and 2,000 features.

Year2026
RoleSolo
StatusOpen source · MIT
StackPython, PyTorch, Hugging Face

How it works

tabUM doesn’t train on your data. fit(X, y) stores your rows, and predict(X_test) runs one forward pass in which every test row attends to every training row: in-context learning. The model was pretrained once on millions of synthetic tasks, sampled from causal graphs, Gaussian processes and random tree ensembles, and learned a general way to read a table it has never seen.

  • Predictions in seconds, with no tuning and no pipelines.
  • Missing values are a first-class input: treated as signal, never imputed.
  • Calibrated probabilities, and full regression distributions (any quantile) from the same pass.
  • Context sizes validated up to 64k rows.

It can also adapt to one dataset in about 15 seconds (finetune()), and explain() returns feature importances and the training rows the model attended to.

Benchmarks

TabArena-v0.1, all 51 datasets, the same protocol for every model (at most 2,000 training and 1,000 test rows, one split).

Logistic / linear regression (fitted)0.842 · R² 0.560
tabUM zero-shot, one pass0.852 · R² 0.628
tabUM fine-tuned, 8-way ensemble0.864 · R² 0.691
HistGradientBoosting (fitted, default)0.867 · R² 0.709
TabPFN v2 (zero-shot)0.877 · R² 0.747

Classification accuracy on 38 datasets, and regression R² on 13. tabUM beats fitted linear baselines everywhere, ties default gradient boosting on classification when fine-tuned, and sits 1.3 to 1.7 points behind TabPFN v2 and TabICL, the state of the art in this class.

Where it stands out

  • Many classes: models of the TabPFN class stop at 10 classes; tabUM handles 100.
  • Small, noisy tables (under about 1,000 rows): its learned prior beats boosting, which overfits.
  • Missing values: on Titanic, with 12% of cells missing and fed raw, it beats an imputed and scaled logistic regression.
  • Explainability: feature importances without retraining, and the exact attention behind each classification.

Training

The whole pipeline is included. Version 1.1 was trained on a single NVIDIA DGX Spark in about 7 hours (20,000 steps), warm-started from version 1. MIT licensed and built clean-room.