arXiv:2608.22594cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22594

Tabular foundation models for non-tabular tasks

Goran Nakerst, John Brennan, Wouter Beugeling, Masudul Haque

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Goran Nakerst,1^{1} John Brennan,2^{2} Wouter Beugeling,3^{3} and Masudul Haque1^{1}

1^{1} Institut für Theoretische Physik, Technische Universität Dresden, 01062 Dresden, Germany

2^{2}Department of Physics, Maynooth University, Ireland

3^{3}Physikalisches Institut (EP3) and Institute for Topological Insulators, Universität Würzburg, Am Hubland, 97074 Würzburg, Germany

Tabular foundation models (TFMs) have recently emerged as a promising paradigm for machine learning on tabular data, offering the ability to generalize across datasets without task-specific training. Since many machine learning datasets can be represented as tables, this raises the question: does TFM capability extend beyond tasks traditionally regarded as tabular? We address this question by using TabPFN v3 on three non-tabular classification problems: handwritten digit recognition on MNIST, language identification of French and German words, and image classification on Tiny ImageNet. In each case, the original data are represented as rows of a table and classification is formulated as prediction of a missing label. We evaluate performance as a function of the number of context samples provided to the pretrained model, with no additional training or fine-tuning. Despite having no explicit access to the spatial or sequential structure characterizing the data, TabPFN v3 in some cases achieves accuracies comparable with that of models or methods geared specifically toward the corresponding tasks.

I. INTRODUCTION

Tabular data is arguably the dominant format in applied machine learning. For over a decade, gradient-boosted decision trees, exemplified by XGBoost [1] and LightGBM [2], have been the dominant tools for such data. These methods typically involve training each model from scratch on a single type of dataset, thus their capacity to transfer knowledge across tasks or datasets is limited. In contrast, in other machine learning fields such as language and vision, the idea of ‘foundation’ models has become central [3–7] — pre-training models on a large corpus to achieve impressive generalization capabilities across domains or tasks. Thus, perhaps unsurprisingly, the idea of importing this paradigm of foundation models to tabular data has gained appeal, and tabular foundation models (TFMs) have experienced an upsurge of interest over the last few years [8–18]. In particular, a few such models have now become available for public use, most prominently TabPFN [9–11], TabICL [12, 14] and recently TabFM [19].

With the increasing prominence of tabular foundation models, a very natural question arises: Since most datasets can be represented in tabular form, perhaps TFMs are applicable to many machine learning tasks, beyond those conventionally regarded as tabular? As an example, we show schematically in Figure 1 how the MNIST dataset could be thought of as a tabular dataset. Each complete row of the table represents one sample, with 28×28=78428 \times 28 = 784 entries containing the pixel values and the last entry containing the label, a single-digit integer. The schematic shows the case with two learning samples per digit. These twenty rows would serve the training set for a machine learning algorithm, or the context set (or support set) for a pre-trained foundation model. Test samples correspond to rows in which the label cell is not filled in; inference involves predicting the content of this cell. Learning image classification is thus recast into the task of learning to fill in missing values in a table, i.e., the task that tabular foundation models are built for.

In this work, we ask to what extent currently available TFMs are suitable for tasks which are not usually regarded as tabular.

Image samplePixel valuesLabel
1p1(1)p_1(1)p1(2)p_1(2)......p1(784)p_1(784)0
2p2(1)p_2(1)p2(2)p_2(2)......p2(784)p_2(784)0
3p3(1)p_3(1)p3(2)p_3(2)......p3(784)p_3(784)1
4p4(1)p_4(1)p4(2)p_4(2)......p4(784)p_4(784)1
⋮\vdots⋮\vdots⋮\vdots⋮\vdots⋮\vdots⋮\vdots
20p20(1)p_{20}(1)p20(2)p_{20}(2)......p20(784)p_{20}(784)9
q1pq1(1)p_{q1}(1)pq1(2)p_{q1}(2)......pq1(784)p_{q1}(784)??
q2pq2(1)p_{q2}(1)pq2(2)p_{q2}(2)......pq2(784)p_{q2}(784)??

FIG. 1. Framing MNIST classification as a tabular task. In this schematic, two examples per MNIST digit, thus a total of 20 images, are used as the context (the support set) from which the TFM learns. The last two rows, labeled q1 and q2 (q for 'query'), are images to be used for inference/prediction; hence the Label field is empty. The collection of unlabeled samples, the 'test' data set, is sometimes called the 'query set' or 'target set' when the learning is in-context.

We present empirical results for three tasks: handwritten digit recognition using MNIST, differentiating between french and german words, and a 100-class Tiny ImageNet dataset. We use TabPFN v3 [9–11] and test the performance with various numbers of samples used as the ‘context’. Since the model is pre-trained, there is no training involved in the sense of updating model weights; instead, learning is entirely in-context. We compare classification accuracies with those obtained by training more specialized models, such as convolutional neural networks, on the same number of samples. In some cases, the performance is of similar order, despite the fact that the TFM undergoes no task-specific training.

These results indicate that the capabilities of current TFM are not necessarily confined to conventionally tabular data, for which they were originally designed. We thus expect that it might be beneficial to reconsider the distinction between tabular and non-tabular learning. Since TabPFN is trained on causal graphs, this work also suggests that (pre-)training for understanding causality may be an important key to broad generalization across task types.

We present performance comparisons between foundation and non-foundation models. The comparisons are done such that the size of the support set for in-context learning of foundation models is the same as the size of the training set for training of non-foundation models. This makes the terminology potentially confusing, as the terms ‘training’ and ‘test’ are commonly used for foundation models as well. We hope that the distinction between in-context learning on the one hand (for TFMs), and training with model weight updating on the other hand (for other techniques), is clear in every case that we discuss in this article, even if the same word ('training') is sometimes used for both types of learning.

In Section II we provide a brief reminder of the basics of tabular foundation models; readers familiar with TFMs and tabular data may safely skip this section. The next three sections present the results on MNIST (Section III), on the language recognition task (Section IV) and on the Tiny ImageNet dataset (Section V). Section VI provides a summary and some discussion, and the appendices provide more technical information regarding the numerical experiments.