[Paper Review] XTab: Cross-table Pretraining for Tabular Transformers
XTab introduces a cross-table pretraining framework for tabular transformers that enables knowledge transfer across diverse datasets with varying column types and quantities. By using federated learning to jointly pretrain data-specific featurizers and a shared transformer block, XTab significantly improves generalization, learning speed, and performance—outperforming state-of-the-art models on 84 tabular tasks from the OpenML-AutoML Benchmark.
The success of self-supervised learning in computer vision and natural language processing has motivated pretraining methods on tabular data. However, most existing tabular self-supervised learning models fail to leverage information across multiple data tables and cannot generalize to new tables. In this work, we introduce XTab, a framework for cross-table pretraining of tabular transformers on datasets from various domains. We address the challenge of inconsistent column types and quantities among tables by utilizing independent featurizers and using federated learning to pretrain the shared component. Tested on 84 tabular prediction tasks from the OpenML-AutoML Benchmark (AMLB), we show that (1) XTab consistently boosts the generalizability, learning speed, and performance of multiple tabular transformers, (2) by pretraining FT-Transformer via XTab, we achieve superior performance than other state-of-the-art tabular deep learning models on various tasks such as regression, binary, and multiclass classification.
Motivation & Objective
- To address the poor generalization of tabular deep learning models across new tables with varying column types and quantities.
- To enable knowledge transfer across multiple tables from different domains, overcoming limitations of domain-specific pretraining.
- To develop a scalable, distributed pretraining framework that supports transfer learning for tabular transformers.
- To demonstrate that cross-table pretraining improves learning speed, model performance, and generalization on unseen tables.
- To establish a new benchmark for pretraining tabular models beyond single-domain or single-table fine-tuning.
Proposed method
- Decompose tabular transformers into data-specific featurizers and a shared cross-table component to handle variable column types and numbers.
- Use federated learning to jointly pretrain the shared component across a large collection of tables from diverse domains.
- Apply self-supervised pretext tasks (e.g., masked column prediction, contrastive learning) during pretraining to learn general tabular representations.
- Initialize new models with the pretrained shared weights to bootstrap learning on unseen tables.
- Utilize a unified architecture that treats each table column as a token, enabling attention-based modeling across variable-length tables.
- Pretrain on 84 datasets from the OpenML-AutoML Benchmark to ensure broad domain coverage and generalization.
Experimental results
Research questions
- RQ1Can cross-table pretraining improve the generalization of tabular transformers across datasets with diverse column types and structures?
- RQ2Does pretraining on a large, heterogeneous collection of tables lead to faster convergence and better performance on downstream tasks?
- RQ3Can federated learning effectively scale pretraining across multiple tables while preserving model generalization?
- RQ4How does XTab compare to random initialization and domain-specific pretraining in terms of performance and sample efficiency?
- RQ5To what extent does XTab improve the performance of state-of-the-art tabular models like FT-Transformer?
Key findings
- XTab consistently improves the performance, learning speed, and generalization of multiple tabular transformers across 84 tasks in the OpenML-AutoML Benchmark.
- FT-Transformer fine-tuned with XTab-pretrained weights outperforms all other state-of-the-art tabular deep learning models on regression, binary, and multiclass classification tasks.
- On the mfeat-factors dataset, XTab reduced log loss from 0.1636 (random init) to 0.1089, a 33.3% relative improvement.
- On the boston regression task, XTab reduced RMSE from 3.3039 to 2.8631, a 13.3% relative improvement.
- On the wine-quality-white multiclass task, XTab reduced log loss from 0.803 to 0.7847, a 2.3% relative improvement.
- XTab achieved superior performance on 18 out of 84 tasks compared to the best baseline, with consistent gains across all task types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.