Skip to main content
QUICK REVIEW

[Paper Review] TransTab: Learning Transferable Tabular Transformers Across Tables

Zifeng Wang, Jimeng Sun|arXiv (Cornell University)|May 19, 2022
Machine Learning in HealthcareComputer Science37 citations
TL;DR

TransTab introduces a transferable tabular transformer that handles variable-column tables by encoding columns and cells as tokens, enabling supervised, incremental, transfer, and zero-shot learning across tables, with vertical partition contrastive pretraining.

ABSTRACT

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.

Motivation & Objective

  • Address data waste and inefficiency when merging tables with partially overlapping columns.
  • Develop a model that works on variable-column tables without fixed structure.
  • Enable transfer learning, incremental feature updates, and zero-shot inference across tables.
  • Propose a pretraining paradigm that leverages multiple tables to improve tabular predictions.

Proposed method

  • Featurize table inputs by converting cells into token-level embeddings that incorporate column descriptions.
  • Use vertical partitions of columns to enable scalable self-supervised contrastive learning (VPCL).
  • Leverage gated transformer layers with a token-level gating mechanism for robust feature encoding.
  • Train with supervised loss or contrastive learning (self-supervised VPCL or supervised VPCL) to learn transferable representations.
  • Support four scenarios: transfer learning, incremental learning, pretraining+finetuning, and zero-shot inference across tables.

Experimental results

Research questions

  • RQ1Can TransTab learn from multiple tables with partially overlapping columns?
  • RQ2Does TransTab support incremental addition of columns without retraining from scratch?
  • RQ3How does VPCL pretraining across vertical column partitions improve transfer and zero-shot performance?
  • RQ4Can TransTab outperform baselines in supervised, transfer, and zero-shot/tabular pretraining settings?

Key findings

  • TransTab achieves top performance across supervised learning and across-table transfer scenarios on clinical trial mortality datasets (top ranks in Tables 2–4).
  • In incremental feature settings, TransTab significantly outperforms baselines by leveraging all available features.
  • Across-table transfer experiments show TransTab benefiting from pretraining on one table and finetuning on another, outperforming baselines.
  • Zero-shot experiments demonstrate TransTab matching or exceeding supervised baselines and often surpassing transfer baselines without additional fine-tuning.
  • Vertical Partition Contrastive Learning (VPCL) improves finetuning performance over vanilla supervised pretraining and standard self-supervised methods.
  • Pretraining on unrelated tabular data offers limited benefits for finetuning, while VPCL provides consistent gains across studied datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.