Abstract
Tabular data has long been a challenging domain for deep learning due to the inherent heterogeneity across different datasets. Unlike images or text, tabular columns lack a shared semantic language, forcing models to be trained from scratch for each new task. We present XTFORMER, a novel framework that leverages cross-table pretraining to establish a universal meta-function space. By employing Calibratable Linear Layers (CALINEAR), XTFORMER can rapidly adapt to unseen tables through a task calibration process. Our evaluation on the OpenTabs V1 benchmark demonstrates that XTFORMER consistently outperforms state-of-the-art Gradient Boosted Decision Trees (GBDTs) and existing tabular deep learning methods, particularly in data-constrained scenarios.
Introduction
In computer vision and natural language processing, pretraining on massive datasets followed by fine-tuning has become the standard paradigm. However, tabular data—the backbone of most industrial applications—has resisted this trend. The primary obstacle is heterogeneity: a column in one table (e.g., "Age") has no structural relationship to a column in another (e.g., "Price"). This "island" nature of tabular data typically necessitates training models from scratch, where Gradient Boosted Decision Trees (GBDTs) like XGBoost often prevail due to their superior data efficiency on small datasets.
Methodology
XTFORMER addresses this by focusing on function alignment rather than feature alignment. The core innovation is the CALINEAR (Calibratable Linear Layer), which replaces standard fixed-weight linear layers with a set of $M$ basis functions.
The model operates in three distinct phases:
- Cross-Table Pretraining: The model is exposed to hundreds of diverse datasets to populate a high-dimensional meta-function space with reusable patterns.
- Task Calibration: For a new target table, the main model parameters are frozen. A calibration module ($M_{cal}$) optimizes a small context vector to identify the optimal combination of basis functions within the pre-trained space.
- Refinement: A brief fine-tuning phase (typically 5 epochs) polishes the model's parameters for the specific nuances of the new dataset.
Experimental Setup
The model was evaluated using the OpenTabs V1 benchmark, comprising 294 binary classification and 366 regression datasets for pretraining. Testing was conducted on 38 entirely unseen downstream datasets. Performance was measured across various data regimes, from "T-full" (all data) down to "T-20" (only 20 training samples), to assess robustness in low-data environments.
Results and Discussion
XTFORMER demonstrates a significant performance leap over both traditional and deep learning baselines. It outperformed XGBoost and CatBoost on 72% of the 190 downstream tasks evaluated.
Key insights from the results include:
- Universal Patterns: The model successfully learns "universal" feature-to-target mappings that transcend specific dataset boundaries. t-SNE visualizations confirm that features from different datasets with similar target relationships cluster together in the coefficient space.
- Low-Data Efficiency: The advantage of XTFORMER is most evident in extreme low-data settings (T-20, T-50), where the pre-learned meta-functions provide a strong inductive bias that models trained from scratch lack.
- Superiority over Baselines: XTFORMER surpassed the previous state-of-the-art tabular pretraining method, XTab, on 85% of tasks and the standard FT-Transformer on 76% of tasks.
Conclusion
XTFORMER marks a pivotal step toward foundation models for tabular data. By shifting the focus from feature semantics to mathematical function alignment, it overcomes the heterogeneity barrier. While current limitations include a focus on binary classification and regression, and the high initial cost of pretraining, the resulting model offers unprecedented efficiency and accuracy for end-users working with diverse tabular datasets. Future work will explore native multi-class support and further optimization of the meta-function space to reduce the necessity of the final refinement step.
Summary updated