Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

TransTab: Learning Transferable Tabular Transformers Across Tables

About

Tabular data (or tables) are the most widely used data format in machine learning (ML). However, ML models often assume the table structure keeps fixed in training and testing. Before ML modeling, heavy data cleaning is required to merge disparate tables with different columns. This preprocessing often incurs significant data waste (e.g., removing unmatched columns and samples). How to learn ML models from multiple tables with partially overlapping columns? How to incrementally update ML models as more columns become available over time? Can we leverage model pretraining on multiple distinct tables? How to train an ML model which can predict on an unseen table? To answer all those questions, we propose to relax fixed table structures by introducing a Transferable Tabular Transformer (TransTab) for tables. The goal of TransTab is to convert each sample (a row in the table) to a generalizable embedding vector, and then apply stacked transformers for feature encoding. One methodology insight is combining column description and table cells as the raw input to a gated transformer model. The other insight is to introduce supervised and self-supervised pretraining to improve model performance. We compare TransTab with multiple baseline methods on diverse benchmark datasets and five oncology clinical trial datasets. Overall, TransTab ranks 1.00, 1.00, 1.78 out of 12 methods in supervised learning, feature incremental learning, and transfer learning scenarios, respectively; and the proposed pretraining leads to 2.3% AUC lift on average over the supervised learning.

Zifeng Wang, Jimeng Sun• 2022

Related benchmarks

TaskDatasetResultRank
ClassificationHI
Accuracy0.626
45
Binary Classificationdresses-sales (DS) (test)
AUROC66.5
40
Binary Classificationcylinder-bands (CB) (test)
AUROC0.851
40
Binary Classificationincome IC 1995 (test)
AUROC0.919
39
Credit approval predictionCredit Approval dataset (test)
AUROC0.881
37
Aggregate Tabular BenchmarkingAggregate
Avg Rank8.25
33
Binary Classificationadult (AD) (test)
AUROC0.907
32
Tabular ClassificationAdult (test)
AUROC90.7
28
Binary Classificationinsurance-co IO (test)
AUROC0.822
27
Binary Classificationcredit-g (CG) (test)
AUROC76.8
27
Showing 10 of 47 rows

Other info

Code

Follow for update