Introduction
Validating causal inference methods requires realistic datasets with known ground-truth causal effects—a notoriously difficult resource to generate. Real-world observational data lacks a "ground truth" causal effect (the fundamental problem of causal inference), while synthetic datasets with known causal effects are often too simplistic, failing to capture the messy, complex dependencies of real-world data.
Recent machine learning approaches have attempted to generate realistic synthetic data while enforcing a specific causal effect using "soft constraints" (penalties during model training). Unfortunately, this means the generated data isn't mathematically guaranteed to have the exact causal effect requested, requiring tedious post-hoc checking. To bridge this gap, researchers have introduced Frugal Flows, a novel generative model combining normalising flows with copulas to learn complex real-world data distributions while exactly parameterising marginal causal effects.
Methods: Frugal Flows
Frugal Flows (FFs) merge normalising flows (NFs) with a statistical concept called the "frugal parameterisation." Instead of modeling the joint distribution of the data all at once, the frugal parameterisation splits it into three independent parts:
- The causal margin: The actual causal effect of the treatment on the outcome.
- The "past": The distribution of the pretreatment covariates and the propensity score (probability of receiving treatment).
- The dependency measure: Modeled using a copula, which captures how all variables correlate without altering the individual marginal distributions.
To make this highly flexible, the authors use Neural Spline Flows (NSFs) to model these components. By carefully ordering the variables in the flow, FFs force the causal margin to be uniform in the copula space. This ensures that the model targets the marginal causal effect rather than a conditional one. For discrete variables, they use an empirical CDF dequantisation trick to map them into continuous ranks that the copula can process.
Key Insights
- Exact Parameterisation: Because FFs build the entire generative model around the causal margin, the Average Treatment Effect (ATE) isn't just a suggestion—it is exactly satisfied by the likelihood.
- "Dial-a-Confounder": FFs allow users to explicitly inject and control the degree of unobserved confounding in their synthetic data. By tweaking a single correlation parameter ($\rho$) between the ranks of the outcome and the treatment in the copula space, researchers can test how robust their algorithms are to hidden confounders.
- Solving the Discrete Outcome Problem: Simulating discrete outcomes (like logistic or probit models) with specific marginal effects is mathematically tricky because logistic regression isn't "collapsible." FFs bypass this issue entirely, making them the first generative benchmark model to easily simulate binary outcomes with user-specified odds ratios or risk differences.
Datasets and Results
The authors evaluated Frugal Flows on simulated datasets (custom datasets with 4 to 10 covariates) and real-world benchmarks (the Lalonde temporary employment dataset and a 401(k) eligibility dataset).
Accurate Inference on Simulated Data: On simulated datasets (N=25,000), FFs successfully recovered the true ATE. As shown below, they outperformed standard Outcome Regression (OR), Propensity Score Matching, and state-of-the-art Causal Normalising Flows (CNF).
Highly Realistic Benchmarks: When trained on the Lalonde and 401(k) datasets, FFs generated synthetic data that closely preserved the complex correlation matrices of the original real-world data.
Successful Validation Tool: The authors generated synthetic 401(k) and Lalonde data with an injected ATE of 1000. When testing 10 different causal inference models (like Causal Forests, TMLE, and Double Machine Learning) on this data, the models correctly identified the ATE under standard confounding. However, when hidden confounding was injected ($\rho = 0.5$), the inference models predictably failed and showed bias, proving FFs work perfectly as a testbed for causal algorithms.
Limitations and Future Work
While powerful for simulation, FFs are data hungry and require large datasets to accurately infer causal margins; they are not recommended for statistical inference on small real-world datasets. They are also compute-intensive, requiring extensive hyperparameter tuning typical of normalising flow architectures. Finally, the dequantisation mechanism for discrete variables implicitly shuffles their order, which can cause the model to lose inherent structure in categorical datasets without an implicit ordering. Future work will explore alternative machine learning copula methods that might be more sample-efficient for smaller datasets.
Summary updated