[Paper Review] Synthesizing Tabular Data using Generative Adversarial Networks
The authors introduce TGAN, an LSTM-based GAN that synthesizes tabular data with mixed continuous and discrete variables, outperforming traditional statistical generators in preserving feature correlations and scaling to larger datasets. They show ML models trained on TGAN-generated data approach the performance of models trained on real data.
Generative adversarial networks (GANs) implicitly learn the probability distribution of a dataset and can draw samples from the distribution. This paper presents, Tabular GAN (TGAN), a generative adversarial network which can generate tabular data like medical or educational records. Using the power of deep neural networks, TGAN generates high-quality and fully synthetic tables while simultaneously generating discrete and continuous variables. When we evaluate our model on three datasets, we find that TGAN outperforms conventional statistical generative models in both capturing the correlation between columns and scaling up for large datasets.
Motivation & Objective
- Motivate the need for synthetic tabular data to facilitate data sharing, testing, and safe exploration.
- Develop a GAN-based generator capable of handling mixed numerical and categorical features in tabular data.
- Introduce reversible transformations and KL-divergence-based regularization to improve generation of multimodal and discrete variables.
- Demonstrate that models trained on TGAN-synthesized data achieve comparable performance to models trained on real data across multiple datasets.
- Show that TGAN better preserves inter-feature correlations than competing synthetic data methods.
Proposed method
- Use an LSTM-based generator with attention to generate tabular data column by column.
- Apply reversible transformations: multimodal numerical features are clustered with Gaussian Mixture Models; categorical features are one-hot encoded with noise and renormalized.
- Output includes continuous variable values (vi) and cluster indicators (ui), plus discrete variable distributions (di).
- Train a discriminator (MLP) to distinguish real from synthetic data, incorporating mini-batch diversity.
- Optimize generator with GAN loss plus KL-divergence terms to align generated distributions with real data for both discrete and continuous components.
- Leverage post-processing to reconstruct original feature types from the generated representations.
Experimental results
Research questions
- RQ1Can a GAN model be tailored to reliably generate tabular data with heterogeneous numeric and categorical features?
- RQ2Does TGAN preserve inter-column correlations better than statistical synthesizers like GC, BN-Id, BN-Co?
- RQ3Do ML models trained on TGAN-generated data achieve comparable performance to models trained on real data?
- RQ4Is TGAN scalable to large tabular datasets while maintaining data utility and privacy considerations?
- RQ5How does TGAN perform in preserving the marginal and joint distributions of tabular data?
Key findings
- TGAN outperforms conventional statistical generative models in capturing column correlations and scaling to large datasets.
- Machine learning models trained on TGAN-generated data achieve closer performance to models trained on real data, with an average gap around 5.7% on Census compared with 24.9% (GC) and 43.3% (BN-Co) across datasets.
- TGAN better preserves the mutual information structure (NMI) between variables than GC and BN-Co, as shown by NMI matrix comparisons.
- Nearest-neighbor distance analyses indicate TGAN-generated data have distributions closer to real data than competing methods.
- On Census, KDD99, and Covertype datasets, TGAN consistently yields higher accuracy than GC, BN-Co, and BN-Id baselines when used to train standard ML models.
- TGAN maintains the ranking of different ML models when trained on synthetic data, enabling model selection based on synthetic data utilities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.