Controllable Generative Sandbox for Causal Inference

Qi Zhang, Harsh Parikh, Ashley Naimi, Razieh Nabi, Christopher Kim +1 more
3/3/2026
stat.MEcs.LGstat.ML

No official code found. Best implementation: zhangqiecho/causalmix (4 stars, Apache-2.0, last commit 2026-03-05).

Abstract

Method validation and study design in causal inference rely on synthetic data with known counterfactuals. Existing simulators trade off distributional realism, the ability to capture mixed-type and multimodal tabular data, against causal controllability, including explicit control over overlap, unmeasured confounding, and treatment effect heterogeneity. We introduce CausalMix, a variational generative framework that closes this gap by coupling a mixture of Gaussian latent priors with data-type-specific decoders for continuous, binary, and categorical variables. The model incorporates explicit causal controls: an overlap regularizer shaping propensity-score distributions, alongside direct parameterizations of confounding strength and effect heterogeneity. This unified objective preserves fidelity to the observed data while enabling factorial manipulation of causal mechanisms, allowing overlap, confounding strength, and treatment effect heterogeneity to be varied independently at design time. Across benchmarks, CausalMix achieves state-of-the-art distributional metrics on mixed-type tables while providing stable, fine-grained causal control. We demonstrate practical utility in a comparative safety study of metastatic castration-resistant prostate cancer treatments, using CausalMix to compare estimators under calibrated data-generating processes, tune hyperparameters, and conduct simulation-based power analyses under targeted treatment effect heterogeneity scenarios.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Controllable generative sandbox for causal inference

41TeX, PythonMar 3, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026controllable,
  title  = {Controllable Generative Sandbox for Causal Inference},
  author = {Qi Zhang and Harsh Parikh and Ashley Naimi and Razieh Nabi and Christopher Kim and Timothy Lash},
  year   = {2026},
  eprint = {2603.03587},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.03587v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.03587.svg)](https://codeofpaper.com/paper/2603.03587)

Discussion