Learning to Bound Counterfactual Inference from Observational, Biased and Randomised Data

Marco Zaffalon, Alessandro Antonucci, David Huber, Rafael CabañasarXiv 2022

TL;DR

This paper introduces an Expectation-Maximisation (EM) based algorithm, called EMCC, that integrates heterogeneous data—ranging from randomized trials to biased observational studies—to compute informative bounds on counterfactual queries. By cleverly remapping complex data fusion problems into a single observational framework with selection bias, the authors provide a practical tool for causal inference in partially identifiable scenarios.

What Problem Does This Paper Address?

In causal inference, a "counterfactual" asks what would have happened if a different action had been taken (e.g., "Would the patient have survived if they hadn't taken the drug?"). Often, these queries are partially identifiable, meaning the available data isn't enough to give a single answer, only a range of possible probabilities.

The challenge is twofold:

  1. Data Heterogeneity: Real-world evidence is often a messy mix of high-quality Randomized Controlled Trials (RCTs) and observational studies.
  2. Selection Bias: Observational data is frequently biased because certain groups are systematically excluded from the sample (e.g., a study on a deadly disease might only include patients healthy enough to visit a clinic).

Existing methods often focus on "identifiable" cases where a single value can be calculated. This paper tackles the more common and difficult "unidentifiable" case, seeking to provide the tightest possible bounds by fusing all available, even biased, data.

Methods

The authors build upon their previous work on the Causal Expectation-Maximisation (EMCC) algorithm. The core idea is to find the set of all Structural Causal Models (SCMs) that are compatible with the observed data.

Key technical contributions include:

  • Global Optimality: The authors prove that the log-likelihood function for their model has no local maxima. This is a significant result because it guarantees that the EM algorithm will converge to a global maximum, ensuring the resulting bounds are consistent with the data.
  • Graphical Transformations for Data Fusion: They show how to handle multiple datasets (interventional, observational, biased, or unbiased) by transforming the problem into a single "auxiliary" model. They introduce an index variable $W$ to track which study a record came from and a selector variable $S$ to model selection bias.
  • Twin Networks: Once a set of compatible, fully specified SCMs is found, counterfactuals are computed using standard "twin network" structures, and the results are aggregated to form an interval (bound).
Figure 1: The graph of a structural causal model over three endogenous variables (black nodes) with two exogenous variables (grey nodes). The model is used to describe the data in Table 1 with V1 corresponding to Treatment, V2 to Gender and V3 to Survival. The exogenous variable U1 acts as a confounder for V1 and V3, this being sufficient to have results consistent with those of Mueller and Pearl (2022), which are obtained by conditioning on V2.
Figure 1: A basic SCM where $U_1$ acts as a hidden confounder between treatment ($V_1$) and survival ($V_3$).

Datasets

The approach was validated using two primary sources:

  1. Synthetic Benchmark: The authors used the Erdös-Rényi scheme to generate 220 different causal models with 5 to 17 variables. They sampled three types of data from these "ground truth" models: observational, interventional on the input, and interventional on a covariate with added selection bias.
  2. Palliative Care Case Study: A real-world application based on a study of terminally ill cancer patients' preferences for their place of death (home vs. hospital). The model included variables like patient/family awareness, home assistance (Triangolo), and clinical indicators (Karnofsky index). Due to ethical constraints, a synthetic dataset of 1,000 observations was sampled from the original study's parameters.

Key Insights and Ideas

  • Fusing Data Narrows Uncertainty: The most striking insight is how much "lower quality" data can help. Even adding a biased observational study to a small RCT can significantly shrink the bounds of a counterfactual query, making the results much more informative.
  • Selection Bias as a Noise Term: The authors demonstrate that selection bias acts like a noise term that pushes exogenous probabilities toward zero for certain states. By explicitly modeling the selection mechanism $S$, they can still extract useful information from the records that were selected.
  • Remapping Complexity: The ability to map a complex multi-study fusion problem into a single model with an auxiliary "study index" variable ($W$) is an elegant way to reuse existing EM machinery for much broader applications.
PNS bounds for different selection levels.
Figure 3: As the probability of selection $p(S=1)$ decreases (more bias), the bounds on the Probability of Necessity and Sufficiency (PNS) widen, eventually becoming vacuous at the limit.

Key Results

  • Significant Shrinkage: In synthetic tests, integrating a second dataset typically induced a relative shrink of over 60% in the counterfactual interval compared to using a single biased dataset.
  • High Accuracy: The EMCC inner approximation proved highly reliable, with a median confidence of 0.999 that the relative error at the interval extremes was less than 0.1.
  • Palliative Care Findings: Even under "strong" selection bias (where patients in bad condition were excluded), the model consistently identified home assistance as the dominant factor in enabling patients to die at home, with a PNS interval of [0.22, 0.43], clearly outperforming other interventions like increasing patient awareness.

Limitations and Future Work

  • Inner Approximations: The EMCC provides an inner bound. While it gets closer to the true theoretical bound with more random initializations ($r$), it might still slightly underestimate the full range of uncertainty.
  • Computational Scalability: For very large models, the cardinality of latent exogenous variables can grow exponentially (e.g., $2^{16}$ in the case study). While the algorithm still ran, extremely complex graphs might require more efficient "circuital" approaches to remain tractable.
  • Future Comparisons: The authors suggest comparing their EM-based approach with recent Markov Chain Monte Carlo (MCMC) techniques to see which is more accurate or efficient for checking "M-compatibility" (whether different studies actually fit the same underlying causal model).

Summary updated

Abstract

We address the problem of integrating data from multiple, possibly biased, observational and interventional studies, to eventually compute counterfactuals in structural causal models. We start from the case of a single observational dataset affected by a selection bias. We show that the likelihood of the available data has no local maxima. This enables us to use the causal expectation-maximisation scheme to compute approximate bounds for partially identifiable counterfactual queries, which are the focus of this paper. We then show how the same approach can solve the general case of multiple datasets, no matter whether interventional or observational, biased or unbiased, by remapping it into the former one via graphical transformations. Systematic numerical experiments and a case study on palliative care show the effectiveness and accuracy of our approach, while hinting at the benefits of integrating heterogeneous data to get informative bounds in case of partial identifiability.
BibTeX
@misc{zaffalon2022learning,
  author = {Marco Zaffalon and Alessandro Antonucci and David Huber and Rafael Cabañas},
  title = {{Learning to Bound Counterfactual Inference from Observational, Biased and Randomised Data}},
  year = {2022},
  eprint = {2212.02932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.02932},
}

Loading related content...

Figure