Language Modeling on Tabular Data: A Survey of Foundations, Techniques and Evolution

Yucheng Ruan, Xiang Lan, Jingying Ma, Yizhi Dong, Kai He, Mengling FengarXiv 2024 · DOI

Abstract

Tabular data remains a cornerstone of the real-world data economy, yet its heterogeneity and structural complexity pose significant challenges for traditional machine learning. This survey provides a comprehensive roadmap of the paradigm shift from "shallow" models like Gradient Boosted Decision Trees (GBDTs) to sophisticated language-model-based approaches. We systematically categorize the evolution of this field, from early transformers trained from scratch to the current era of Large Language Models (LLMs) capable of zero-shot reasoning and synthetic data generation.

Introduction: The Tabular Challenge

While GBDTs excel at row-level predictions, they often struggle with "table-level" tasks such as question answering, semantic parsing (Text-to-SQL), and the integration of external knowledge. Tabular data is inherently complex: it mixes numerical, categorical, and textual data without a natural sequential order. Modern Language Models (LMs) are being adapted to bridge this gap, offering a unified framework for solving diverse tabular problems.

A Taxonomy of Tabular Modeling Techniques

The adaptation of language models to tabular data involves three core technical pillars: input processing, architectural modifications, and specialized training objectives.

Overview of foundations, modeling techniques, and the evolution of language modeling on tabular data.

1. Input Processing

Feeding 2D tables into 1D models requires Serialization—converting rows into natural language sentences or flattened sequences—and Context Integration, which uses prompts to provide semantic meaning to column headers.

2. Intermediate Modules

Standard Transformers are often modified with specialized Positional Encodings to account for the permutation invariance of columns. Attention Mechanisms are also tailored to operate specifically across rows, columns, or individual cells to capture structural dependencies.

3. Training Objectives

Beyond standard next-token prediction, models utilize Masking (hiding cells or headers), Corrupting (detecting swapped values), and Contrastive Learning to internalize the underlying structure of tabular data.

Data Structures and Benchmarks

The survey categorizes tabular datasets based on their structural complexity, which dictates the types of tasks they support.

Visual comparison between 1D (row-level) and 2D (table-level) tabular data structures.
  • 1D Datasets (Row-level): These include classic benchmarks like UCI Adult and California Housing, primarily used for traditional classification and regression tasks.
  • 2D Datasets (Table-level): Massive corpora like Wikipedia Tables are used for pre-training, while task-specific benchmarks like WikiSQL (semantic parsing) and TabFact (fact-checking) test higher-level reasoning.

Evolution and Key Insights

The field has progressed through three distinct stages: Pre-training from scratch (e.g., TabTransformer), Adapting Pre-trained Language Models (e.g., TaBERT, TAPAS), and the current LLM Era (e.g., GReaT, TabLLM).

The Power of Prior Knowledge

A significant advantage of LLMs over GBDTs is their semantic understanding. An LLM "knows" the meaning of a header like "DOB" (Date of Birth), allowing for more intuitive handling of missing data and feature engineering. Furthermore, while GBDTs remain the gold standard for pure numerical prediction, foundation models are closing the gap on 1D tasks while vastly outperforming traditional ML on reasoning-heavy tasks like Table Question Answering (TQA).

Limitations and Future Directions

Despite rapid progress, several hurdles remain:

  • Efficiency: LLMs are computationally expensive compared to decision trees; research into Parameter-Efficient Fine-Tuning (PEFT) is ongoing.
  • Interpretability: Moving beyond "black box" predictions toward explainable reasoning (e.g., Chain-of-Thought) is critical for high-stakes applications like healthcare.
  • Bias: Models can inherit social biases from their text-based pre-training data, requiring careful auditing.
  • Complex Structures: Handling nested tables or multi-modal data remains an open engineering challenge.

Summary updated

BibTeX
@misc{ruan2024language,
  author = {Yucheng Ruan and Xiang Lan and Jingying Ma and Yizhi Dong and Kai He and Mengling Feng},
  title = {{Language Modeling on Tabular Data: A Survey of Foundations, Techniques and Evolution}},
  year = {2024},
  eprint = {2408.10548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.10548},
}
Figure