Generative Table Pre-training Empowers Models for Tabular Prediction

Shaowen Wang, Tianping Zhang, Shuicheng Yan, Jian Li, Qian Liu · DOI · OpenReview

TL;DR

This paper introduces TAPTAP, a novel table pre-training method that generates high-quality synthetic tabular data. TAPTAP empowers various backbone models to achieve state-of-the-art performance on tabular prediction tasks, even matching original data performance on half of the tested datasets. This work marks a significant step towards leveraging pre-trained language models for tabular data, particularly for applications like privacy protection and low-resource scenarios.

What Problem Does This Paper Address?

While pre-trained language models (LMs) have revolutionized natural language processing, their application to tabular data has been less impactful, especially for tabular prediction tasks. Existing table pre-training methods primarily focus on joint reasoning over text and tables (e.g., table question answering), neglecting the crucial area of predicting target values based on tabular features. This is a significant gap because tabular data is ubiquitous in real-world applications, and traditional machine learning models often outperform deep learning models on these tasks. The authors aim to bridge this gap by demonstrating how table pre-training can enhance tabular prediction performance.

Methods

The core of TAPTAP is a generative approach. It first pre-trains an auto-regressive LM (based on GPT) on a large corpus of real-world tabular data. This pre-training captures a generic tabular data distribution. Subsequently, TAPTAP can be fine-tuned on specific downstream tables. The key innovation lies in its ability to generate high-quality synthetic tables using this fine-tuned model. These synthetic tables can then be used to train various backbone models (LightGBM, MLP, Transformer).

The process involves:

  1. Pre-training: Training an auto-regressive LM on a large, diverse corpus of tabular data.
  2. Fine-tuning: Adapting the pre-trained LM to a specific downstream table.
  3. Data Sampling: Prompting the fine-tuned LM to generate synthetic tabular data.
  4. Data Labeling: Assigning pseudo-labels to the synthetic data using a well-trained backbone model (crucially, not using LMs for labeling, which the authors argue is less effective).

TAPTAP employs textual encoding for tables, treating numerical features with character-level representations and using a permutation function to handle feature order independence.

Datasets

The authors compiled a pre-training corpus from 450 public tabular datasets sourced from Kaggle, UCI, and OpenML platforms, totaling nearly 2 million samples. For evaluation, they used 12 diverse real-world datasets across various domains. These datasets were split into training (75%) and testing (25%) sets. The paper also references a benchmark study for missing value imputation and lists the URLs of the test datasets in Table 7.

Key Insights and Ideas

  • Pre-training for Tabular Prediction is Viable: Contrary to the trend of focusing on text-table reasoning, this work shows that pre-training on tabular data can significantly boost tabular prediction performance.
  • Synthetic Data Quality Matters: TAPTAP's ability to generate synthetic data that allows models to achieve performance comparable to using original data on half of the experimental datasets is a major breakthrough. This highlights the potential of generative models for tabular data augmentation.
  • Decoupling Backbone and Pre-trained Model: TAPTAP's design allows it to be combined with various backbone models, making it a versatile tool for improving tabular prediction across different architectures.
  • LM-based Labeling is Suboptimal: The authors argue that using pre-trained LMs for pseudo-labeling synthetic data is less effective than using a well-trained backbone model, a key differentiator from some prior generative approaches.
  • Scaling Pre-training Helps: The study demonstrates that increasing the size of the pre-training corpus positively impacts downstream performance.

Key Results

  • TAPTAP outperforms 16 baselines across various tabular prediction scenarios (privacy protection, low resource regime, missing value imputation, imbalanced classification).
  • In privacy protection settings, TAPTAP-generated synthetic data enabled models to achieve performance comparable to using original data on half of the experimental datasets.
  • TAPTAP consistently improved the performance of LightGBM, MLP, and Transformer backbone models.
  • For low resource regimes, TAPTAP showed comparable or better performance than baseline methods on 9 datasets with fewer than 30k samples.
  • In missing value imputation, TAPTAP consistently outperformed baseline methods and achieved the highest average ranking.

Limitations and Future Work

  • Scalability: TAPTAP's reliance on LMs introduces drawbacks like longer running times and higher GPU memory requirements compared to traditional methods.
  • Input Length Limitation: Due to GPT's input length constraint (1024 tokens), TAPTAP can currently only process tabular data with fewer than 100 features.
  • Potential Biases: The pre-training corpus, while filtered, may contain inherent biases present in real-world data, which could be reflected in the generated synthetic data.
  • Synthetic Data Content: There's a concern that generated synthetic tables might contain "offensive content," though the authors note that categorical feature generation can be controlled.

Future work includes extending TAPTAP to process tables with a larger number of features and exploring methods to automatically identify high-quality tables from the web for pre-training.

Summary updated

BibTeX
@inproceedings{wang2023generative,
  author = {Shaowen Wang and Tianping Zhang and Shuicheng YAN and Jian Li and Qian Liu},
  title = {{Generative Table Pre-training Empowers Models for Tabular Prediction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.917},
}
Figure