Generative adversarial networks vs large language models: a comparative study on synthetic tabular data generation

Austin A. Barr, Robert Rozman, Eddie Guo
2/20/2025
cs.LGcs.CL

No official code found. Best implementation: aabarr/Synthetic-Datasets (0 stars, last commit 2025-02-23).

Abstract

We propose a new framework for zero-shot generation of synthetic tabular data. Using the large language model (LLM) GPT-4o and plain-language prompting, we demonstrate the ability to generate high-fidelity tabular data without task-specific fine-tuning or access to real-world data (RWD) for pre-training. To benchmark GPT-4o, we compared the fidelity and privacy of LLM-generated synthetic data against data generated with the conditional tabular generative adversarial network (CTGAN), across three open-access datasets: Iris, Fish Measurements, and Real Estate Valuation. Despite the zero-shot approach, GPT-4o outperformed CTGAN in preserving means, 95% confidence intervals, bivariate correlations, and data privacy of RWD, even at amplified sample sizes. Notably, correlations between parameters were consistently preserved with appropriate direction and strength. However, refinement is necessary to better retain distributional characteristics. These findings highlight the potential of LLMs in tabular data synthesis, offering an accessible alternative to generative adversarial networks and variational autoencoders.

View on arXivView PDF

Code Implementations(1)

Synthetic Datasets generated with LLM and CTGAN

00Feb 14, 20251 years ago

Cite this paper

@article{barr2025generative,
  title  = {Generative adversarial networks vs large language models: a comparative study on synthetic tabular data generation},
  author = {Austin A. Barr and Robert Rozman and Eddie Guo},
  year   = {2025},
  eprint = {2502.14523},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.14523v1}
}

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/2502.14523.svg)](https://codeofpaper.com/paper/2502.14523)

Discussion