Manuscript Offprint
arXiv:2608.22594Tabular foundation models for non-tabular tasks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Goran Nakerst, John Brennan, Wouter Beugeling, and Masudul Haque
Institut für Theoretische Physik, Technische Universität Dresden, 01062 Dresden, Germany
Department of Physics, Maynooth University, Ireland
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 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 sample | Pixel values | Label | ||||
|---|---|---|---|---|---|---|
| 1 | ... | ... | 0 | |||
| 2 | ... | ... | 0 | |||
| 3 | ... | ... | 1 | |||
| 4 | ... | ... | 1 | |||
| 20 | ... | ... | 9 | |||
| q1 | ... | ... | ?? | |||
| q2 | ... | ... | ?? | |||
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.
Possibly due to these reasons, traditional machine learning methods like gradient-boosted decision trees (e.g., XGBoost, LightGBM, CatBoost and random forests [1, 2, 27, 28]) have remained the standard approach for tabular tasks in industry [29]. However, recent advances in TFMs have challenged this paradigm [9–12, 14, 15]. A TFM is a single, pre-trained neural network for performing predictive tasks on tabular datasets it did not see during training. By using a transformer-based architecture, trained on a large collection of synthetic datasets generated via causal graphs, TFMs learn abstract patterns of causal relationships between features that generalize across tables. This enables them to match or exceed state-of-the-art classical methods through in-context learning: loading both a set of context/support rows (with known target labels) and query rows (where the target label is missing) directly into the transformer's context window to produce predictions in a single forward pass. Consequently, TFMs can be applied to unseen tasks without requiring possibly costly retraining or hyperparameter tuning, unlike traditional methods. Currently, models like TabPFN [9–11] and TabICL [12, 14] make TFMs a new default approach for small- to medium-sized tabular prediction tasks.
To process tabular data without flattening it into a single sequence, TFMs use a transformer architecture designed to understand two-dimensional grid structures. Early versions of TabPFN achieve this by introducing an architecture that uses a stack of modules consisting of two attention mechanisms. The first applies an attention layer across columns to capture dependencies between features. The second applies an attention layer across rows of the table to capture relationships between different samples. Alternating row and column attention layers come with two key advantages over using a standard attention mechanism on a flattened table. Firstly, it allows the model to scale efficiently with the table size: for a table with N rows and M columns, a standard transformer scales as , while alternating row and column attention scales as . Secondly, alternating row and column attention explicitly preserves invariance under both row and column permutation.
Despite these architectural advantages, processing tabular data via in-context learning introduces some constraints regarding dataset scalability. As the entire support dataset must fit into the transformer's context window alongside query points, the maximum dataset size is strictly bounded by the size of the context window. Consequently, earlier TFM implementations are restricted to relatively small tables (e.g., up to 10,000 rows and 500 features). While recent iterations like TabPFN v3 significantly expand these bounds through feature subsampling and ensembling, a trade-off remains between feature capacity and row capacity. These context limits mean that for large-scale enterprise datasets with millions of rows or tens of thousands of features, classical methods like gradient-boosted decision trees remain indispensable.
In addition to pre-training on tabular data, TFMs are also pre-trained on a large collection of synthetic datasets using structural causal models, which represent causal relationships in the data via a directed acyclic graph. (Versions of TabPFN and TabICL differ in details of how this idea is implemented, extended or modified in various ways.) This endows the TFMs with an abstract understanding of the concept of causal relationships, which suggests the potential for generalization beyond their original intended domain.

Context/training samples per MNIST digit
FIG. 2. Test accuracy of TabPFN v3 on MNIST from 784 raw pixels, as a function of in-context/training examples per digit (blue), evaluated on a fixed -image test set. Error bars indicate one standard deviation over resampling the in-context/training examples. Inset: test accuracy of a simple CNN (green) and LightGBM (orange), a gradient-boosted tree model, trained on the identical splits, test set, and number of training sampling repetitions.
III. MNIST
We test how far TabPFN v3 carries a task it was never designed for: classifying the ten MNIST digits. Each image is handed to TabPFN v3 as a flat row of 784 raw pixel intensities (Figure 1), with no normalization, augmentation, or dimensionality reduction. Classification is purely in-context: the training examples (support set) are loaded as context and a label is produced in a single forward pass, without any gradient updates.
All models draw from a single balanced split: a held-out test set of images per digit (5,000 total) is sampled first and kept fixed, and the -per-digit learning set is drawn from the disjoint remainder. The learning set is used as the context for TFM, or as the training set for other methods tried for comparison. For the sake of conciseness, this distinction will often be kept implicit below, and we will use the word ‘training’ to mean either in-context learning or gradient-based training, depending on the model used.
We vary between 1 and 2,000 (10 to 20,000 in-context rows). Each point in Fig. 2 is the mean test accuracy over repeated draws of the support (training) set, and the error bars show one standard deviation ( ) over those repetitions.
From the 10% chance level, raw pixels alone take TabPFN v3 from 22.5% at one example per digit to 98.6% at 2,000, with most of the gain bought in the first 100 examples and the resampling variance shrinking from to as the context grows. For comparison, the inset shows two models that train on the same examples, splits, and repetition budget: a simple CNN and LightGBM, a gradient-boosted tree ensemble with regularization scaled to the training size (architectures and training details in Appendix A 2). The ordering CNN > TabPFN v3 > LightGBM holds across the whole curve, with the widest gap between TabPFN v3 and the top-performing

Words per language used in context/training
FIG. 3. Test accuracy on distinguishing French from German words from their first 15 letters, as a function of in-context/training words per language, evaluated on a fixed -word test set. The main panel shows in-context TabPFN v3 (blue). The shaded band and error bars indicate one standard deviation over 10 in-context/training resamplings. Inset: the same TabPFN v3 curve against tuned LightGBM (green and orange), on identical word sets for train/context and test.
CNN in the few training example regime.
We note that TabPFN has no notion of the two-dimensional structure of the image, unlike a CNN, which is designed to exploit the image structure. In addition, the CNN is trained via gradient descent over multiple epochs (Appendix A 2). Thus, it is rather remarkable that TabPFN using in-context learning can reach accuracies of similar order as the CNN.
IV. DIFFERENTIATING FRENCH AND GERMAN WORDS
We next apply TabPFN v3 to a task further from its design: deciding whether a word is French or German. Each word is handed to TabPFN v3 as a flat 15-column ordinal vector of its raw letters (a→1, ..., z→26, zero-padded), with accents and umlauts stripped and no linguistic features. The words are drawn from wordfreq [30]; preprocessing details are in Appendix A 3. Classification is again purely in-context, in a single forward pass without gradient updates.
All models draw from a single fixed split: a held-out test set of words (2,000 per language) is sampled first and kept disjoint from every training draw. We vary the training set from to 10,000 words per language (log-scaled x-axis). Each curve in Fig. 3 is the mean test accuracy over 10 training resamplings. At a given seed, all models train on identical words, so differences reflect the model, not the sample. Error bars, and the shaded band for TabPFN v3, show one standard deviation over the 10 seeds.
From a 50% chance level, the ordinal letters alone take TabPFN v3 from 62.4% at to 88.2% at . For comparison, LightGBM trains on the same 15 columns under two readings: numeric, passing the ordinals verbatim, and categorical, treating each column as a 27-level factor so letters can be grouped into unordered subsets rather

FIG. 4. Test accuracy of TabPFN v3 on the 100-class Tiny ImageNet subset from 12,288 raw pixels (blue), as a function of training examples per class, evaluated on a fixed -image test set. The light-blue curve reduces the pixels to 200 PCA components before TabPFN v3, so that every ensemble estimator covers all features. Error bars indicate one standard deviation over resampling the training data.
than ordered thresholds. The two carry identical information and differ only in the available split geometry (tuning in Appendix A 3). The ordering crosses over: TabPFN v3 leads in the few-shot corner ( ), where the categorical encoding collapses to near a single class, but both tuned LightGBM encodings overtake it from , the categorical reading ending about 3 points ahead at .
Since neither model is particularly designed for this task, this example is instructive for comparing the performance of in-context learning of a foundation model with that resulting from actual training of a model without pretraining.
V. TINY IMAGENET
Our hardest task pushes TabPFN v3 onto natural images: a 100-class Tiny ImageNet subset, where each RGB image is handed over as a flat row of 12,288 raw pixel values, with no normalization or resizing. As before, classification is purely in-context, in a single forward pass without gradient updates. Unlike MNIST, the 12,288 features exceed what TabPFN v3's ensemble samples at its default size, so we also test a variant that first reduces the pixels to 200 features via a principal component analysis (PCA) (details in Appendix A 4).
The test set of images per class (5,000 total) is drawn from the official validation split and the -per-class training set from the disjoint training split. We vary between 1 and 100 (100 to 10,000 in-context rows). Each point in Fig. 4 is the mean test accuracy over repeated training draws, and the error bars show one standard deviation over those repetitions.
From the 1% chance level, raw pixels alone take TabPFN v3 from 1.4% at one example per class to 11.2% at 100. This performance is well above chance, but far short of the near-ceiling accuracies on MNIST.
Here the raw pixels are not fully covered. Seeing all 12,288 would require ensemble estimators, but TabPFN v3 autoscales the ensemble only up to its default cap of 32, so about half the pixels go unsampled (Appendix A 1). Reducing the pixels to 200 principal components via PCA instead lets every estimator see all features. In the few-shot corner this brings no gain, as the components estimated on the small training set are too noisy to help. From the picture changes. The PCA variant draws level with the raw pixels and then pulls ahead, reaching about 2 points higher accuracy at 100 examples per class. That covering every feature recovers only about two points reveals the real limit here: not the ensemble size but the absence of a spatial prior, which raw high-dimensional natural images require.
This example highlights the size limitation of current-generation TFMs. It will be interesting to see how future TFMs, with larger size capabilities, fare with such types of data.
VI. CONCLUSION
We applied TabPFN v3 to three tasks outside its tabular domain, namely MNIST and Tiny ImageNet image classification and French-versus-German word recognition. Each example was handed to the model with minimal preprocessing as a flat row of raw features. For each task we swept the in-context training set size across orders of magnitude, from the few-shot regime up to tens of thousands of examples. Throughout, TabPFN's accuracy rose monotonically and did not saturate at the largest context we tried.
The data-rich end is the more surprising. TabPFN is pretrained for small tables, with defaults that assume at most ten thousand samples, yet on the larger sweeps we push it to tens of thousands of in-context rows with no degradation. On MNIST it reaches 98.6% accuracy from raw pixels, just behind a trained CNN and ahead of gradient-boosted trees. On the language task it reaches 88% accuracy from bare letter codes, though tuned trees edge past it. Tiny ImageNet is the exception, as raw pixels never reach an accuracy significantly over 10%.
The few-shot end is where TabPFN's zero-tuning nature pays off. From a single example per digit on MNIST it already reaches 22% accuracy, well above the 10% chance level, and on the language task it stays competitive with a per-size-tuned LightGBM, all in a single forward pass with no tuning of its own. Only once data is plentiful does the tuned LightGBM pull clearly ahead.
One might ask why graphical data (MNIST or Tiny ImageNet) can be meaningfully addressed using tabular foundation models. A partial answer might lie in the pretraining strategy — the models are exposed not only to real-world datasets but also to (synthetically generated) causal structures. These examples of causal relationships, generated by sampling random directed acyclic graphs (DAGs), are meant to provide the foundation models with the capability to detect causal structure among the entries in tables. Looking back at Figure 1, the essence of handwritten digit recognition can be described as the causal relationship between the 784 pixel values on the one hand, and the label on the other. The foundation model appears to be able to learn this from a few context samples, without the need for handcrafted techniques like convolution. The root of this success is presumably the pretraining on causal structures. This suggests that tabular foundation models might be used for a wide variety of tasks that they have not been trained for, since understanding causality (i.e., understanding world models and relationships between disparate types of data) lies at the heart of prediction and all forms of machine learning.
The present work implies that tabular foundation models in particular, and causality-awareness in general, hold great promise for a wide range of tasks, well beyond the originally envisaged use cases.
[1] T. Chen and C. Guestrin, XGBoost: A scalable tree boosting system, in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (2016) pp. 785–794.
[2] G. Ke, Q. Meng, T. Finley, T. Wang, W. Chen, W. Ma, Q. Ye, and T.-Y. Liu, LightGBM: A highly efficient gradient boosting decision tree, in Advances in Neural Information Processing Systems (NeurIPS), Vol. 30 (2017) pp. 3149–3157.
[3] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, Bert: Pretraining of deep bidirectional transformers for language understanding (2018), arXiv:1810.04805 [cs.CL].
[4] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei, Language models are few-shot learners (2020), arXiv:2005.14165 [cs.CL].
[5] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, and N. Houlsby, An image is worth words: Transformers for image recognition at scale (2020), arXiv:2010.11929 [cs.CV].
[6] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever, Learning transferable visual models from natural language supervision (2021), arXiv:2103.00020 [cs.CV].
[7] R. Bommasani, D. A. Hudson, E. Adeli, R. Altman, S. Arora, S. von Arx, M. S. Bernstein, J. Bohg, A. Bosselut, E. Brunskill, E. Brynjolfsson, S. Buch, D. Card, R. Castellon, N. Chatterji, A. Chen, K. Creel, J. Q. Davis, D. Demszky, C. Donahue, M. Doumbouya, E. Durmus, S. Ermon, J. Etchemendy, K. Ethayarajh, L. Fei-Fei, C. Finn, T. Gale, L. Gillespie, K. Goel, N. Goodman, S. Grossman, N. Guha, T. Hashimoto, P. Henderson, J. Hewitt, D. E. Ho, J. Hong, K. Hsu, J. Huang, T. Icard, S. Jain, D. Jurafsky, P. Kalluri, S. Karamcheti, G. Keeling, F. Khani, O. Khattab, P. W. Koh, M. Krass, R. Krishna, R. Kuditipudi, A. Kumar, F. Ladhak, M. Lee, T. Lee, J. Leskovec, I. Levent, X. L. Li, X. Li, T. Ma, A. Malik, C. D. Manning, S. Mirchandani, E. Mitchell, Z. Munyikwa, S. Nair, A. Narayan, D. Narayanan, B. Newman, A. Nie, J. C. Niebles, H. Nilforoshan, J. Nyarko, G. Ogut, L. Orr, I. Papadimitriou, J. S. Park, C. Piech, E. Portelance, C. Potts, A. Raghunathan, R. Reich, H. Ren, F. Rong, Y. Roohani, C. Ruiz, J. Ryan, C. Ré, D. Sadigh, S. Sagawa, K. Santhanam, A. Shih, K. Srinivasan, A. Tamkin, R. Taori, A. W. Thomas, F. Tramèr, R. E. Wang, W. Wang, B. Wu, J. Wu, Y. Wu, S. M. Xie, M. Yasunaga, J. You, M. Zaharia, M. Zhang, T. Zhang, X. Zhang, Y. Zhang, L. Zheng, K. Zhou, and P. Liang, On the opportunities and risks of foundation models (2022), arXiv:2108.07258 [cs.LG].
[8] B. van Breugel and M. van der Schaar, Why tabular foundation
models should be a research priority (2024), arXiv:2405.01147 [cs.LG].
[9] N. Hollmann, S. Müller, L. Purucker, A. Krishnakumar, M. Körfer, S. B. Hoo, R. T. Schirrmeister, and F. Hutter, Accurate predictions on small data with a tabular foundation model, Nature 637, 319 (2025).
[10] L. Grinsztajn, K. Flöge, O. Key, F. Birkel, P. Jund, B. Roof, B. Jäger, D. Safaric, S. Alessi, A. Hayler, M. Manium, R. Yu, F. Jablonski, S. B. Hoo, A. Garg, J. Robertson, M. Bühler, V. Moroshan, L. Purucker, C. Cornu, L. C. Wehrhahn, A. Bonetto, B. Schölkopf, S. Gambhir, N. Hollmann, and F. Hutter, TabPFN-2.5: Advancing the State of the Art in Tabular Foundation Models (2025), arXiv:2511.08667 [cs].
[11] 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 (2026), arXiv:2605.13986 [cs.LG].
[12] J. QU, D. Holzmüller, G. Varoquaux, and M. L. Morvan, TabICL: A tabular foundation model for in-context learning on large data, in Forty-second International Conference on Machine Learning (2025).
[13] R. Sergazinov and S.-A. Yin, Chunked tabpfn: Exact training-free in-context learning for long-context tabular data (2025), arXiv:2509.00326 [cs.LG].
[14] J. QU, D. Holzmüller, G. Varoquaux, and M. L. Morvan, TabICLv2: A better, faster, scalable, and open tabular foundation model, in Forty-third International Conference on Machine Learning (2026).
[15] J.-P. Jiang, S.-Y. Liu, H.-R. Cai, Q.-L. Zhou, and H.-J. Ye, Representation Learning for Tabular Data: A Comprehensive Survey, IEEE Transactions on Pattern Analysis and Machine Intelligence 48, 6488 (2026).
[16] Y. Liu, T. He, Y. Liu, C. Yi, H. Jin, and C. Hong, Tabular foundation models are strong graph anomaly detectors (2026), arXiv:2601.17301 [cs.LG].
[17] S. Luo, M. M. Kanaan, C. Gordon, A. Leontjeva, and S. Lucey, Memory efficient tabular foundation models (2026), arXiv:2607.27546 [cs.LG].
[18] C. Klötergens, V. K. Yalavarthi, L. Schmidt-Thieme, and T. Hanika, Do tabular foundation models agree with themselves? (2026), arXiv:2608.06004 [cs.LG].
[19] Google Research, TabFM: A zero-shot foundation model for tabular data, GitHub repository (2026), https://github.com/google-research/tabfm.
[20] V. Borisov, T. Leemann, K. Seßler, J. Haug, M. Pawelczyk, and G. Kasneci, Deep neural networks and tabular data: A survey, IEEE Transactions on Neural Networks and Learning Systems
35, 7499–7519 (2024).
[21] Y. Gorishniy, I. Rubachev, V. Khrulkov, and A. Babenko, Revisiting deep learning models for tabular data, arXiv 10.48550/arxiv.2106.11959 (2021).
[22] S. Ö. Arik and T. Pfister, Tabnet: Attentive interpretable tabular learning, Proceedings of the AAAI Conference on Artificial Intelligence 35, 6679 (2021).
[23] S. Popov, S. Morozov, and A. Babenko, Neural oblivious decision ensembles for deep learning on tabular data, arXiv 10.48550/arxiv.1909.06312 (2019).
[24] X. Huang, A. Khetan, M. Cvitkovic, and Z. S. Karnin, Tabtransformer: Tabular data modeling using contextual embeddings, arXiv 10.48550/arxiv.2012.06678 (2020).
[25] G. Somepalli, M. Goldblum, A. Schwarzschild, C. B. Bruss, and T. Goldstein, Saint: Improved neural networks for tabular data via row attention and contrastive pre-training, arXiv 10.48550/arxiv.2106.01342 (2021).
[26] W. Song, C. Shi, Z. Xiao, Z. Duan, Y. Xu, M. Zhang, and J. Tang, AutoInt: automatic feature interaction learning via self-attentive neural networks, in CIKM '19: Proceedings of the 28th ACM International Conference on Information and Knowledge Management (2019) pp. 1161–1170.
[27] L. Prokhorenkova, G. Gusev, A. Vorobev, A. V. Dorogush, and A. Gulin, CatBoost: Unbiased boosting with categorical features, in Advances in Neural Information Processing Systems (NeurIPS), Vol. 31 (2018) pp. 6639–6649.
[28] L. Breiman, Random forests, Machine Learning 45, 5 (2001).
[29] L. Grinsztajn, E. Oyallon, and G. Varoquaux, Why do tree-based models still outperform deep learning on typical tabular data?, in Advances in Neural Information Processing Systems (NeurIPS), Vol. 35 (2022) pp. 507–520.
[30] R. Speer, rspeer/wordfreq: v3.0 (2022).
[31] Y. Le and X. Yang, Tiny imagenet visual recognition challenge, Stanford CS231n (2015).
Appendix A: Experimental Details
1. TabPFN v3 configuration
All TabPFN results use model v3 library defaults with a single override, ignore_pretraining_limits=True. It disables the input-size checks that would otherwise raise an error: v3's soft limits are 500 features, 10,000 in-context samples. Every experiment trips at least one of these. The feature limit is exceeded by MNIST (784 pixel columns) and Tiny ImageNet (12,288), while the sample limit is exceeded by all three experiments at their largest in-context sizes.
TabPFN handles wide tables by ensembling: each of n_estimators forward passes sees a subsample of at most max_features_per_estimator columns (200 for the v3 default preprocessors), drawn without replacement from a single pool that is shuffled once and consumed round-robin across estimators, so a column cannot repeat until the whole pool has been drawn once. auto_scale_n_estimators=True (default) raises n_estimators from its default of 8 toward so every column is seen by at least one estimator, capped at 32.
For MNIST ( ) and French/German ( ) the cap never binds and every column is covered. Tiny ImageNet would need estimators, so the cap leaves only feature slots for 12,288 columns. Because the round-robin pool guarantees no repeats before exhaustion exactly 6,400 of the 12,288 raw pixels are sampled, leaving 48% of the pixels never seen by any estimator.
2. MNIST
All models share one balanced split of the MNIST dataset: the -image test set (500 per digit) is sampled first and fixed, and the -per-digit training set drawn from the disjoint remainder. Resampling repetitions follow a size-adaptive schedule, from 10 at down to 2 at .
TabPFN v3 receives the 784 columns with no preprocessing and classifies purely in-context (training rows loaded as context, each label from a single forward pass), using the v3 configuration of Appendix A 1, under which the auto-scaled ensemble covers all 784 columns.
The CNN has two convolutional layers (32 and 64 channels, kernels, each with ReLU and max-pooling) and two fully connected layers (128 hidden units, then 10 outputs), 420k parameters total. Unlike TabPFN v3, its pixel values are scaled to and standardized with the MNIST statistics (mean 0.1307, standard deviation 0.3081). It trains with Adam (learning rate , batch size 128) and dropout 0.5 before the output layer, for a fixed 100 epochs at every training set size. We fix the epoch count rather than early-stop because test accuracy plateaus once the training set is fit and does not degrade with more epochs (Fig. 5): the overfitting is benign, reaching 100% train accuracy at every size while test accuracy still improves with .
LightGBM sees the same 784 columns, with regularization scaled to the training size rather than searched: num_leaves from 4 to 31, min_child_samples from 1 to 20, colsample_bytree at 0.5 for else 0.8, and row bagging (subsample= 0.8) only once ; boosting is fixed at 300 trees, learning rate at 0.05. Scaling min_child_samples is essential: its default of 20 forbids any split once a leaf cannot hold 20 rows, so at 1 to 2 examples per digit ( rows) the model cannot split and collapses to chance.
3. Differentiating French from German words
Words are drawn from the wordfreq frequency lists (German, French). Each word is lowercased and normalized to the bare Latin alphabet: German umlauts and eszett are transliterated as digraphs (ä → ae, ö → oe, ü → ue, β → ss), and all remaining diacritics are removed via Unicode's normalization form compatibility decomposition (é → e, ç → c, etc.). The remaining letters are then a,b, ..., z. Words are deduplicated within each language. Normalized words common in both languages are removed from both lists to guarantee unambiguous labels. This procedure yields 78,169 German and 71,757 French words. Each word is ordinal-encoded into 15 integer

FIG. 5. CNN test (solid) and train (dotted) accuracy versus training epochs for single runs on MNIST, for four training-set sizes 1, 5, 20, 100 examples per digit (from bottom to top). The size of the test set is fixed at 5,000 images.
columns (a → 1, ..., z → 26). Unused positions are padded with 0. Words longer than 15 letters are truncated. The truncation length 15 is the 95th-percentile of the word length in the cleaned data set.
We deliberately strip French accents rather than retain them. Diacritics such as é, è, and ç occur only in French and would provide a near-trivial discriminative shortcut; removing them forces both models to classify from Latin-letter orthography alone, making the reported accuracies a lower bound on language separability.
Two consequences of this normalization should be noted. First, truncation is asymmetric: 7.5% of German words exceed 15 characters versus only 0.6% of French words, both because German forms longer words through compounding and long derivational suffixes, and because the umlaut/eszett transliteration itself lengthens German words by one character each. The presence or absence of padding therefore weakly encodes word length and correlates with the German label. Second, accent stripping merges otherwise distinct forms (e.g., à/a, ou/ou, sūr/sur) and contributes to the cross-language collisions removed during deduplication (e.g., French représentation → representation, identical to German Representation).
TabPFN v3 receives the 15 ordinal columns with no further preprocessing, using the v3 configuration of Appendix A 1. Here , so a single estimator already covers every column.
LightGBM is tuned independently at each training size and encoding. For each configuration we run sklearn's RandomizedSearchCV (40 trials) with stratified 5-fold cross-validation on the training set only. The held-out test set is never seen during tuning. The search covers tree capacity (num_leaves , max_depth ), leaf granularity (min_child_samples ), regularization (reg_alpha, reg_lambda), sampling (colsample_bytree, subsample), and the learning-rate/boosting-round tradeoff (learning_rate , n_estimators ); best parameters are then refit on the full training set and scored once on the test set. Crucially the space includes small min_child_samples: LightGBM's default of 20 forbids any split once a leaf cannot hold 20 rows, collapsing to the majority class at small . The selected configurations follow the expected regularization-to-capacity progression with training size: at the search prefers shallow, small-leaf, small-step trees (median num_leaves , max_depth , learning_rate ), whereas at it selects deeper, higher-capacity models at the maximum boosting budget (max_depth = -1, n_estimators = 600, learning_rate = 0.1).
4. Tiny ImageNet
Tiny ImageNet [31] contains 200 classes of RGB images (500 training and 50 validation images per class). We fix a random 100-class subset and encode each image as its raw pixel values, with no normalization or resizing. All models share one balanced split over this subset: the -image test set (50 per class) is drawn from the official validation split and the -per-class training set from the official training split, so the two are disjoint by construction. Resampling repetitions follow a size-adaptive schedule, from 10 at down to 3 at .
TabPFN v3 receives the 12,288 columns with no preprocessing and classifies purely in-context, using the v3 configuration of Appendix A 1. Here the feature count far outruns the ensemble's reach: the 32-estimator cap leaves about 48% of the pixels unsampled. We therefore also report a variant that reduces the raw pixels to 200 PCA components, fit on the training set of each run. As 200 matches the per-estimator feature budget, every estimator then covers all components and no columns are dropped.
Concretely, each image is treated as a raw-pixel row vector , and the training images are stacked into . Writing for the column-wise mean of X and
for its empirical covariance, PCA-200 keeps the eigenvectors of corresponding to the 200 largest eigenvalues. These are obtained once per run on the training set only. By stacking the eigenvectors as columns of , every test image is then represented by its projection
This PCA requires at least 200 rows to extract 200 nonzero eigenvectors, so the 1-per-class point is omitted for this variant.