Abstract
Generating high-quality synthetic tabular data is a significant challenge due to the complex mix of continuous and categorical variables and their intricate dependencies. Traditional Generative Adversarial Networks (GANs) focus on capturing statistical correlations, which can be biased or logically inconsistent. This paper introduces Causal-TGAN, a framework that models the underlying causal processes of data using Structural Causal Models (SCMs). By training a GAN to follow a Directed Acyclic Graph (DAG), Causal-TGAN produces more realistic and logically sound synthetic data. Experimental results demonstrate that Causal-TGAN outperforms existing models by an average of 29% on simulated datasets with known causal structures and achieves state-of-the-art performance on real-world benchmarks.
Introduction
Tabular data generation is essential for privacy-preserving data sharing, especially in sensitive domains like healthcare. While GANs have excelled in image synthesis, tabular data remains difficult because simple correlations often fail to capture the true data-generating process. Existing models like CTGAN or TableGAN primarily focus on linear and non-linear dependencies without considering causality.
Causal-TGAN addresses this by arguing that real-world data is the product of causal mechanisms. For instance, "Age" causes "Education Level," not vice versa. Ignoring these directions leads to synthetic samples that may be statistically plausible but logically impossible or fragile under varying conditions. By constraining the generator with a causal graph, the model avoids "guessing" relationships and instead follows a roadmap of dependencies.
Methodology
Causal-TGAN integrates SCMs with adversarial training in two main stages. First, if the causal structure is unknown, the model employs the PC algorithm to estimate a Directed Acyclic Graph (DAG). To handle mixed data types, a kernel-based approach creates a surrogate correlation matrix for discovery.
Second, the model constructs a generator where each feature is a node in the DAG, represented by a dedicated multi-layer perceptron (MLP) that acts as a causal mechanism. Data is generated in topological order: a variable's value is produced only after its causal parents are determined.
This hierarchical approach allows the model to naturally preserve the conditional probabilities that define the dataset. The entire chain of causal generators is then trained against a discriminator to ensure the final output matches the distribution of the real dataset.
Experimental Results
The authors evaluated Causal-TGAN using simulated datasets (Asia, Child, Alarm, Insurance) where the ground truth DAG is known, and real-world datasets (Adult, Census, News) from the UCI repository.
Performance on Simulated Data
On simulated data, Causal-TGAN significantly outperformed baselines like PrivBN, MedGAN, and CTGAN. When the true causal graph was provided, it achieved log-likelihood scores closest to the "Identity" (the original data source), representing a 29% average improvement over competitors.
Real-World Efficacy
On real-world datasets, Causal-TGAN demonstrated high machine learning efficacy. For the Adult and News datasets, models trained on Causal-TGAN synthetic data performed similarly to those trained on CTGAN data, outperforming older architectures like MedGAN and TableGAN. Distribution similarity tests, including Kolmogorov-Smirnov (KS) and Chi-Squared (CS) tests, further confirmed that Causal-TGAN accurately captures marginal distributions, particularly for continuous variables.
Conclusion
Causal-TGAN demonstrates that incorporating causal priors significantly enhances the quality and logical consistency of synthetic tabular data. While the model's performance is currently tied to the accuracy of causal discovery algorithms, it provides a robust framework for generating data that respects underlying mechanisms. Future work will focus on improving causal discovery and utilizing these models for interventional analysis and "what-if" scenario generation.
Summary updated