Abstract: Synthesizing relational data has started to receive more attention from researchers, practitioners, and industry. The task is more difficult than synthesizing a single table due to the added complexity of relationships between tables. For the same reason, benchmarking methods for synthesizing relational data introduces new challenges. Our work is motivated by a lack of an empirical evaluation of state-of-the-art methods and by gaps in the understanding of how such an evaluation should be done. We review related work on relational data synthesis, common benchmarking datasets, and approaches to measuring the fidelity and utility of synthetic data. We combine the best practices and a novel robust detection approach into a benchmarking tool and use it to compare six methods, including two commercial tools. While some methods are better than others, no method is able to synthesize a dataset that is indistinguishable from original data. For utility, we typically observe moderate correlation between real and synthetic data for both model predictive performance and feature importance.
The Challenge of Relational Synthesis
Synthesizing a single table of data is already a challenge, but most real-world data lives in relational databases—collections of tables linked by foreign keys (e.g., a "Users" table linked to an "Orders" table). When you synthesize these, you cannot simply generate them one by one; you must preserve the statistical dependencies across those links.
Existing evaluation metrics are often too lenient or only look at one table at a time. This paper introduces a robust benchmarking methodology and a tool, syntherela, to compare state-of-the-art (SOTA) methods, including popular commercial tools like Gretel and MostlyAI.
Methodology: Discriminative Detection
The researchers propose a framework called Discriminative Detection (DD) and its relational extension, Discriminative Detection with Aggregation (DDA).
- Discriminative Detection (DD): Instead of just looking at mean values or correlations, a powerful classifier (like XGBoost) is trained to distinguish between real and synthetic rows. If the classifier performs better than random guessing (50% accuracy), the synthetic data has "tells" that reveal it is fake.
- Aggregation (DDA): To test relational integrity, parts of the database are "flattened" by aggregating child table information (like counts or averages) into the parent table before running the detection test. This forces the evaluator to check if the relationships between tables were synthesized correctly.
Key Insights and Results
Marginal Distribution Fidelity
Deep learning-based methods (like ClavaDDPM and commercial tools) significantly outperformed older statistical methods like the Synthetic Data Vault (SDV) in preserving marginal distributions. As seen in the density plot for customer counts, SDV often fails to capture the true distribution, creating unrealistic artifacts.
The "Parent-Child" Trap
Generative models are generally much better at synthesizing parent tables than child tables. The authors hypothesize that errors propagate down the hierarchy; if the parent row is slightly "off," the conditional generation of the child rows becomes increasingly unrealistic. This is reflected in the varying metric values across different tables in the benchmark.
Fidelity vs. Utility
Just because a dataset "looks" real (high fidelity) does not mean it works for training models (high utility). The correlation between these two metrics is only moderate, suggesting that researchers need to optimize for both. For predictive tasks like forecasting sales, synthetic data often performed near the "naive baseline" (predicting the mean), though some methods successfully preserved feature importance.
Conclusion
No current method was able to produce a dataset that was indistinguishable from the original data across all tests. While deep learning methods are improving, current models struggle most with the "structural" aspect of databases—the aggregated relational features. The open-source benchmark syntherela provides a necessary foundation for future research to address these relational gaps.
Summary updated