Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Making Pre-trained Language Models Great on Tabular Prediction

About

The transferability of deep neural networks (DNNs) has made significant progress in image and language processing. However, due to the heterogeneity among tables, such DNN bonus is still far from being well exploited on tabular data prediction (e.g., regression or classification tasks). Condensing knowledge from diverse domains, language models (LMs) possess the capability to comprehend feature names from various tables, potentially serving as versatile learners in transferring knowledge across distinct tables and diverse prediction tasks, but their discrete text representation space is inherently incompatible with numerical feature values in tables. In this paper, we present TP-BERTa, a specifically pre-trained LM for tabular data prediction. Concretely, a novel relative magnitude tokenization converts scalar numerical feature values to finely discrete, high-dimensional tokens, and an intra-feature attention approach integrates feature values with the corresponding feature names. Comprehensive experiments demonstrate that our pre-trained TP-BERTa leads the performance among tabular DNNs and is competitive with Gradient Boosted Decision Tree models in typical tabular data regime.

Jiahuan Yan, Bo Zheng, Hongxia Xu, Yiheng Zhu, Danny Z. Chen, Jimeng Sun, Jian Wu, Jintai Chen• 2024

Related benchmarks

TaskDatasetResultRank
Classification80 classification datasets
Median Effect Size (F1 pts)0.1
17
Classification4 Tabular Classification Datasets (Event user-repeat, Beer user-active, Trial study-out, Avito user-click)
Average Rank16
16
Tabular Data Analysis8 Tabular Datasets Overall
Average Rank14.71
16
Regression64 Regression Datasets
Median %RMSE Reduction27.5
15
Regression4 Tabular Regression Datasets (Event user-attend, Beer beer-pos, Trial site-success, HM item-sales)
Avg Rank13.75
15
Tabular ClassificationTabular Classification Benchmarks 64-shot
Accuracy62.1
9
Tabular ClassificationTabular Classification Benchmarks 256-shot
Average Test Accuracy64.9
6
Tabular ClassificationTabular Classification Benchmarks All-shot
Accuracy77.2
6
Showing 8 of 8 rows

Other info

Follow for update