Doubling Your Data in Minutes: Ultra-fast Tabular Data Generation via LLM-Induced Dependency Graphs

Shuo Yang, Zheyu Zhang, Bardh Prenkaj, Gjergji Kasneci

TL;DR

SPADA (SPArse Dependency-driven Augmentation) accelerates tabular data generation by up to 9,500× over traditional Large Language Model (LLM) baselines while significantly reducing logical inconsistencies. By using an LLM to map out a sparse feature dependency graph and pairing it with lightweight statistical models for actual data synthesis, it decouples structure learning from generation to achieve massive efficiency gains.

What Problem Does This Paper Address?

High-quality tabular datasets are critical for machine learning, but they are often scarce due to privacy concerns and high collection costs. Recently, researchers have used LLMs to generate synthetic tabular data because their pre-trained weights contain valuable real-world "common sense."

However, existing LLM-based tabular generators suffer from two major flaws:

  1. Overly Dense Dependency Modeling: Standard LLMs process data sequentially, effectively assuming every feature depends on every other feature. This fully connected approach introduces training biases and uncovers spurious correlations.
  2. High Computational Overhead: Generating data autoregressively (token by token, feature by feature) through a massive LLM is incredibly slow, making large-scale data augmentation impractical.

Conversely, traditional statistical generators (like GANs or VAEs) are fast but lack external knowledge, leading them to generate logically impossible rows—such as an "18-year-old professor." SPADA bridges this gap.

Figure 1: A comparison between SPADA and LLM- based approaches. Our approach leverages LLMs to annotate sparse dependency structures, effectively mit- igating the bias introduced by fully connected feature assumptions in traditional methods.

Methods

SPADA splits tabular data generation into two distinct phases: structure annotation and lightweight synthesis.

  1. Structure Learning via LLM: The framework prompts an LLM (GPT-4o) to identify sparse, logical relationships between features (e.g., Education constrains Income). This forms a directed graph. To ensure the graph can be traversed sequentially, an Integer Linear Programming (ILP) algorithm automatically detects and breaks any causal cycles, resulting in a Directed Acyclic Graph (DAG).
  2. Topological Traversal & Synthesis: Features are generated sequentially by traversing the DAG. Crucially, each feature is conditioned only on its direct parent nodes, enforcing sparsity and eliminating spurious biases.

The authors propose two alternative backends for the generation phase:

  • KDE-based (Non-parametric): This training-free approach uses a BallTree structure for fast nearest-neighbor lookups and applies "fuzzy matching" to handle rare parent combinations. Continuous distributions are then estimated using Gaussian Kernel Density Estimation.
  • NF-based (Parametric): This approach trains Conditional Normalizing Flows (NFs) parameterized with SwiGLU activation layers to map a standard Gaussian distribution to the target feature space based on parent conditions.
Figure 2: An overview of the proposed method. We leverage an LLM to extract dependencies among tabular features. Based on the resulting dependency graph, we obtain synthetic data using KDE or NF-based sampling.

Datasets

The authors evaluated SPADA across six diverse, real-world datasets spanning classification and regression tasks:

  • Adult Income: 16 demographic/occupational features (Binary classification).
  • HELOC (Home Equity Line of Credit): 24 credit-related features (Binary classification).
  • Iris: 5 biological features (Multi-class classification).
  • California Housing: 10 geographic/housing features (Regression).
  • CDC Diabetes Health Indicators: 35 healthcare/lifestyle features (Large-scale multi-class classification).
  • Mushroom: 19 biological features (Large-scale binary classification).

Key Insights and Ideas

  • Decoupling Structure from Distribution: The core "aha moment" is that LLMs are excellent at understanding what should depend on what (schema logic), but they are an expensive and inefficient tool for learning how values are distributed. Separating these tasks yields the best of both worlds.
  • Sparsity as a Bias Filter: By forcing the generation of a feature to ignore non-parent features, SPADA prevents the model from amplifying systemic biases present in the training data (e.g., unintended associations between gender and education).
  • The Non-Transitivity of Constraints: In ablation studies, conditioning generation on only direct parents yielded nearly identical performance to conditioning on all ancestors. This confirms that tabular constraints are localized and sparse graphs are entirely sufficient.

Key Results

  • Massive Speedups: During sampling, the Normalizing Flow variant of SPADA takes less than 1 millisecond per sample. This represents a ~9,500× speedup over the LLM-based baseline GReaT, which requires roughly 9 seconds per sample.
  • Fewer Logical Violations: On the California Housing dataset, traditional models frequently generate coordinates outside the state's actual boundaries. SPADA (w/ NF) achieved a mean violation rate of just 0.69%, outperforming diffusion-based TabSyn (6.51%) and TVAE (9.88%).
  • Maintained Downstream Utility: Machine learning models trained on SPADA-synthesized data achieved downstream classification accuracy and F1 scores that consistently matched or exceeded other state-of-the-art synthetic data generators.

Limitations and Future Work

  • Dependency on LLM Quality: SPADA's performance relies heavily on the accuracy of the initial dependency graph generated by the LLM. If the LLM misses a critical relationship, the downstream synthesis will suffer.
  • Strictly Tabular: The framework is currently limited to standard numerical and categorical features. It cannot handle complex multimodal data types like images, video, or open-domain text fields within a table.
  • Future Directions: The authors suggest exploring the use of lightweight Graph Neural Networks (GNNs) to bootstrap or refine the dependency extraction process, potentially reducing reliance on expensive LLM API calls.

Summary updated

Abstract

Tabular data is critical across diverse domains, yet high-quality datasets remain scarce due to privacy concerns and the cost of collection. Contemporary approaches adopt large language models (LLMs) for tabular augmentation, but exhibit two major limitations: (1) dense dependency modeling among tabular features that can introduce bias, and (2) high computational overhead in sampling. To address these issues, we propose SPADA for SPArse Dependency-driven Augmentation, a lightweight generative framework that explicitly captures sparse dependencies via an LLM-induced graph. We treat each feature as a node and synthesize values by traversing the graph, conditioning each feature solely on its parent nodes. We explore two synthesis strategies: a non-parametric method using Gaussian kernel density estimation, and a conditional normalizing flow model that learns invertible mappings for conditional density estimation. Experiments on four datasets show that SPADA reduces constraint violations by 4% compared to diffusion-based methods and accelerates generation by nearly 9,500 times over LLM-based baselines.
BibTeX
@misc{yang2025doubling,
  author = {Shuo Yang and Zheyu Zhang and Bardh Prenkaj and Gjergji Kasneci},
  title = {{Doubling Your Data in Minutes: Ultra-fast Tabular Data Generation via LLM-Induced Dependency Graphs}},
  year = {2025},
  eprint = {2507.19334},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19334},
}
Figure