Why LLMs Are Bad at Synthetic Table Generation (and what to do about it)
Shengzhe Xu, Cho-Ting Lee, Mandar Sharma, Raquib Bin Yousuf, Nikhil Muralidhar, Naren Ramakrishnan
TL;DR
This work tackles the problem that autoregressive LLMs struggle to generate faithful synthetic tabular data due to ignoring functional dependencies (FDs). It introduces Permutation-Aided Fine-Tuning (PAFT), which learns an FD-based dependency graph, distills complex FDs into actionable edges, and optimizes a permutation of columns to govern the generation order, thereby better approximating the joint distribution $P(\mathcal{A})$. Through six real datasets and rigorous evaluation across conditional distributions, domain-consistency, data-sniff tests, and downstream ML replacement tasks, PAFT demonstrates superior fidelity and realism over strong baselines, while revealing the limitations of relying solely on univariate or simple correlation metrics. The approach shows practical impact by enabling more reliable synthetic data for ML pipelines, and it highlights that even with newer LLMs, targeted calibration via FD-aware permutation remains essential for high-quality synthetic tabular data.
Abstract
Synthetic data generation is integral to ML pipelines, e.g., to augment training data, replace sensitive information, and even to power advanced platforms like DeepSeek. While LLMs fine-tuned for synthetic data generation are gaining traction, synthetic table generation -- a critical data type in business and science -- remains under-explored compared to text and image synthesis. This paper shows that LLMs, whether used as-is or after traditional fine-tuning, are inadequate for generating synthetic tables. Their autoregressive nature, combined with random order permutation during fine-tuning, hampers the modeling of functional dependencies and prevents capturing conditional mixtures of distributions essential for real-world constraints. We demonstrate that making LLMs permutation-aware can mitigate these issues.
