# Two Is Enough: Binary Classification Priors Suffice for Multi-Class In-Context Tabular Prediction

DevFeed: [Two Is Enough: Binary Classification Priors Suffice for Multi-Class In-Context Tabular Prediction](<https://devfeed.tech/articles/two-is-enough-binary-classification-priors-suffice-for-multi-class-in-context-tabular-prediction-94311.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.27569>)

Author: Zhixiong Cheng, Shiyuan Han, Jingjing Suo, Zhengli Wang

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>)

Tags: [classification](<https://devfeed.tech/tags/classification.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [pretraining](<https://devfeed.tech/tags/pretraining.md>)

## AI overview

The abstract reports that TabICLv2 pretrained with only binary classification tasks can still perform zero-shot K-way tabular classification. On 38 TabArena datasets, its binary two-stage recipe scored 1590.1 Elo, 22.1 above the official default and above the cited TabPFN-v2.6 and RealTabPFN-v2.5 scores. In a separate evaluation across 60 credit-scoring institutions, it improved test AUC at 44 institutions, with paired Wilcoxon p-values of 0.0007 for AUC and 0.0002 for KS, at 1.5 times the inference cost. The proposed mechanism is that predictions compare query-row embeddings with class-conditional embeddings; output class count comes from labels in context rather than a fixed-size head. The excerpt argues that binary priors are cheaper to generate and cache, while noting the added inference cost.

## Source excerpt

arXiv:2610.27569v1 Announce Type: new 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 2. 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 (+22.1), 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.