Making Pre-trained Language Models Great on Tabular Prediction

Jiahuan Yan, Bo Zheng, Hongxia Xu, Yiheng Zhu, Danny Z. Chen +3 more
3/4/2024
cs.CLcs.LG

No official code found. Best implementation: jyansir/tp-berta (71 stars, MIT, last commit 2024-07-12).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

jyansir/tp-bertaCommunity100%
MIT

[ICLR 2024 spotlight] Making Pre-trained Language Models Great on Tabular Prediction

7111Shell, PythonMar 10, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yan2024making,
  title  = {Making Pre-trained Language Models Great on Tabular Prediction},
  author = {Jiahuan Yan and Bo Zheng and Hongxia Xu and Yiheng Zhu and Danny Z. Chen and Jimeng Sun and Jian Wu and Jintai Chen},
  year   = {2024},
  eprint = {2403.01841},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01841v2},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.01841.svg)](https://codeofpaper.com/paper/2403.01841)

Discussion