Skip to main content
QUICK REVIEW

[Paper Review] TabuLa: Harnessing Language Models for Tabular Data Synthesis

Zilong Zhao, Robert Birke|arXiv (Cornell University)|Oct 19, 2023
Digital and Cyber ForensicsComputer Science11 citations
TL;DR

Tabula demonstrates that a randomly initialized language model fine-tuned on tabular data can outperform NLP-pretrained starters and, with token sequence compression and a novel padding strategy, achieves faster training and higher synthetic data utility across six datasets.

ABSTRACT

Tabular data synthesis is crucial for addressing privacy and security concerns in industries reliant on tabular data. While recent advancements adopt large language models (LLMs) for realistic tabular data generation, their long training times and limited reusability hinder practical applications. In this paper, we propose Tabula, a tabular data synthesizer that leverages the structure of LLM. Unlike state-of-the-art (SOTA) LLM-based tabular data synthesizers that rely on pre-trained LLMs, Tabula discards the pre-trained weights originally designed for natural language tasks, focusing instead on a tailored approach for tabular data. In addition, Tabula introduces a token sequence compression strategy that significantly reduces training time while maintaining data quality, alongside a novel token padding method that improves sequence alignment across training batches. Experiments on six datasets show that Tabula achieves superior synthetic data utility compared to current SOTA methods. Additionally, the results demonstrate that Tabula model trained on tabular datasets serves effectively as a foundational model for synthesizing new tabular datasets. Furthermore, the proposed padding method outperforms the conventional left and right padding strategies. Finally, the results highlight that Tabula averagely reduces training time per epoch by 46.2% compared to state-of-the-art LLM approaches while achieving higher data utility. Our code is available at https://github.com/zhao-zilong/Tabula

Motivation & Objective

  • Challenge the effectiveness of using NLP-pretrained LLMs as starting points for tabular data synthesis.
  • Propose a tabular-synthesis-focused foundation model and training workflow.
  • Introduce token sequence compression and a novel token padding strategy to reduce training time.
  • Evaluate Tabula against state-of-the-art tabular synthesis methods on multiple datasets.

Proposed method

  • Transform each data row into a sentence-like text representation for an LLM.
  • Use a randomly initialized language model as the foundation rather than pre-trained NLP weights.
  • Compress token sequences by representing column names and categorical values with single tokens and simplifying the sentence structure to X Y.
  • Introduce Middle Padding to ensure consistent token positions across a batch and across the dataset.
  • Fine-tune the foundation model on a chosen tabular dataset (Intrusion) to create a reusable foundation for subsequent tasks.
  • Compare Tabula to CT-GAN, CTAB-GAN+, TabDDPM, GReaT, and REaLTabFormer across six datasets.

Experimental results

Research questions

  • RQ1Does a randomly initialized foundation model converge faster than NLP-pretrained models for tabular data synthesis?
  • RQ2Can token sequence compression and middle padding significantly reduce training time without sacrificing synthetic data quality?
  • RQ3How well can a Tabula-based foundation model reused from one task accelerate learning on new tabular synthesis tasks?
  • RQ4How does Tabula compare to state-of-the-art tabular data synthesis methods in terms of machine learning utility and statistical similarity?

Key findings

  • Tabula outperforms all baselines (CTGAN, CTABGAN+, GReaT, TabDDPM, REaLTabFormer) across six datasets on machine learning utility.
  • A randomly initialized DistilGPT-2 foundation model converges faster than a pre-trained DistilGPT-2 for tabular synthesis tasks.
  • Pre-training Tabula on the Intrusion dataset yields consistent improvements for subsequent synthesis tasks (faster convergence).
  • Token sequence compression reduces training time by an average of 46.2% per epoch compared to SOTA LLM-based synthesizers.
  • Midddle Padding outperforms left/right padding and REaLTabFormer in maintaining consistent token positions and improving synthesis quality.
  • Tabula achieves higher synthetic data utility on several datasets than the original data or baselines, with some cases exceeding original data performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.