--- license: apache-2.0 library_name: pytorch pipeline_tag: tabular-classification tags: - tabular-foundation-model - prior-data-fitted-networks - in-context-learning - tabular-classification - tabular-regression --- ![TabSil](images/tabsil-banner.png) # TabSil TabSil is a tabular foundation model. One set of weights handles both classification and regression: give it a training table and it predicts the test rows in a single forward pass (in-context learning), with no gradient steps on your data. It was trained only on synthetic tables from the TabICLv2 graph SCM prior, extended with two groups of table transforms adapted from Kumo-Tabular's prior (see Training). Code: [Aiden-Jeon/tabsil](https://github.com/Aiden-Jeon/tabsil) (model `src/tabsil/models/column_row_transformer.py`, structure and inference `src/tabsil/recipe.py`, training `training/src/tabsil_train/recipe.py`, prior `training/src/tabsil_train/priors/`). *Sil* (실) is Korean for *thread*: the model reads a table by weaving through its columns and rows. TabSil combines published designs (TabPFN-3.5, Kumo-Tabular, TabICLv2; see Acknowledgements). It is not a checkpoint of any of them, and it includes none of their weights. This card describes the **v1.2 weights** on `main` (`sha256:a96257900c76`, the first 12 hex digits of the SHA-256 of `model.safetensors`). They replace the v1 weights, which stay at the tags `v1` and `v1.1` (see Versions). The architecture and the inference are those of v1; what changed is the training: a longer stage 1, a stage-2 prior with high-cardinality categorical columns and value-dependent missing values, and no stage 3. ## Model - Architecture: column/row stages → in-context stage (`column_row_transformer`), 221,548,733 parameters. - **Cell encoder** (TabPFN-3.5): each feature is z-normalised over the training rows, and missing cells get an indicator. A token holds 3 features. Learned Fourier features and within-column ECDF ranks are added. Width 256. - **Column / row stages** (Kumo-Tabular): 6 interleaved pairs of a column block (256 inducing points that summarise the training rows) and a row block (4 CLS tokens per row), 4 heads each. The 4 CLS outputs are joined into one 1,024-wide row vector. Test rows read the training-row summaries but never each other. - **In-context stage** (TabPFN-3.5): 24 layers, 16 heads, width 1,024. Training rows attend to each other; test rows attend to training rows only. - **Attention temperature** (Kumo-Tabular): gain-free q/k RMSNorm × a learned log-scale (`logscale`; the row stage uses `gated_logscale`, whose query gate follows TabICLv2's QASSMax). No logit soft-cap. - **Outputs:** classification uses a many-class retrieval decoder (TabPFN-3.5). Regression predicts 999 quantiles trained with the pinball loss (Kumo-Tabular), turned into a distribution over 5,000 buckets for prediction. The target encoders and a pre-head MLP are per task; everything else is shared. - Inputs: up to 160 classes, 1,000,000 training rows and 6,000 features (the limits TabSil is evaluated with, the same as TabPFN-3.5's). Training covered up to 10,240 rows and 100 features (v1: 60,000 rows; see Limitations). - Inference (tabsil 0.1.1 and later): an ensemble of 8 members. Each member shuffles features and classes and adds a row-identifier column: random for the training rows, a hash of the row's values for test rows (so a test row's prediction does not depend on the other test rows). - Numeric columns: the members cycle through four transforms, following Kumo-Tabular: the values as they are, Yeo-Johnson, robust scaling (median and interquartile range, squashed smoothly into ±3) and rank-Gauss. - Categorical columns: those with at most 20 categories are one-hot encoded, as long as the table stays within 100 columns. Those with more also get a column of log(1 + training-row count of the category). - Wide tables: tables with more than 768 columns give each member 768 of them, split so that every column is used about equally often (`balanced`). - Outputs: classification averages the members' softmax at temperature 1.0. In regression, half of the members also power-transform the target, and each numeric transform meets both target forms. - Settings: the member count, kinds, column cap, category counts and temperature ship in `config.json` (`inference`). The tags `v1.2` and `v1.1` have these settings; `v1` has tabsil 0.1.0's: standard members only, no count columns, temperature 0.9. Every v1.2 number on this card uses these settings. - Speed: `fit` runs the training rows through the model once and keeps what the test rows read from them, so `predict` runs only the test rows. ## Training Two stages of the TabICLv2 curriculum ([arXiv 2602.11139](https://arxiv.org/abs/2602.11139), public scripts `scripts/train_v2_clf_stage{1,2,3}.sh`): stage 1 on short tables, stage 2 on long tables. Stage 2 starts from stage 1's weights with a fresh optimizer. Both stages: batches of 256 tables, each step one task (the tasks alternate), Muon on every parameter (momentum 0.9, decoupled weight decay 0.01, the Newton-Schulz step split over the GPUs), 1% warmup then cosine decay to 0, gradient clip 10, bf16 autocast with TF32 matmuls, `torch.compile`. Tables have at most 100 features (fewer for the longest tables); half of the classification tables are binary; graphs and datasets that the TabICL filter marks as unpredictable are drawn again. | Stage | Steps | Tables | Prior | Peak lr (warmup) | GPUs | Time | | --- | --- | --- | --- | --- | --- | --- | | 1 | 250k | 1,024 rows, 30–90% of them training rows | `graph_scm` (TabICLv2) | 8e-4 (2,500 steps) | 32×H100, 4 tables per GPU, 2 accumulation steps | 49.8 h, 1,593 H100-hours | | 2 | 10k | 400–10,240 rows (log-uniform), 79–81% training rows | `graph_scm_hicard_missing` | 1e-4 (100 steps) | 8×H100, 1 table per GPU, 32 accumulation steps | 25.1 h, 200 H100-hours | **Stage 1** is a separate 250k-step run with its own 250k-step schedule, not a continuation of v1's 150k-step stage 1. It was trained with the same model code in [minipfn](https://github.com/Aiden-Jeon/minipfn) (2026-11-19 to 11-21, four resumed chunks) and converted to the TabSil format tensor by tensor (the conversion script of [#55](https://github.com/Aiden-Jeon/tabsil/pull/55); the same conversion reproduces the published `stage1-150k` weights bit for bit). On the prior's fixed 1,024-row validation tables its final loss is 0.1984 (classification cross-entropy) / 0.0487 (regression pinball), against 0.200 / 0.0495 for v1's 150k-step stage 1. **Stage 2's prior** is TabICLv2's graph SCM (`tabicl` 2.2.0) with two groups of transforms adapted from the tabular prior of NVIDIA's Kumo-Tabular (`structured-data-models`, `sdm/prior/tabular/transform`; see `NOTICE`), applied to each table before the prior's own missing-value step: - **High-cardinality categorical columns** (`high_cardinality_prob` 0.1): in 10% of the tables, 1 to 3 columns are recoded as categorical columns with 21 to (rows) categories (log-uniform), coded as inference codes them (categories of the training rows; unseen categories become missing). The TabICL SCM alone stops at 9 categories. - **Value-dependent missing values** (`structured_missing_prob` 0.2, `near_empty_missing_prob` 0.05, `latent_missing_prob` 0.03, Kumo-Tabular's stage 2/3 values): missing values in column groups that depend on the table's values (MAR/MNAR), near-empty columns and missingness driven by a latent factor. With the prior's own MCAR step (30% of tables, as in v1) about half of the tables have missing values. Everything else in stage 2 is v1's stage-2 recipe: activation checkpointing for tables longer than 2,048 rows (memory and speed only), 20,000 prior datasets to set the regression bucket borders, the same table sizes. The run went in two chunks of 5,000 steps (the second resumed the first's checkpoint; 2026-11-28 15:51 to 11-29 16:59 UTC). Its final validation loss on 64 prior tables per task at stage-2 sizes is 0.2841 / 0.0666; these tables differ from stage 1's, so the values are not comparable across stages. **No stage 3.** v1 added 2,000 steps on 400–60,000-row tables. Measured on v1's weights, that stage left TabArena-Lite unchanged (error ratio 1.000 against the stage-2 weights, 1768 against 1762 Elo in the repository's harness), so v1.2 stops after stage 2. The consequence is that these weights never saw a table longer than 10,240 rows in training (see Limitations). **Why these changes** (every number is a paired comparison of two evaluations with the same inference; the records are in the repository, [training/docs](https://github.com/Aiden-Jeon/tabsil/tree/main/training/docs) and pull requests [#14](https://github.com/Aiden-Jeon/tabsil/pull/14), [#33](https://github.com/Aiden-Jeon/tabsil/pull/33), [#55](https://github.com/Aiden-Jeon/tabsil/pull/55)): - *The stage-2 prior.* Stage 2 from v1's 150k-step stage 1 on `graph_scm_hicard_missing` against the plain prior, two seeds: geometric-mean error ratio 0.992 over TabArena 3-split and a 48-dataset development suite; +37.6 Elo on the live TabArena-Lite board for the first seed (its weights are the `TabSil #14` run of the records), the two seeds 17 Elo apart. - *The longer stage 1.* Read alone with the context capped at 1,024 rows, the 250k-step stage 1 is 1.3% better than the 150k one (ratio 0.987, 95% CI 0.980 to 0.993, 74 of 99 datasets). Carried through stage 2, it gives +63.4 Elo over the same stage 2 from the 150k-step stage 1 (1880.7 against 1817.4 on the live board, inserted alone). - *Replication.* A second stage-2 run from the same stage-1 weights with another seed on 32×H100 (276 H100-hours) lands at 1874.8 on the live board, within the two-seed spread; against these weights it is level on TabArena 3-split (ratio 1.004, 95% CI 0.999 to 1.013, 28 datasets better and 23 worse). The gain belongs to the recipe, not to the seed. **The weights** in this repo are the raw weights at the end of stage 2 (the training run's `final.pt`), seed 0. The run also kept a latest-weight average (the last 10 weights taken every 100 steps, `final_avg.pt`); it is not what is published. Compute for the two stages: about 1,790 H100-hours. This does not count the replication, the 150k-step run that v1 used, or the experiments that led here. ## Results ### TabArena (every split) [TabArena](https://huggingface.co/spaces/TabArena/leaderboard) is 51 datasets (38 classification, 13 regression) evaluated on every split, 816 in all (3-fold cross-validation, repeated 10 times on the 17 smaller datasets and 3 times on the other 34); the leaderboard's default view ranks methods by Elo over these splits, RandomForest (default) at 1000. The repository's harness (`training/scripts/eval.py --suite tabarena`) runs the same 816 splits, one fit per split without bagging, and computes Elo with TabArena's own method against the 98 public methods shipped with the pinned `tabarena` package (without the seven newest entrants) plus the checkpoint. It is on the leaderboard's scale but not the official protocol. | Weights | Harness Elo, 816 splits | Classification | Regression | Binary | Multiclass | Against the leaderboard of 2026-12-01 | | --- | --- | --- | --- | --- | --- | --- | | **v1.2 (this model)** | **1827** (+90/−66) | 1812 | 2106 | 1797 | 1914 | between Inpriora (1835, 7th) and Seldon-Mini (1818, 8th); not submitted yet | | v1 at `v1.1` (same inference) | 1759 (+80/−59) | 1748 | 2010 | 1726 | 1882 | the official entry `TabSil` (v1 with tabsil 0.1.0's inference, 8-fold bagging) is 1726, 16th | Over the 816 splits v1.2 has a lower error than v1 on 40 of the 51 datasets (geometric-mean error ratio 0.973, 95% CI 0.938 to 0.992; classification 0.967, regression 0.991). No split is imputed. The official entry comes from TabArena's own run of the v1 weights ([autogluon/tabarena#753](https://github.com/autogluon/tabarena/pull/753)). ### TabArena-Lite TabArena-Lite is the first split of each of the 51 datasets, the leaderboard's quicker table; Elo is Bradley-Terry on per-dataset wins against the pool of methods, with RandomForest (default) at 1000. The numbers below are Lite numbers; for both checkpoints they are above the every-split ones. **Repository harness** (`training/scripts/eval.py --suite tabarena-lite`): each split is fit once without bagging, and Elo is computed against the 98 public methods of the pinned `tabarena` package plus the checkpoint (99 methods). It is a quick check for comparing checkpoints, not the official protocol. | Weights | Elo (+CI) | Classification | Regression | Binary | Multiclass | | --- | --- | --- | --- | --- | --- | | **v1.2 (this model)** | **1861** (+100/−79), 4th of 99 | 1832 | 2263 | 1828 | 1892 | | v1 at `v1.1` (same inference) | 1768 (+94/−86), 9th of 99 | 1741 | 2130 | 1735 | 1803 | Per split, v1.2 has a lower error than v1 on 38 of the 51 datasets and a higher one on 13 (geometric-mean ratio 0.970, 95% CI 0.934 to 0.992; classification 0.964, regression 0.986). Median times are 0.235 s per 1K training rows to fit and 0.163 s per 1K test rows to predict, on one H100. **The live board, refit.** A script of the repository ([#54](https://github.com/Aiden-Jeon/tabsil/pull/54), `gap_report.py`) reads the per-dataset errors of every entrant of the public leaderboard and refits its Elo with TabArena's method (it reproduces the 114 published values within 1.1 Elo), then inserts a TabSil run as a new entrant. At the board of 2026-11-27 (Space revision `a525fe89`), v1.2 inserted alone is **1880.7, which would place 6th of 115**, between TabPFN-3.5 (1873) and Kumo-Tabular-Medium (1922); v1 at `v1.1` is 1780 (15th) and the official `TabSil` entry (v1 at `v1`) 1745 (18th). This is a refit of published numbers, not a submission: the leaderboard's own protocol bags every method 8-fold, which the harness does not do. **Official protocol.** The `TabSil` entry of the public leaderboard is the v1 weights with tabsil 0.1.0's inference ([autogluon/tabarena#753](https://github.com/autogluon/tabarena/pull/753)): 1755 Elo (+88/−73), 18th of 121 methods on the pool of 2026-11-25; the raw results are in [aiden-jeon/tabsil-tabarena-lite](https://huggingface.co/datasets/aiden-jeon/tabsil-tabarena-lite). v1.2 has not been submitted yet. **Where v1.2 is behind.** Against Kumo-Tabular-Medium on split 0, the geometric-mean error ratio is 1.015 (v1.2 is better on 17 of 51 datasets) and 1.033 against the geometric mean of the top five. The largest gaps: polish_companies_bankruptcy (1.33× its error), anneal (1.17), customer_satisfaction_in_airline (1.14), airfoil_self_noise (1.12) and miami_housing (1.09). ### TabPFN v2 benchmark The 29 AMLB classification and 28 regression datasets from the TabPFN v2 paper, 10 OpenML folds each; mean ROC AUC for classification and, for regression, the geometric mean over datasets of the RMSE divided by the paper's (below 1 is better than the paper). The v1 rows are from the v1 card (tabsil 0.1.1's inference). | Checkpoint | Mean ROC AUC | RMSE ratio (geo. mean) | | --- | --- | --- | | **v1.2 (this model)** | not yet measured: OpenML's task service was down on 2026-12-01; the row is added when the run completes | | | v1 (`v1.1`; stage 3 of the 150k / 10k / 2k recipe) | 0.9387 | 0.992 | | v1 after stage 2 (`stage2-10k`) | 0.9387 | 0.994 | | v1 after stage 1 (`stage1-150k`) | 0.9380 | 1.138 | | minipfn TabPFN-3.5 | 0.9371 | 1.005 | | TabPFN v2 paper | 0.9323 | 1 | ### BeyondArena TBD. ### Other tasks Forecasting (fev), outlier detection (ADBench), CATE estimation (IHDP, ACIC 2016) and imputation, zero-shot with these weights, are in the repository's [docs/task-results.md](https://github.com/Aiden-Jeon/tabsil/blob/main/docs/task-results.md). ## Limitations - **Synthetic prior only.** The model never saw real data during training. - **Long and wide tables.** Training stopped at 10,240 rows (v1: 60,000; stage 3 was dropped) and 100 features. Longer tables are handled by the in-context stage at inference, which the harness runs up to the 1,000,000-row limit, but they were not trained on. Wider tables rely on the 768-column cap per member. - **Shortened curriculum.** Stage 1 has the TabICLv2 scripts' 250k steps, stage 2 has 10k instead of 20k, and there is no stage 3. - **Weakest TabArena-Lite datasets.** polish_companies_bankruptcy, anneal, customer_satisfaction_in_airline, airfoil_self_noise and miami_housing (see TabArena-Lite). ## Usage ```bash uv add tabsil # or: pip install tabsil ``` ```python from tabsil import TabSilClassifier, TabSilRegressor # both download aiden-jeon/tabsil at the tag v1.2 (one multitask model) # x_train can be a pandas DataFrame with categorical columns clf = TabSilClassifier(device="cuda").fit(x_train, y_train) proba = clf.predict_proba(x_test) # (n_test, n_classes), columns in clf.classes_ order reg = TabSilRegressor(device="cuda").fit(x_train, y_train) pred = reg.predict(x_test) # mean of the predictive distribution ``` Each class above loads its own copy of the 222M weights. To use both tasks with one copy, load the model once and pass it in (the inference settings come with it): ```python from tabsil import TabSilClassifier, TabSilRegressor, from_pretrained model, borders = from_pretrained("aiden-jeon/tabsil@v1.2") clf = TabSilClassifier(model, device="cuda") reg = TabSilRegressor(model, borders, device="cuda") ``` `fit` does not train weights. It fits each ensemble member's preprocessing on the training rows and runs them through the model once; prediction reads that context and runs only the test rows. To reproduce the TabArena-Lite harness numbers (from a clone, `uv sync --all-packages`; the arena suites need the `arena` extra and download the OpenML tasks): ```bash uv run --package tabsil-train python training/scripts/eval.py --suite tabarena-lite \ --classifier-path hf://aiden-jeon/tabsil@v1.2 \ --regressor-path hf://aiden-jeon/tabsil@v1.2 ``` `--suite all` runs the TabPFN v2 benchmark and `--suite beyondarena` BeyondArena; see `training/README.md` in the repository. ## Versions `main` holds the newest weights and this card describes them. Releases of the `tabsil` package pin a tag, so a release keeps its weights when `main` changes: | Revision | Weights | Recipe | Inference settings | Downloaded by | | --- | --- | --- | --- | --- | | `main`, tag `v1.2` | `sha256:a96257900c76` | 250k stage 1 + 10k stage 2 on `graph_scm_hicard_missing` (this card) | tabsil 0.1.1's | tabsil 0.2.1 and later | | tag `v1.1` | `sha256:e03c8c32849a` | v1: 150k / 10k / 2k, `graph_scm` | tabsil 0.1.1's | tabsil 0.1.1 to 0.2.0 | | tag `v1` | `sha256:e03c8c32849a` | v1 | tabsil 0.1.0's | tabsil 0.1.0 | Intermediate checkpoints are branches of this repo, each with the weights, config and a short README that points back here; this card on `main` describes them. v1.2's stage-1 weights are the branch below. v1's stages stay as `stage1-150k` (`sha256:46ff015e71f8`; TabPFN v2 benchmark 0.9380 / 1.138, harness Elo 1444) and `stage2-10k` (`sha256:f7d460f62732`; 0.9387 / 0.994, 1762). The v1 card (the v1 recipe, its TabPFN v2 benchmark by stage and the official TabArena-Lite table) is the [`README.md` of this repo's `main` before v1.2](https://huggingface.co/aiden-jeon/tabsil/blob/9a3bae58/README.md) (commit `9a3bae58`; the tags `v1` and `v1.1` carry an earlier card, since `v1.1` was made from `v1`'s commit with a new `config.json` only). | Branch | Weights | What it is | TabArena-Lite (harness, context capped at 1,024 rows) | | --- | --- | --- | --- | | `v1.2-stage1-250k` | `sha256:a722099c5da1` | the end of v1.2's stage 1 (250k steps, 1,024-row tables), the start of its stage 2 | 1239 Elo against 1222 for `stage1-150k` read the same way (ratio 0.987) | ```python clf = TabSilClassifier("aiden-jeon/tabsil@v1.1") # the v1 weights ``` In the benchmark script, write the revision after `@`: `--classifier-path hf://aiden-jeon/tabsil@v1.1`. ## Files - `model.safetensors`: weights, plus the regression bucket borders (`borders`) - `config.json`: model size (`ColumnRowTransformerConfig` fields), task (`multitask`) and inference settings ## Acknowledgements - **TabPFN** (Prior Labs): the prior-fitted network approach, and the TabPFN-3 / 3.5 technical reports for the column → row → in-context backbone, the cell encoder and the retrieval decoder. No TabPFN weights are used. - **TabICL / TabICLv2** (Inria SODA): the graph SCM prior (used through the `tabicl` package), the three-stage curriculum, and the QASSMax query gate of the row-stage temperature. - **Kumo-Tabular** (NVIDIA): interleaved column/row stages, log-scale attention temperatures, the quantile regression head, and the high-cardinality and structured-missing prior transforms of stage 2 (adapted from `structured-data-models`). - **Muon** optimizer. ## License Apache-2.0. The training data were generated with the TabICL prior (BSD-3-Clause). A few inference routines and the stage-2 prior transforms are adapted from Apache-2.0 TabPFN and NVIDIA code, and the query gate from BSD-3-Clause TabICLv2 code; see `NOTICE` in the repository. No TabPFN weights are included. ## Citation ```bibtex @misc{tabsil2026, title = {{TabSil}: a tabular foundation model}, author = {Jeon, Jongseob}, year = {2026}, howpublished = {\url{https://github.com/Aiden-Jeon/tabsil}} } @article{priorlabs2026tabpfn35, title = {{TabPFN-3.5}: Technical Report}, author = {{Prior Labs}}, journal = {arXiv preprint arXiv:2609.17895}, year = {2026} } @inproceedings{qu2025tabicl, title = {{TabICL}: A Tabular Foundation Model for In-Context Learning on Large Data}, author = {Qu, Jingang and Holzm{\"u}ller, David and Varoquaux, Ga{\"e}l and Le Morvan, Marine}, booktitle = {International Conference on Machine Learning}, year = {2025} } ```