Rethinking Pre-Training in Tabular Data: A Neighborhood Embedding Perspective
Han-Jia Ye, Qi-Le Zhou, Huai-Hong Yin, De-Chuan Zhan, Wei-Lun Chao
TL;DR
This work tackles the challenge of transferring knowledge across heterogeneous tabular datasets by introducing TabPTM, a pre-training framework that uses a neighborhood-based meta-representation. Each instance is encoded by its distances to the $K$ nearest neighbors and their labels, producing a fixed-dimensional input regardless of original feature spaces, and a shared top-layer model $T_{\Theta}$ learns from these representations across many datasets. The model can be applied directly to unseen datasets or fine-tuned with minimal parameter updates, achieving strong classification and regression performance, especially in few-shot settings, and often surpassing existing pre-trained tabular models. The results on 101 datasets demonstrate the potential of neighborhood-informed meta-representations to serve as a universal vocabulary for tabular transfer learning, enabling scalable, cross-dataset generalization without extensive task-specific tuning.
Abstract
Pre-training is prevalent in deep learning for vision and text data, leveraging knowledge from other datasets to enhance downstream tasks. However, for tabular data, the inherent heterogeneity in attribute and label spaces across datasets complicates the learning of shareable knowledge. We propose Tabular data Pre-Training via Meta-representation (TabPTM), aiming to pre-train a general tabular model over diverse datasets. The core idea is to embed data instances into a shared feature space, where each instance is represented by its distance to a fixed number of nearest neighbors and their labels. This ''meta-representation'' transforms heterogeneous tasks into homogeneous local prediction problems, enabling the model to infer labels (or scores for each label) based on neighborhood information. As a result, the pre-trained TabPTM can be applied directly to new datasets, regardless of their diverse attributes and labels, without further fine-tuning. Extensive experiments on 101 datasets confirm TabPTM's effectiveness in both classification and regression tasks, with and without fine-tuning.
