arXiv:2610.13818cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13818

TabMF: Learning Dataset Representations with Tabular Foundation Models

Rafiq Kamel, Nicolas Atienza, Aziz Fouché, Nicola Cancedda, Josif Grabocka

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

ABSTRACT

Representations of supervised datasets support higher-level machine-learning tasks such as dataset retrieval, and distribution-shift monitoring. However, existing approaches typically rely either on hand-crafted meta-features or on dataset encoders trained specifically for representation learning.

We introduce TABMF, a framework that repurposes pretrained tabular foundation models (TFMs) as encoders of supervised datasets. TABMF equips a predictive TFM with an architecture-aware dataset-level readout and adapts the model end-to-end using contrastive post-training on stochastic views of synthetic supervised datasets.

We instantiate TABMF on TabICLv2 and TabPFN-2.5 and evaluate the resulting representations across six tasks on unseen real datasets. Simple frozen TFM readouts yield competitive representations, indicating that predictive pretraining already induces substantial dataset-level structure. The two TABMF encoders obtain the strongest aggregate performance among the evaluated learned and classical dataset representations, with particularly strong results in dataset retrieval, compact benchmark construction, and distribution-shift severity assessment.

1 INTRODUCTION

Many machine-learning problems require reasoning about an entire dataset rather than individual observations. A useful representation of a supervised dataset can support dataset retrieval, benchmark construction, distribution-shift monitoring, transfer of model or hyperparameter knowledge, and identification of rare or atypical datasets. Ideally, such a representation should map a previously unseen dataset to a fixed-dimensional vector whose geometry can be reused across different dataset-level tasks.

Existing approaches largely rely on hand-crafted meta-features or dedicated dataset encoders. Meta-features summarize a dataset through a predefined collection of statistics (Alcobaga et al., 2020) and underpin algorithm selection (McElfresh et al., 2023; Zhao et al., 2021) and zero-shot AutoML (Öztürk et al., 2022; Pineda-Arango et al., 2024), but their representation is fixed by design and cannot adapt to new notions of dataset similarity. Learned alternatives such as Dataset2Vec (Jomaa et al., 2021) and the Neural Statistician (Edwards & Storkey, 2017) learn dedicated dataset encoders from scratch on collections of datasets, without leveraging the representations acquired by large-scale predictive pretraining. This raises a more general question: can the representations learned through large-scale predictive pretraining be repurposed into reusable representations of entire supervised datasets?

We answer this question with TABMF, a foundation model for supervised dataset representation. Our key idea is to repurpose pretrained tabular foundation models (TFMs) such as TabPFN (Hollmann et al., 2025; Grinsztajn et al., 2025) and TabICL (Qu et al., 2025; 2026). These models already process an entire labeled table jointly and learn rich internal representations through predictive pretraining, but are optimized for instance-level prediction rather than for representing the supervised dataset itself. TABMF equips a pretrained TFM with an architecture-aware dataset-level readout and adapts the entire model end-to-end with a contrastive objective over stochastic views of synthetic supervised datasets. The views vary sampled observations, observed variables, and label-preserving

*Correspondence: rafiq.kamel@utn.de

Figure

Figure 1: TABMF overview. Left: A synthetic supervised dataset is sampled from one Graph-SCM, and two stochastic views vary the sampled observations, observed variables, and label-preserving feature transformations while sharing the same designated target. TABMF encodes both views and is trained contrastively to bring their representations together while separating representations of other datasets. Right: At inference time, a frozen TABMF encoder maps a new supervised dataset (X,y)(X, y) to a fixed-dimensional representation that can be used directly for dataset comparison and monitoring or as input to lightweight downstream probes.

feature transformations, encouraging a representation that is stable across different realizations of the same supervised dataset. We instantiate this general recipe on both TabICLv2 and TabPFN-2.5 using readouts tailored to their internal architectures (Section 3.2). At inference time, TABMF maps one supervised dataset to one fixed-dimensional vector in a single forward pass.

A surprising finding of our study is that predictive pretraining alone already induces useful dataset-level representations. Simply mean-pooling internal states of frozen pretrained TFMs yields strong dataset embeddings without any dataset-level adaptation. In particular, frozen TFM representations outperform dedicated learned dataset encoders on retrieval and remain competitive with learned encoders and classical meta-features on dataset-property prediction (Section 5.5). This reveals an emergent dataset-level representation capability in predictive TFMs.

We evaluate frozen and adapted representations on real datasets unseen during training. TABMF achieves near-perfect real-data view discrimination and substantially improves retrieval robustness under a broad suite of 19 dataset transformations, with particularly large gains under severe feature subsampling. Beyond retrieval, the learned geometry supports higher-level applications including compact benchmark construction and distribution-shift severity assessment. Across the six primary evaluation tasks, the two TABMF encoders obtain the two strongest aggregate ranks among the evaluated learned and classical dataset representations (Section 5).

Our contributions are:

• TABMF. We introduce an end-to-end framework that repurposes pretrained TFMs as zero-shot encoders of supervised datasets through architecture-aware readouts and contrastive post-training on synthetic datasets. At inference time, TABMF maps a previously unseen supervised dataset directly to a fixed-dimensional representation in a single forward pass (Section 3).

• Emergent dataset representations in predictive TFMs. We show that predictive pre-training alone already induces strong dataset-level representations. Simple frozen readouts outperform dedicated learned dataset encoders on retrieval and remain competitive on dataset-property prediction (Section 5.5).

• An extensive evaluation of dataset representations. We compare frozen and adapted TFM representations with learned dataset encoders and classical meta-features across dataset-property prediction, robust retrieval, compact benchmark construction, and distribution-shift assessment. The two TABMF encoders achieve the strongest aggregate performance across the six-task primary suite (Section 5).

References (64)