Introduction
Generating high-quality synthetic data is a cornerstone of modern privacy-preserving research, software testing, and the interpretability of complex AI models. However, traditional synthetic data generators often fail to capture the intricate causal dependencies inherent in real-world datasets. This paper introduces GENCDA, a novel framework that leverages pattern mining to scale nonlinear causal discovery, enabling the generation of statistically accurate and logically sound synthetic data.
The Challenge of Nonlinear Causal Discovery
Most existing synthetic data generators fall into two categories: simple models that assume feature independence—often resulting in logically impossible records—and advanced deep learning models like GANs or VAEs that learn dependencies implicitly. While deep models are powerful, they offer no guarantee that the learned relationships are causally valid or explainable.
Causal discovery, specifically identifying Directed Acyclic Graphs (DAGs) that represent "who causes what," offers a solution. However, Nonlinear Causal Discovery (NCD) is computationally intensive, with a search space that grows super-exponentially with the number of variables. This complexity has historically limited NCD to very small datasets, rendering it impractical for real-world applications.
The GENCDA Framework
The authors address the scalability of NCD through a two-stage process: Nonlinear Causal Discovery with Apriori (NCDA) and the subsequent generation phase (GENCDA).
1. NCDA: Scaling Discovery via Pattern Mining
To overcome the computational hurdles of NCD, the framework utilizes the Apriori algorithm—a classic tool in frequent pattern mining. By identifying variables that frequently appear together (correlations), NCDA prunes the search space. The expensive causal search is then restricted only to these correlated variable sets. This filtering mechanism significantly reduces the search space without compromising the ability to detect complex, nonlinear causal relationships.
2. GENCDA: Causal-Informed Generation
Once a DAG is established, the generator follows a structured pipeline:
- Topological Sorting: Variables are ordered such that "causes" are generated before their "effects."
- Distribution Fitting: Independent root variables are sampled from fitted statistical distributions (e.g., Normal or Beta).
- Ensemble Regression: For dependent variables, the system employs an ensemble of models—including Gaussian Processes, SVMs, kNN, and Decision Trees—to predict values based on their causal parents.
Experimental Validation
The framework was evaluated against a diverse set of benchmarks, including 100 synthetic datasets with varying DAG structures and several real-world causal discovery benchmarks such as abalone, Old Faithful, and diabetes.
Key Results and Insights
- Efficiency Gains: NCDA demonstrates massive performance improvements. In one instance, a task that took the original NCD over an hour was completed by NCDA in just 1.2 seconds.
- Data Fidelity: Compared to state-of-the-art models like TVAE and CTGAN, GENCDA produced synthetic data with lower Root Mean Square Error (RMSE) and fewer outliers, better preserving the statistical properties of the original distributions.
- Transparency: Unlike "black-box" generators, GENCDA provides an explicit causal map, making the data generation process transparent and verifiable by domain experts.
Conclusion
By integrating pattern mining with nonlinear causal discovery, the GENCDA framework makes causal-informed synthetic data generation practical for larger datasets. This approach ensures that synthetic records are not only statistically similar to the original data but also respect the underlying causal logic, providing a robust tool for privacy-preserving data science.
Summary updated