TL;DR
While generative models for single-table data have made huge strides, synthesizing multi-table relational databases remains a wide-open challenge. This paper presents an open-source benchmarking framework and a robust classifier-based evaluation metric—Discriminative Detection with Aggregation (DDA)—to evaluate six relational synthesizers across multiple datasets. The verdict: no current method produces synthetic relational data that fools a classifier, primarily because modern synthesizers fail to capture inter-table relationships.
What Problem Does This Paper Address?
Most enterprise data is stored across multiple tables connected via foreign keys, not isolated single tables. While generating synthetic relational data promises to protect privacy and alleviate data scarcity, evaluating it is fraught with issues:
- Lenient or flawed evaluation standards: Existing literature relies heavily on simple marginal checks or logistic regression detection (LD). Logistic detection fails to capture complex column interactions and can easily be fooled by simple shuffling or data copying.
- Denormalization issues: Common relational metrics (like Parent-Child LD) flatten child and parent tables into a single denormalized view. This introduces row-to-row correlations, breaks the independent and identically distributed (i.i.d.) assumption, and artificially inflates detection accuracy.
- Lack of standardized relational benchmarks: Most evaluations focus on single-table slices or only evaluate simple one-to-one/linear hierarchies.
Methods
The authors introduce Discriminative Detection (DD) and its relational extension, Discriminative Detection with Aggregation (DDA):
- Discriminative Detection (DD): Frames fidelity as a binary classification problem (classifier two-sample test) to distinguish between real ($y=1$) and synthetic ($y=0$) data using tree-based ensembles (specifically XGBoost) rather than simple linear models. If a classifier achieves statistically significant accuracy above random baseline ($p < 0.05$ via a Binomial test), the synthetic data fails the fidelity test.
- DDA (Multi-Table Evaluation via Propositionalization): Instead of joining/denormalizing tables, DDA leaves parent tables intact and augments them with aggregated relational features computed from child tables (e.g., row counts, child column means, and unique categorical value counts). This respects the i.i.d. nature of the parent observations while directly testing whether the synthesizer captured cross-table relationships.
- Model Explainability / Diagnostics: Uses tree-based feature importance and partial dependence plots on the discriminator to diagnose why a synthesizer failed (e.g., identifying over-concentrated child distributions or skewed foreign-key cardinalities).
- Copy Detection: Because DD tracks raw accuracy rather than truncated metrics like $2 \cdot \max(\text{AUC}, 0.5) - 1$, severe data duplication drops test accuracy well below 50% (due to label reversal across splits), allowing it to detect data leakage and memorization.
Datasets
The benchmark evaluates 6 diverse relational schemas categorized by relational complexity:
- Linear (one parent, one child): Rossmann Store Sales (59k rows, 16 columns) and AirBnB (57k rows, 20 columns).
- Multi-Child (one parent, multiple children): Walmart Recruiting (15k rows, 17 columns) and Cora citation graph (57k rows, 2 columns).
- Multi-Child & Parent (complex web of foreign keys): Biodegradability (22k rows, 6 columns) and IMDB MovieLens (1.25M rows, 14 columns).
Key Insights and Ideas
- Single-Table Fidelity Does Not Imply Relational Fidelity: Methods often pass marginal or single-table tests on parent tables, yet completely fail DDA tests. The aggregated child features consistently end up as the top discriminative features distinguishing real from synthetic databases.
- Error Propagation Down Hierarchies: Generative models generate parents first and condition child generation on parent rows. Consequently, single-table fidelity consistently degrades as you move deeper down the relational hierarchy.
- Fidelity and Utility Can Diverge: Even when models completely fail fidelity tests (a classifier easily distinguishes the synthetic rows), synthetic data can still retain downstream machine learning utility (such as feature selection or model ranking), though with notable limitations in regression settings.
Key Results
The authors benchmarked open-source methods (SDV, RC-TGAN, REaLTabFormer, ClavaDDPM) alongside commercial platforms (MostlyAI, Gretel TabularLSTM, Gretel ACTGAN):
- Multi-Table Fidelity Failure: Across all six datasets, every single method failed DDA multi-table detection tests in virtually 100% of replication runs. Even commercial tools and diffusion-based models (ClavaDDPM) could not produce indistinguishable multi-table dependencies.
- Marginal Distributions: SDV performed poorly across nearly all continuous and categorical marginal distributions. Deep learning approaches (such as ClavaDDPM and Gretel-LSTM) fared better on individual columns but still struggled on full table joint distributions.
- Downstream ML Utility:
- Classification (AirBnB): Several methods (RC-TGAN, MostlyAI, Gretel ACTGAN) preserved predictive performance well, achieving an XGBoost score of $\sim 0.70$ (real data: $0.72$, baseline: $0.50$). Model ranking correlation reached up to $0.98$ (MostlyAI).
- Regression (Rossmann & Walmart): Predictive utility collapsed across most synthesizers. On Rossmann, real-data RMSE was $81$, but synthetic data produced models with errors ranging from $269$ to $3406$. On Walmart, real error was $6,117$; models trained on synthetic data ranged from $8,194$ to $19,071$ (with SDV an outlier at $4,954$).
- Unweighted vs. Weighted Rank Correlation: Standard Spearman rank correlations between real and synthetic feature/model selections were often near zero or negative. Using weighted rank correlation improved results, showing that models capture top-performing features better than noise in lower-ranked features.
Limitations and Future Work
- Privacy Evaluation: The authors analyze data copying diagnostics but do not benchmark formal differential privacy or broader inference attacks.
- Non-linear / Graph Relational Architectures: Current relational generators either restrict schema topologies (e.g., REaLTabFormer only supports single parent-child pairs) or cannot handle multi-edge relationships (ClavaDDPM).
- Representative Sampling in Relational DBs: Splitting relational databases without leaking cross-table information remains non-trivial when no time component exists. Future work must leverage advances in graph representation learning to simultaneously model complex schemas and provide unified multi-table utility evaluations.
Summary updated