Untied 4-block control TabICLv2 regressor: stages 2 and 3
Stage-2 (40K steps) and stage-3 (10K steps) checkpoints of the compute-matched control for the looped TabICLv2 regressor,
continued from the control's stage 1
(tejasvaidhya/untied4-control-tabiclv2-regression-stage1-685k)
with the TabLoop trainer on the official TabICLv2 stage-2/3 regression recipe. The in-context-learning stage has the looped
model's 4 transformer blocks, untied and applied once (k = 1, no weight tying, no input injection); the column and row
stages are unchanged. 11.40M parameters, the same as the looped regressor (the official regressor has 28.5M, with 12 ICL blocks).
This is a plain TabICLv2 regressor with icl_num_blocks: 4, so it loads with the stock tabicl package and needs no patch.
stage3-10k.ckpt is the final model.
Stages 2 and 3 are step-matched to the looped regressor's and the 12-block replication's (40K + 10K steps, the same recipe and data stream). Stage 1 was FLOP-matched: 685K control steps equal 500K steps of the other two models.
Related releases: looped regressor, stage 2, 12-block replication, stages 2-3.
Benchmark numbers (full TabArena regression, compared with the looped and 12-block models) will be added once the evaluation finishes.
Training
| stage 1 (separate repo) | stage 2 | stage 3 | |
|---|---|---|---|
| steps | 685,000 | 40,000 | 10,000 |
| rows per table | 1,024 | 400-10,240, log-uniform | 400-60,000, log-uniform |
| peak LR (Muon on all parameters), warmup | 8e-4, 6,850 | 1e-4, 400 | 2e-5, 100 |
| gradient clip | 10 | 10 | 1 |
| attention precision | fp32 | fp16 q/k/v + loss scaling (as the official recipe) | fp16 q/k/v + loss scaling |
| init | random | stage-1 685K, fresh optimizer | stage-2 40K, fresh optimizer |
| final training loss (smoothed) | 0.059 | 0.059 | 0.063 |
Common to all stages: 64 tables per step, a cosine schedule down to 1e-7, Muon momentum 0.9, weight decay 0.01, TF32 matmuls and
seed 43. The prior is the official TabICLv2 graph-SCM prior with both learnability filters and 1-100 features, and the loss is
pinball over 999 quantiles. No steps were skipped by the fp16 loss scaler. The recipe follows soda-inria/tabicl
scripts/train_v2_reg_stage{2,3}.sh.
Hardware: 4x A100 / 4x H100, in 3-hour chunks resumed from the latest checkpoint.
Files
stage2-40k.ckpt,stage3-10k.ckpt: the final checkpoint of each stage.checkpoints/stage2/step-XXXXXX.ckpt(every 1K steps, 40 files) andcheckpoints/stage3/step-XXXXXX.ckpt(every 1K steps, 10 files).- All checkpoints use the official TabICLv2 regressor format:
config(withicl_num_blocks: 4),state_dict(official parameter names) andcurr_step. Optimizer state is stripped, leaving 46 MB per file. train_config_stage{2,3}.yaml: the TabLoop run configs.inference.py: a loader and demo.
Usage
pip install "tabicl==2.2.0" scikit-learn huggingface_hub
python inference.py # stage3-10k.ckpt
python inference.py --ckpt stage2-40k.ckpt
from huggingface_hub import snapshot_download
import sys; sys.path.insert(0, snapshot_download("tejasvaidhya/untied4-control-tabiclv2-regression-stage2-stage3", allow_patterns=["*.py", "stage3-10k.ckpt"]))
from inference import load_regressor
reg = load_regressor().fit(X_train, y_train); y_pred = reg.predict(X_test)
Checks before release: on each final checkpoint, the stock tabicl model code reproduces TabLoop running the original weights,
with a maximum relative quantile difference of 1.5e-06 in train mode (stage 2 and stage 3). The diabetes demo RMSE with public
tabicl==2.2.0 is 55.66 for stage 2 and 55.67 for stage 3; the official regressor scores 55.48.
Related
Collection: Tabloop (Regression): Stage-2/3.