Scaling Generative Tabular Learning for Large Language Models

Yiming Sun, Xumeng Wen, Shun Zheng, Xiaowei Jia, Jiang BianTRL @ NeurIPS 2024

TL;DR

This paper tackles the challenge of applying Large Language Models (LLMs) to tabular data by scaling up Generative Tabular Learning (GTL). By significantly increasing the pre-training dataset size, sequence length, and experimenting with different LLM architectures, they demonstrate that GTL-enhanced LLMs can now match or even surpass traditional tabular models, especially for complex, long-context tasks.

What Problem Does This Paper Address?

Tabular data is ubiquitous in industries, but building predictive models for it is tricky due to diverse schemas and prediction targets. Traditional approaches often require specialized models for each dataset, which is cumbersome. Generative Tabular Learning (GTL) emerged as a promising direction, using LLMs to learn from tabular data in a generalizable way, allowing for prompt-based transfers without fine-tuning. However, previous GTL models were limited by small pre-training datasets and short sequence lengths, leading to performance gaps compared to traditional methods when dealing with more complex scenarios or larger datasets. This paper aims to bridge that gap by systematically scaling GTL.

Methods

The core of this work is a hierarchical scaling strategy applied to GTL. The authors systematically explored the impact of scaling across several dimensions:

  • Dataset Scaling: Increased the number of pre-training datasets from 340 to 972, drawing from Kaggle and OpenML.
  • Task Scaling: Explored generating up to four unique tasks per dataset by selecting different columns as labels.
  • Sample Scaling: Investigated the effect of the number of "shots" (in-context examples) per dataset and task, finding that performance saturates quickly beyond a small number of samples.
  • Context Scaling: Extended the maximum sequence length from 4,096 to 16,384 tokens, using ROPE embeddings to handle long sequences effectively.
  • Model Scaling: Experimented with different base LLM families, specifically LLaMA-2 and Phi-3, across various sizes.

They evaluated performance using AUROC for classification and NMAE for regression tasks, comparing their scaled models (GTL-S) against both original GTL models and traditional tabular methods.

Datasets

The study utilized a large collection of tabular datasets for pre-training, including:

  • 156 classification and 184 regression datasets from Kaggle.
  • 505 classification and 127 regression datasets from OpenML.

For holdout evaluation, they used a separate set of 18 classification and 18 regression datasets.

Key Insights and Ideas

  • Scaling is Key: The paper strongly reinforces the idea that scaling up data, sequence length, and model size is crucial for unlocking the full potential of LLMs in tabular learning, mirroring trends seen in natural language processing.
  • Regression Saturation: While scaling datasets and tasks generally improves generalization, regression tasks tend to saturate much faster than classification tasks. The authors hypothesize this is due to the inherent complexity of multi-step predictions in regression.
  • Diminishing Returns on Samples: Adding more training samples per dataset/task beyond a very small number (around 4) yields minimal performance gains and can even be detrimental, likely due to data redundancy.
  • In-Context Learning is Powerful: Increasing the number of in-context examples during pre-training consistently boosts performance, especially during inference, for both classification and regression. This highlights the LLM's ability to leverage provided examples effectively.
  • Model Architecture Matters: Different LLM families and sizes show varying strengths. Notably, Phi-3 models demonstrated better performance in regression tasks compared to LLaMA-2, potentially due to differences in their pre-training data.

Key Results

  • The scaled GTL-S models achieved significant performance improvements, consistently matching or surpassing traditional tabular models, especially on tasks with longer sequences (exceeding 4,096 tokens).
  • In scenarios with more than 64 training examples, the GTL-S models could perform on par with or even outperform highly optimized tabular models using a single forward inference.
  • For classification tasks, scaling datasets and tasks showed a power-law relationship with generalization performance.
  • Regression tasks, while benefiting from scaling, showed quicker saturation and oscillation.
  • In-context learning with more than 4 examples significantly improved performance, demonstrating the LLMs' extrapolation capabilities.

Limitations and Future Work

  • Regression Saturation: The paper notes that regression tasks saturate quickly with dataset and task scaling, suggesting further research is needed to address this specific challenge.
  • Sample Scaling Ceiling: The performance plateau observed with increasing samples per dataset/task indicates that simply adding more data of the same type might not be the most effective scaling strategy.
  • Model Differences: While Phi-3 showed an edge in regression, the exact reasons (e.g., pre-training data differences) are speculative and warrant further investigation.

The authors suggest that their work provides a strong foundation for future research into scaling GTL, with potential for further improvements by exploring more sophisticated scaling strategies and model architectures.

Summary updated

BibTeX
@inproceedings{sun2024scaling,
  author = {Yiming Sun and Xumeng Wen and Shun Zheng and Xiaowei Jia and Jiang Bian},
  title = {{Scaling Generative Tabular Learning for Large Language Models}},
  booktitle = {TRL @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=GyiIAIcOUC},
}
Figure