TabSCM: A practical Framework for Generating Realistic Tabular Data

Sven Jacob, Bardh Prenkaj, Weijia Shao, Gjergji KasneciarXiv 2026

TL;DR

TabSCM is a novel tabular data generator that combines Structural Causal Models (SCMs) with conditional diffusion models and gradient-boosted trees. By generating data step-by-step along a discovered causal graph, it preserves true cause-and-effect relationships, eliminates unrealistic data anomalies, and trains up to 583× faster than full-dataset diffusion models.

What Problem Does This Paper Address?

Generative AI has made massive strides in creating synthetic tabular data using GANs, diffusion models, and Large Language Models (LLMs). However, almost all existing methods share a critical blind spot: they focus entirely on matching statistical correlations and marginal distributions while completely ignoring causal structure.

When a generative model doesn't understand why variables relate to one another, it introduces two major flaws:

  1. Spurious Patterns: Downstream models trained on this data can inherit unfair or nonsensical biases.
  2. Semantic Violations: The models frequently generate impossible data points—such as an individual whose years of work experience exceed their biological age.

Furthermore, standard statistical generators cannot handle true counterfactual queries (e.g., "What would happen to this person's credit score if we artificially increased their income?"), which are vital for fair decision-making and policy simulation in highly regulated domains like healthcare and finance.

Methods

The authors introduce TabSCM, a framework that factorizes the joint probability distribution of a dataset into a series of localized, topologically ordered conditional equations.

The pipeline operates in four main stages:

  1. Causal Discovery: TabSCM takes the real dataset and applies a causal discovery algorithm (such as PC, GES, or NOTEARS) to output a Completed Partially Directed Acyclic Graph (CPDAG).
  2. Graph Refinement: Any unoriented edges are resolved to establish a valid Directed Acyclic Graph (DAG), defining a strict topological ordering of the variables.
  3. Root Node Modeling: For variables with no parents (root nodes), the model directly estimates marginal distributions using Kernel Density Estimation (KDE) for continuous data and relative frequencies for categorical data.
  4. Conditional Node Modeling: For child nodes (variables with parents), TabSCM trains specialized local models conditioned strictly on their causal parents:
  5. Continuous variables are modeled using a conditional Denoising Diffusion Probabilistic Model (DDPM).
  6. Categorical variables are modeled using a gradient-boosted tree classifier.

Data generation is then executed via ancestral sampling down the topological order. Because the framework explicitly defines these structural assignments, it natively supports the $do$-operator for exact counterfactual interventions.

Datasets

The framework was evaluated across seven diverse public benchmarks spanning classification and regression tasks:

  • Adult Census Income: Demographic data used to predict income brackets.
  • Early Stage Diabetes Risk Prediction: Clinical questionnaire data.
  • HELOC (Home Equity Line of Credit): Anonymized credit report features.
  • Loan Dataset: A large-scale dataset (>250k rows) tracking consumer loan defaults in India.
  • Magic Gamma Telescope: Physics simulation data for classifying gamma-ray signals.
  • Beijing PM2.5: Meteorological and pollution regression data.
  • California Housing: Spatial and demographic data predicting median house values.

Key Insights and Ideas

  • Divide and Conquer for Speed: Instead of forcing a massive neural network to learn a complex joint distribution across dozens of mixed-type columns, TabSCM breaks the problem into small, isolated conditional tasks. This modularity is why it achieves massive training speedups.
  • Validity by Construction: By generating parent variables before child variables, logical constraints are naturally preserved. If Age is generated first, the conditional model for Experience is explicitly aware of that age, drastically reducing rule violations without needing hardcoded post-processing fixes.
  • Bridging Causal AI and Diffusion: Pure causal models often struggle with complex, non-linear continuous distributions. Pure diffusion models struggle with causal structure. By using conditional diffusion inside an SCM framework, TabSCM captures the best of both worlds.

Key Results

  • Massive Speedups: TabSCM trained up to 583× faster than full-dataset diffusion baselines (like TabDiff) and significantly outperformed other causal-aware GAN frameworks.
  • State-of-the-Art Fidelity: Across the seven datasets, TabSCM matched or exceeded the statistical fidelity (density and correlation matching) of top-performing diffusion models (TabSyn, TabDiff) and LLM baselines (GReaT).
  • Drastic Reduction in Rule Violations: In sanity checks evaluating logical constraints (e.g., ensuring marital status matches gender roles or age matches experience), TabSCM achieved a 0.00% violation rate on tasks where standard deep learning models failed up to 99% of the time.
  • Imbalanced Learning: When used as an upsampling tool for minority classes, TabSCM enhanced minority fairness and trustworthiness, outperforming traditional heuristic methods like SMOTE and ADASYN.

Limitations and Future Work

The primary limitation of TabSCM is its dependency on the initial causal discovery phase. If the discovery algorithm produces an incorrect or incomplete graph, those structural errors will propagate through the conditional models, impacting correlation errors.

Additionally, the framework assumes causal sufficiency—meaning it operates under the assumption that there are no unobserved confounders hiding in the data. The authors note that their counterfactual evaluation is a preliminary exploration and point to deeper, more robust policy simulation interfaces as a key track for future work.

Summary updated

BibTeX
@misc{jacob2026tabscm,
  author = {Sven Jacob and Bardh Prenkaj and Weijia Shao and Gjergji Kasneci},
  title = {{TabSCM: A practical Framework for Generating Realistic Tabular Data}},
  year = {2026},
  eprint = {2604.22337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.22337},
}

Loading related content...

Figure