Manuscript Offprint
arXiv:2610.27569Two Is Enough: Binary Classification Priors Suffice for Multi-Class In-Context Tabular Prediction
Abstract
Tabular foundation models (TFMs) pretrain a transformer on large-scale synthetic priors so that a single forward pass yields zero-shot tabular prediction. TabICLv2 samples the class count of its classification prior during pretraining, and the prevailing configuration caps it at ten. We report a counter-intuitive result: setting this cap directly to two—making every pretrained classification task binary—still yields weights that perform zero-shot K-way classification ( ). On the 38 TabArena classification datasets (200 bootstrap rounds, anchored at default RF = 1000), the binary two-stage recipe reaches 1590.1 Elo, above the official default at 1568.0 ( ), above TabPFN-v2.6 (1577.1) and RealTabPFN-v2.5 (1521.6). A production-scale validation on 60 real-world credit-scoring institutions independently confirms the direction: the same checkpoint improves test AUC on 44 of 60 institutions (paired Wilcoxon p = 0.0007 for AUC, p = 0.0002 for KS) at +1.5% inference cost. Mechanistically, classification in TabICLv2 is carried not by a fixed-cardinality output head but by an in-context comparison operator matching query-row embeddings against class-conditional embeddings, so the cardinality of the output space is set by the labels present in the context, not by the label space seen during pretraining. This makes a binary prior structurally cheaper to generate and cache than a ten-class prior, demotes “number of classes” from an architectural constraint to a tunable hyperparameter, and points to a class-count-agnostic regime of TFM pretraining.
TabArena Elo Top-15 (grouped) — Classification (38 datasets)

Figure 1: TabArena Elo top-15 leaderboard on the full 38-dataset classification suite (200 bootstrap rounds, anchored at default RF = 1000). Light-blue/orange/green grouped bars show the Default, Tuned, and Tuned + Ensembled configurations of each method, and the highlighted yellow bar marks the TabICLv2 official default baseline. Our binary two-stage checkpoint (TabICLv2-Custom-Binary-Prior, dark orange) reaches 1590.1 Elo, +22.1 above the official default (1568.0).
*Corresponding author. Email: jingjing.suo@brgroup.com
1 Introduction
Tabular foundation models (TFMs), namely TabPFN [5, 6], TabICL [8, 9], TabDPT [15], and TabFM [7], pretrain a transformer on synthetic priors (TabDPT instead uses real data with self-supervised retrieval) so that it predicts on an unseen table in a single forward pass with no gradient updates [10]. The central mechanism is in-context learning (ICL): training rows and test rows are fed together as a context, and the model produces the test-row labels within the same forward pass.
A question long treated as an architectural constraint is: in classification, what determines how many classes the model can output? In classical supervised learning the answer is immediate: the width of the output head, fixed by the number of classes in the training set, which then bounds the number of classes at inference time. The ICL paradigm breaks this constraint. TabICLv2 samples the class count of its classification prior during pretraining, typically with an upper bound of ten, so a natural assumption is that this “ten” is simultaneously a prior-sampling parameter and a latent capability boundary of the model.
This paper presents a counterexample to that assumption and addresses three questions:
• Q1 (phenomenon). If the classification prior is fixed to two classes, can the fully pretrained weights still perform multi-class classification?
• Q2 (mechanism). If so, what design decouples the cardinality of the output space from the cardinality of the pretraining label space?
• Q3 (cost). What are the benefits and the failure boundaries of doing this?
Our observation is that the answer to Q1 is yes. On the 38 TabArena [16] classification datasets (200-bootstrap-round Elo, anchored at default RF = 1000), binary two-stage weights retrained from scratch for 540K steps (stage 1: 500K + stage 2: 40K; 10K fewer than the official three-stage schedule) with bagging inference reach 1590.1 Elo (Figure 1), above the official default at 1568.0 ( ; bootstrap intervals overlap, so the gain is directional, not significant). AUC-metric datasets are on par or slightly better; log-loss-metric datasets show a slight calibration degradation ( ), as predicted. A production-scale validation on 60 internal credit-scoring institutions ( ) makes the advantage statistically significant (paired Wilcoxon p = 0.0007 for AUC and p = 0.0002 for KS).
Contributions. This paper contributes:
-
An unexpected empirical result. Binary-only prior pretraining does not sacrifice multi-class inference capability (see Table 1): the binary two-stage recipe (540K steps, no stage 3) scores 1590.1 vs. the official default's 1568.0 Elo (550K steps over three stages). This supports treating “ten classes” as a tunable hyperparameter rather than a capability boundary.
-
A mechanistic explanation. Classification in TabICLv2 is carried by an in-context comparison operator, with K set by the labels in the context. Whether this holds depends on the label-encoder design: a shared encoder extrapolates, a per-class embedding table does not ( ); we give a code-level verification checklist.
-
A cost–benefit argument. Holding everything else fixed, a binary prior is structurally cheaper to generate and cache than a ten-class prior: it shrinks the per-task label-encoder input distribution, the label-embedding lookup, and the cached prior tensors carrying label-side state. Since prior-generation cost is cliff-shaped rather than linear ( ), this reduction buys a disproportionately long additional cache window, expanding the feasible frontier of long-horizon pretraining.
-
A failure boundary. Capping the class count too low is not free: measurable degradation appears when K is large, when classes are severely imbalanced, and when class labels are ordinal. We lay out these failure scenarios and the preliminary evidence for the calibration-related ones ( ).
Label Representation in ICL Predictors. In ICL predictors, how labels are represented determines how the model “understands” classes. Two dominant designs:
| Design | Mechanism | Output-space cardinality |
|---|---|---|
| Fixed output head | A final linear map to logits, with set by configuration | Hard constraint: must be the number of classes at inference |
| Shared label encoder + comparison decoder | Labels are mapped to embeddings by a shared encoder; predictions arise from similarity between query embeddings and each class embedding | Soft constraint: is determined by the distinct labels in the context, and extrapolates |
Our core claim is that TabICLv2 belongs to the second family, which is exactly why a binary prior still predicts multi-class. “Class-count extrapolation” has been glimpsed in text and vision ICL, but systematic evidence on tabular TFMs at the scale of a full pretraining run is missing.
Class Count as a Prior Hyperparameter. A classification prior’s class-count distribution affects both task diversity and generation cost. Prior work universally caps it at ten—matching the class counts of common TabArena/OpenML datasets—yet rarely asks what that cap actually constrains. We split the question into its capability and cost halves.
Architecture-Side Fixes for the Class-Count Limit. Two recent lines attack the same ceiling from the model side. Wu and Bergman [1] propose a mixture-block architecture for tasks with an arbitrary number of classes, calling the cap “the class size limitation—a crucial weakness of prior deep tabular zero-shot learners” and patching it architecturally. Bouadi et al. [2] pair a bi-axial attention encoder with a label-aware ICL head that scales to large label spaces via hierarchical decision routing (Orion-Bix). Both treat the cap as a tunable knob but reach that by adding machinery (a routing/mixing block, a label-aware head); ours instead reshapes the prior’s class-count distribution and leaves the TabICLv2 backbone intact. The two are complementary: an architecture-side fix supplies the operators for -way inference, a prior-side fix reshapes the supervision they see.
3 Methodology
3.1 Preliminaries: The TabICLv2 Forward Pass
Given , TabICLv2 executes the following pipeline (Figure 2):
standardize feature grouping column embedding
label injection (label encoder)
standardize column embedding
↓
column-wise attention / set transformer
↓ CLS token
row-wise attention / ICL transformer
↓ query-row embedding
query embedding in-context class-conditional embeddings logits
Figure 2: TabICLv2 forward pass schematic. Standardization, feature grouping, column embedding, label injection, column-wise and row-wise attention, and the final query-to-class comparison step are shown. The two components that govern the question of this paper are the label encoder and the comparison decoder (§3.3).
Two steps matter most:
-
Label injection. Training-row labels are encoded and concatenated onto their rows as “worked examples” in the context; the form of the encoder determines whether the class count is bound.
-
Comparison decoding. Logits come from comparing the query-row embedding against the class-conditional embeddings (or prototypes) in the context. Its inputs are the classes present in the context, not the classes the configuration declared.
Pretraining must therefore teach how to compare (an operator), not which of ten classes to recognize (a table).
3.2 Where Does “Ten Classes” Come From?
The “target class count” appears in three distinct places in the TabICLv2 pipeline, and conflating them is the usual misunderstanding:
| Location | Role | Hard constraint? |
|---|---|---|
| Prior sampler | Decides how many classes each synthetic task draws, typically uniform over [2,max_classes] | × Affects only the training-task distribution |
| Label-encoder width | If a per-class embedding table, its size equals max_classes | △ Potentially a hard constraint (the critical checkpoint) |
| Evaluation protocol | The class count of the benchmark dataset itself | × Unrelated to the model |
Our change touches only the first location: we fix the classification prior's class count to two and leave everything else (lr, optimizer, weight decay, dropout, sequence-length distribution, the regression prior's pinball configuration) untouched. That location's parameter is named max_classes (shared by TabICL's training scripts and the TabICL class).
Corroboration: max_classes is the per-forward comparison cap, not the total number of representable classes. When a dataset has more classes than max_classes, the TabICL family decomposes the -way task into sub-problems of size max_classes via hierarchical classification plus mixed-radix ensembling and recombines their outputs. The output-space cardinality is thus architecturally decoupled from max_classes, which bounds a single comparison, not the number of classes the model can express. Binary-prior training does not alter this; it merely lowers each sub-problem from 10 to 2. (Whether TabICLv2 retains this verbatim is unverified.)
3.3 Why Does It Work? Three Hypotheses
H1 (operator hypothesis). Classification is comparison; the model learns a comparison operator. Binary tasks already supply the “match / mismatch” supervision to learn it, after which K is just how many objects enter the comparison.
H2 (encoder hypothesis). The label encoder is shared across classes (e.g., a shared scalar/vector encoding plus a class-agnostic transform), not a per-class embedding table. This is necessary for direct K-way inference: with a per-class table, out-of-table classes at inference () have no embedding and extrapolation must fail in a single forward pass (it can still be rescued by the hierarchical classification + mixed-radix ensembling of §3.2, which decomposes the task into sub-problems of size ).
H3 (signal hypothesis). The discriminative signal comes mainly from column- and row-wise attention over features; label injection only supplies an alignment signal, so binary-only pretraining does not weaken the feature-side representation.
Code-level verification checklist (check each against the code before trusting §4):
-
Label encoder: is it nn.Embedding(max_classes, d) (a per-class table) or a shared encoder with a class-agnostic transform?
-
Decoder: do logits come from a fixed linear head, or from similarity against in-context class embeddings?
-
Use of the class index: is the class index consumed as a positional encoding (extrapolates) or as a learned lookup (does not)?
-
Over-allocation: if a per-class table is over-allocated (e.g., sized for max_classes = 100 but trained on 2 classes), H2 becomes “capacity over-allocation plus sparse utilization”; the conclusion can still hold, via a different mechanism.
3.4 Experimental Protocol
| Dimension | Setting |
|---|---|
| Target independent variable | Classification prior's target class count: official default (max_classes=10, three-stage schedule, 550K steps) vs. ours (max_classes=2, from-scratch two-stage retrain, 540K steps) |
| Current measured recipe | Ours is a from-scratch retrain of stage 1 + stage 2 (500K + 40K = 540K) with bagging; the official default adds a 10K-step stage 3 (550K). A strictly single-variable run (class count the sole difference) is in progress (§4.2, §5) |
| Controlled variables | lr, optimizer, weight decay, dropout, micro-batch, grad-accum, sequence-length distribution, recompute True (full diff in Appendix A) |
| Prior supply | Offline prior cache (target: covering all 500K steps) to avoid an order-of-magnitude latency artefact from online generation |
| Evaluation suite Metrics | TabArena classification subset, 38 datasets (binary + multiclass) Elo (Bradley-Terry, 200 bootstrap rounds, anchored to default RF = 1000), AUC / log-loss (assigned per dataset; ± std over three-fold CV) |
| Protocol | Three-fold outer CV per dataset; comparison uses final weights only (no fine-tuning, no post-hoc calibration; bagging enabled in all TabICLv2 configurations) |
4 Experiments
4.1 Setup
We evaluate on 38 TabArena [16] classification datasets (binary + multiclass), strictly zero-shot (no gradient updates or post-hoc calibration; bagging enabled throughout). Elo is the Bradley-Terry rating over 200 bootstrap rounds anchored at default RF = 1000; per-dataset metrics are AUC or log-loss, each with std over three-fold CV.
4.2 Main Results
Table 1: TabArena classification leaderboard (38 datasets, 200 bootstrap rounds, anchored at default RF = 1000). Elo+ / Elo− are bootstrap intervals; Rank is the mean rank; Win rate is the pairwise win ratio. Prior is the classification prior's target class count (for TabFM, the cap reported in [7]; for the other reference checkpoints, the paper's default). Steps gives total pretraining steps: the official default runs the full three-stage schedule (500K + 40K + 10K = 550K); our Custom variant is a from-scratch retrain of stage 1 + stage 2 only (540K, no stage 3). The four reference rows (TabFM, TabPFN-v2.6, the TabICLv2 official default, RealTabPFN-v2.5) use their publicly reported Elo without rerunning; “—” marks the original published schedule.
| Configuration | Prior | Steps | Elo | Elo+ / Elo- | Rank | Win rate |
|---|---|---|---|---|---|---|
| TabFM (reference) | 10 | — | 1749.6 | +133.5 / -114.7 | 9.59 | 0.901 |
| TabICLv2-Custom-Binary-Prior (ours) | 2 | 540K | 1590.1 | +75.2 / -63.3 | 17.91 | 0.806 |
| TabPFN-v2.6 default (reference) | 10 | — | 1577.1 | +60.6 / -56.2 | 18.77 | 0.796 |
| TabICLv2 official default (baseline) | 10 | 550K | 1568.0 | +76.5 / -66.8 | 19.40 | 0.788 |
| RealTabPFN-v2.5 default (reference) | 10 | — | 1521.6 | +54.7 / -52.1 | 22.80 | 0.749 |
Finding. The binary two-stage recipe scores 1590.1 vs. the official default's 1568.0 (a directional gain), with rank (17.91 vs. 19.40) and win rate (0.806 vs. 0.788) moving the same way. The bootstrap intervals overlap (+75.2/-63.3 vs. +76.5/-66.8), so this is a directional advantage, not a significant difference. The attribution boundary matters: ours is a from-scratch retrain of stage 1 + stage 2 only (540K, no stage 3) with bagging, whereas the default adds a 10K-step stage 3, and recipe-side hyperparameters were not verified item-by-item, so the binary prior's contribution remains unisolated (Limitation 2). Even so, cutting the class count to two costs no observable Elo against the official default—if anything +22.1 with 10K fewer steps—while saving prior cost (§4.4). Figure 3 puts all methods on one score axis (higher is better): ours (dark orange) directly above the official default, with a score margin of +0.013. The credit-scoring evaluation (§4.5) supplies the paired significance the Elo comparison lacks.
TabArena Score Top-15 — Classification (binary+multiclass) (38 datasets)

Figure 3: TabArena score on the full 38-dataset classification suite (binary + multiclass; higher is better), covering all evaluated methods. Our binary two-stage checkpoint (TabICLv2-Custom-Binary-Prior, dark orange) scores +0.013 above the TabICLv2 official default baseline (yellow); the Default / Tuned / Tuned + Ensembled bars show the per-method configurations reported by TabArena.
4.3 When Does It Break?
| Scenario | Expected risk | Mechanism |
|---|---|---|
| Large K (>> cap) | Accuracy degradation | Crowded class embeddings in context; too few samples per class |
| Severe class imbalance | Lower minority-class recall | The comparison decoder estimates rare-class “prototypes” with high variance |
| Ordinal classes | Changed threshold behaviour | Binary prior only ever sees a single cut point, never multi-cut structure |
| Well-calibrated probabilities required | Log-loss degrades before accuracy | Narrower prior class distribution → mismatched prior shape on output probabilities |
| Regression tasks | No effect (expected) | Regression uses a pinball quantile loss, independent of the classification prior's class count; regression metrics were unaffected in our runs |
Preliminary empirical evidence (binary recipe vs. official default). Row 4 is already supported by the qualitative pattern: log-loss datasets show slight calibration degradation, while AUC-scored datasets show parity or slight improvement. This separation of discrimination (unaffected) from calibration (slightly degraded) matches the mechanism: the comparison decoder's probability shape depends on the prior's class distribution, while the ranking does not. Calibration-sensitive applications (e.g., credit-scoring probability outputs) need dedicated post-hoc calibration.
4.4 Cost Analysis: Why This Matters in Practice
Why a binary prior is cheaper in principle. Prior-generation cost has three structural drivers: (1) the label space (distinct classes per task); (2) the number of tasks drawn from it; and (3) the per-task cost (SCM sampling, label rendering, post-processing). Holding (2) and (3) fixed, lowering (1) from ten to two reduces the distinct label combinations the prior must support. In the TabICLv2 stack this shrinks the label-encoder input distribution, the label-embedding lookup, and the cached prior tensors carrying label-side state—all consequences of declaring max_classes = 2 at the prior sampler (§3.2), with no extra engineering.
Why this matters in practice: the cache cliff. In real TabICLv2 training, prior tensors are precomputed into an offline cache; once the cache is exhausted the trainer falls back to online generation, which costs roughly an order of magnitude more per step. In a separate (uncontrolled) observation during our 500K-step run, prior_time jumps from 0 s (cache hit) to s (cache miss) once the cached window is exceeded, with the rest of the step at s. This is an observed step-time breakdown, not a controlled cap-10 vs. cap-2 comparison. It does establish the engineering asymmetry: because the cliff is sharp rather than linear, any prior-cost reduction—however small—buys a disproportionately long additional cache window. Lowering the class count from ten to two is such a structural reduction (item 1), so it lands on the steep part of the cliff; that is the engineering meaning of “Two Is Enough.”
4.5 Production-Scale Credit Scoring Evaluation (60 Institutions)
Setup. Beyond TabArena, we evaluate two checkpoints on an internal suite of 60 real-world credit-scoring institutions (binary default-risk scoring; 300 features each; training sizes ; identifiers omitted for confidentiality): the official TabICLv2 default (prior ; full three-stage schedule) and our binary-prior checkpoint (from-scratch two-stage retrain, 540K steps; the same checkpoint as Table 1). Each institution uses a train/test hold-out, and we report test-set AUC and KS, the standard credit-risk discrimination metrics. As on TabArena the two differ in more than the class cap (ours lacks stage 3, 540K vs. 550K steps), so this comparison shares the attribution boundary of Limitation 2.
Table 2: Production credit-scoring suite: 60 institutions (300 features each), institution-equal-weighted macro averages on the test hold-out. is ours minus the official default. Across institutions, ours wins on test AUC in 44 / ties in 1 / loses in 15 (strict sign); the paired two-sided Wilcoxon signed-rank test (normal approximation with tie-averaged ranks) gives on AUC and on KS.
| Checkpoint | Prior K | AUC_test | KS_test | Train-test gap | Cost (s) |
|---|---|---|---|---|---|
| official default (baseline) | 10 | 0.7014 | 0.3082 | 0.2784 | 23.94 |
| ours (binary, 540K) | 2 | 0.7033 | 0.3134 | 0.2770 | 24.30 |
| Δ (ours - default) | +0.0019 | +0.0053 | -0.0014 | +0.36 |
Findings. Table 2 reports the macro averages and the paired statistics. Three observations:
-
Significance. Ours improves test AUC on 44 of 60 institutions ( , macro), paired-significant at p = 0.0007 for AUC and p = 0.0002 for KS (Table 2). Unlike the directional-only TabArena Elo gap (§4.2), the 60-institution paired design has the power to resolve an effect of this size.
-
Where the gain lives. The improvement concentrates where the baseline already performs well: terciles by baseline test AUC give (top, baseline 0.79), (middle), (bottom, baseline 0.61). Only 3 institutions show (all mid-sized, ), and the two largest degradations both fall at the two smallest (, 1,169; baseline AUC ), where single-split variance dominates. The binary prior thus improves fitting where signal exists rather than creating capability on weak-signal institutions.
-
Overfitting and inference cost. The train–test AUC gap of ours (0.2770) is slightly below the official default's (0.2784): cutting the prior's class count to two does not widen generalization error on this suite. Inference cost rises by 0.36 s per institution (+1.49% over 23.94 s), i.e., no material architectural overhead at prediction time (inference cost, distinct from the prior-generation cost of §4.4).
5 Discussion and Limitations
Why this is “supposed” to be true. If classification were genuinely carried by a K-dimensional output head, then “pretraining saw only two classes” would necessarily lock . Observing extrapolation means the causal direction is the opposite: the labels in the context define the output space, and the output head is an implementation detail. This offers a cleaner mental model of ICL predictors: pretraining teaches how to infer a decision rule from examples, not a fixed classifier.
Limitations
-
We establish that “two suffices,” not what is optimal. A cap of 3–5 may be the more robust default.
-
Recipe confounding. The binary configuration (1590.1) is a from-scratch retrain of stage 1 + stage 2 only (540K, no stage 3) with bagging, whereas the official default (1568.0) runs the full three-stage schedule (550K); recipe-side hyperparameters were additionally not verified item-by-item (exact optimizer and bagging settings, etc.), so training length, schedule, and recipe all differ alongside the class cap. The data support “the binary prior shows no observable loss against the official default,” not “the class cap alone causes the gain.” A strictly single-variable run (schedule-and bagging-matched, class count the sole difference) is in progress.
-
The task-difficulty distribution is not strictly deconfounded. Binary tasks may have a different synthetic SCM complexity distribution than ten-class tasks, so “a weaker task mixture trained an equally good model” cannot be excluded without controlling complexity. Two references frame the risk: Chan et al. [3] show that training-data distributional properties (long tail, burstiness, rare classes) drive emergent ICL, so a binary prior also narrows the long-tail/rare-class surface the model sees; Raventós et al. [4] identify a task-diversity threshold below which ICL collapses to a Bayesian estimator mimicking the pretraining distribution, so “a smaller cap does not hurt” requires staying above that threshold under cap-2. We control for neither.
-
Small institutions are noise-dominated. Institutions with training rows show high single-split variance, and every large degradation in our suite falls there, so per-institution results at that scale are noise-dominated ( ).
Future work
• Class-count curricula: binary first, then progressively more classes; does this beat a fixed cap of 2 or 10?
• Model-adaptive class count, driven by a structural prior rather than configured.
• Schema-aware routes: class semantics (e.g., an ICD hierarchy) injected by an LLM rewriting the pipeline (the TabFM-Auto route [17]) or, conceivably, through the prior’s class-count distribution.
6 Conclusion
We split the “target class count cap” of TabICLv2 pretraining—a setting accepted by default—into its capability-boundary and cost-parameter halves, and report an unexpected result: fixing the prior’s target class count to two still yields weights that perform K-way zero-shot classification (1590.1 vs. the official default’s 1568.0 Elo, , a directional advantage; and a small but statistically significant test-AUC and KS gain on a 60-institution credit-scoring suite, paired Wilcoxon for AUC and for KS, at +1.5% inference cost), because classification is carried by an in-context comparison operator and the output-space cardinality is set by the context labels rather than the pretraining label space. This demotes “number of classes” from an architectural constraint to a tunable hyperparameter and, in principle, lowers prior generation and cache cost, expanding the feasible frontier of long-horizon pretraining. We also state the conditions under which it holds (label-encoder and decoder design), the attribution boundary of the current +22.1 (ours is a from-scratch 540K two-stage retrain without stage 3, the default adds a 10K-step stage 3 on the same stage 1 + stage 2, and recipe-side hyperparameters were not verified item-by-item, so the gain is not attributable to the class cap alone), and its failure boundaries (large K, strong imbalance, ordinal structure, and calibration, the last already with preliminary evidence).
Acknowledgments
The authors thank Bairong Inc. for its support of this work, including the compute resources and engineering support for the pretraining runs and the production-scale evaluation.
A Configuration Diff (Target Independent Variable)
Listing 1: Configuration diff between the official default baseline and our binary two-stage recipe. The default runs the full three-stage schedule (500K + 40K + 10K = 550K steps); our Custom variant retrains stage 1 + stage 2 only (540K, no stage 3).
official default (baseline; 1568.0 Elo; 10-class prior)
--max_classes 10 K)
full official schedule: stage 1 (500
+ stage 2 (40K) + stage 3 (10K) =
550K
ours (binary two-stage, Custom-Binary-Prior; 1590.1 Elo)
from-scratch retrain of stage 1 (500K) + stage 2 (40K), both
under the binary prior; no stage 3
--max_classes 2 --bagging <enabled>
bagging inference
everything else (--recompute True / --use_flash_attn3 False / lr /
optimizer / weight_decay / dropout / micro_batch / grad_accum /
sequence-length distribution): intended identical to the official run
On the parameter name. The target independent variable is named max_classes, shared by TabICL's training scripts (train/run.py, scripts/train_stage*.sh) and the TabICL model class.
References
[1] Y. Wu and D. L. Bergman. Zero-shot meta-learning for tabular prediction tasks with adversarially pre-trained transformer. In ICML, 2025.
[2] M. Bouadi, P. Seth, A. Tanna, and V. K. Sankarapu. Orion-Bix: Bi-axial attention for tabular in-context learning. arXiv:2512.00181, 2025.
[3] S. C. Y. Chan, A. Santoro, A. K. Lampinen, J. B. Wang, A. Singh, P. H. Richemond, J. McClelland, and F. Hill. Data distributional properties drive emergent in-context learning in transformers. In NeurIPS, 2022.
[4] A. Raventós, M. Paul, F. Chen, and S. Ganguli. Pretraining task diversity and the emergence of non-Bayesian in-context learning for regression. In NeurIPS, 2023.
[5] N. Hollmann, S. Müller, K. Hutmacher, and F. Hutter. TabPFN: A transformer that solves small tabular classification problems in a second. In ICLR, 2023.
[6] N. Hollmann, S. Müller, L. Purucker, A. Krishnakumar, M. Körfer, M. Mohr, and F. Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 2025.
[7] W. Kong et al. TabFM: A zero-shot foundation model for tabular data. Note: distinct from the separate self-evolving pipeline line TabFM-Auto by D. Fu et al. (2026, arXiv:2609.37989, see entry below). arXiv:2609.37959, 2026.
[8] J. Qu, K. Holsheimer, T. Painter, and F. Hutter. TabICL: A tabular foundation model for in-context learning on large data. In ICML, 2025.
[9] J. Qu, D. Holzmüller, G. Varoquaux, and M. Le Morvan. TabICLv2: A better, faster, scalable, and open tabular foundation model. arXiv:2602.11139, 2026.
[10] S. Müller, N. Hollmann, S. P. Arango, J. Grabocka, and F. Hutter. Transformers can do Bayesian inference. In ICLR, 2022.
[11] A. Garg, D. Tsipras, P. Liang, and G. Valiant. What can transformers learn in-context? A case study of simple function classes. In NeurIPS, 2022.
[12] Y. Li, M. Choi, J. Lee, and S. Oh. Transformers can do Bayesian prediction in-context. arXiv preprint arXiv:2301.12178, 2023.
[13] J. Von Oswald, M. Schlegel, A. Meulemans, S. Kobayashi, E. Niklasson, N. Zucchet, N. Scherrer, N. Miller, M. Sandler, B. Agüera y Arcas, M. Vladymyrov, R. Pascanu, and J. Sacramento. Uncovering mesa-optimization algorithms in transformers. arXiv:2309.05858, 2023.
[14] L. Grinsztajn, K. Flöge, O. Key, F. Birkel, P. Jund, B. Roof, M. Manium, S. B. Hoo, M. Bühler, A. Garg, D. Safaric, J. Robertson, B. Jäger, S. Alessi, A. Hayler, V. Moroshan, L. Purucker, P. Singer, A. Arazi, J. Siems, J. H. Metzen, G. Grab, N. Erickson, S. Guo, E. Kalfon, S. Bing, D. Salinas, C. Cornu, L. C. Wehrhahn, D. Kriuchkova, K. Kaya, L. Sidhoum, M. Salmon, J. Chen, M. Hulsebos, Y. LeCun, S. Müller, B. Schölkopf, S. Gambhir, N. Hollmann, and F. Hutter. TabPFN-3: Technical report. arXiv:2605.13986, 2026.
[15] J. Ma, V. Thomas, R. Hosseinzadeh, A. Labach, H. Kamkari, J. C. Cresswell, K. Golestan, G. Yu, M. Volkovs, and A. L. Caterini. TabDPT: Scaling tabular foundation models on real data. In NeurIPS, 2025.
[16] N. Erickson et al. TabArena: A living benchmark for machine learning on tabular data. In NeurIPS Datasets and Benchmarks, 2026.
[17] D. Fu et al. TabFM-Auto: Self-evolving pipelines for tabular foundation models. arXiv:2609.37989, 2026.