Abstract
Causal effect estimation is important for many tasks in the natural and social sciences. We design algorithms for the continuous partial identification problem: bounding the effects of multivariate, continuous treatments in the presence of unmeasured confounding. We introduce Stochastic Causal Programming (SCP), a stable optimization framework that uses flexible machine learning and Monte Carlo methods to calculate these bounds for complex causal structures.
Introduction
In causal inference, "unmeasured confounding" occurs when variables influencing both treatment ($X$) and outcome ($Y$) are not recorded. In such cases, the causal effect is no longer "identifiable"—multiple causal stories can explain the same observed data. Instead of making rigid assumptions to force a single answer, researchers often turn to partial identification, which seeks to find the range of possible effects.
Existing methods for partial identification often struggle with continuous data or rely on linear assumptions. Recent adversarial approaches (like GANs) offer flexibility but are notoriously unstable. This paper introduces Stochastic Causal Programming (SCP), a principled and stable framework for bounding causal effects in multivariate, continuous settings without requiring full specification of hidden noise distributions.
Methodology
SCP casts causal inference as a constrained optimization problem. The goal is to minimize and maximize a causal estimand (e.g., $E[Y | do(X=x)]$) to establish lower and upper bounds.
Response Function Framework
Rather than modeling hidden variables ($U$) directly, SCP models a distribution over "response functions." By using neural networks as basis functions, the model becomes highly expressive, capable of capturing complex non-linear relationships.
Clustered SCP and Moment Matching
A key innovation is "Clustered SCP." For common causal structures—such as Instrumental Variable (IV) models or mediator models—variables are clustered into pre-treatment and post-treatment sets.
In these clustered settings, the authors demonstrate that matching the entire probability distribution of the data is unnecessary. Instead, matching the first and second moments (mean and variance) provides sufficient constraints. This leads to closed-form constraints, making the optimization via the Augmented Lagrangian method significantly more stable than adversarial training.
Experimental Setup
The authors evaluated SCP across several challenging scenarios:
- Synthetic Models: Various IV and "Leaky Mediator" (LM) structures featuring linear and quadratic effects, and multi-dimensional treatments.
- Semi-synthetic Yeast Data: A high-dimensional challenge based on a real-world Mendelian randomization study, involving a 5-dimensional genetic instrument and a 15-dimensional treatment (gene expressions) with a small sample size.
Key Results and Insights
- Stability and Validity: SCP consistently produced smooth bound curves, avoiding the "sharp jumps" seen in GAN-based baselines. In all tests, the ground truth causal effect remained within the calculated bounds, even in data-sparse regions.
- High-Dimensional Performance: The framework successfully handled the 15-dimensional yeast dataset, where traditional methods often fail due to the curse of dimensionality.
- Optimization as Inference: By treating non-identifiability as a search space, SCP provides an honest assessment of causal uncertainty.
- Structural Encoding: By encoding the "coarse" structure (temporal ordering of variables), SCP avoids untestable assumptions about the exact shape of hidden noise.
Conclusion and Future Work
SCP offers a flexible and stable approach to bounding treatment effects. However, challenges remain. The non-convex nature of the optimization problem can lead to local optima, and calculating bounds for high-resolution dose-response curves is computationally intensive. Future work includes incorporating statistical uncertainty (confidence intervals) and extending the clustered approach to longitudinal or time-series data.
Summary updated