Linking a predictive model to causal effect estimation

Jiuyong Li, Lin Liu, Ziqi Xu, Ha Xuan Tran, Thuc Duy Le, Jixue LiuarXiv 2023 · DOI

Introduction

Standard machine learning models are primarily designed to answer observational questions: "What is the probability of an outcome $Y$ given features $X$?" While effective for prediction, these models often fail to support decision-making, which requires understanding how $Y$ changes if we intervene on $X$. This paper introduces a theoretical framework to bridge this gap, transforming "black-box" predictive models into robust causal inference tools.

The MODE Framework

The authors propose MODE (Building a Model for Outcome prediction and CDE Estimation), an algorithm that enables causal interpretation of standard machine learning models. The framework operates under two critical assumptions: the feature set $X$ must include all direct causes (parents) of $Y$, and it must not include any descendants (variables affected by $Y$).

The MODE algorithm follows a three-step process:

  1. Causal Discovery: Instead of requiring a full causal graph, the algorithm uses local discovery methods (e.g., Hiton PC or PC-Select) to identify the "parents" of the outcome $Y$.
  2. Model Building: A predictive model—which can be a complex "black box" like a Random Forest or Neural Network—is trained using only these identified parent features.
  3. Effect Estimation: The model estimates the Controlled Direct Effect (CDE) by perturbing a feature's value while holding other parents constant.
Causal discovery: Transitioning from a CPDAG to specific DAG configurations to identify parent sets.

By conditioning on the parents of $Y$, the interventional probability (the "do-operator") becomes mathematically equivalent to the observational conditional probability, rendering the predictive model causally interpretable.

Causal Robustness and Interpretability

A significant advantage of this approach is its robustness across different data environments. Traditional models often include "descendants" of the outcome, which may provide high predictive accuracy in a specific training set but lead to failure when the environment shifts.

Causal structures and the Wine Quality example, highlighting the distinction between parents and descendants.

As shown in Figure 4(b), "Price" might be a strong predictor of "Wine Quality" in one market. However, because Price is a descendant of Quality, this relationship is unstable if market conditions change. Models restricted to "parents" (direct causes) maintain stability. For instance, in lung cancer gene expression studies across different labs, MODE-based models maintained consistent error rates, whereas models using all features saw significant performance degradation when tested on new datasets.

Experimental Evaluation

The researchers validated MODE using synthetic datasets, genomic data, and the German Credit dataset.

  • Accuracy: MODE achieved causal effect estimation biases comparable to specialized methods like Causal Forests and Double Machine Learning across various sample sizes.
  • Robustness: In multi-lab genomic studies, the parent-only models proved far more stable than full-feature models when transferred to new environments.
  • Actionable Insights: On the German Credit dataset, the model successfully identified the most effective features an individual could change (e.g., savings or housing status) to improve their credit rating.

Conclusion

The MODE framework demonstrates that causal interpretability does not require simple model architectures. By correctly identifying the direct causes of an outcome, even complex predictive models can serve as reliable tools for causal estimation and decision-making. Future work will focus on relaxing assumptions regarding unobserved confounding and the presence of descendants in raw datasets.

Summary updated

BibTeX
@misc{li2023linking,
  author = {Jiuyong Li and Lin Liu and Ziqi Xu and Ha Xuan Tran and Thuc Duy Le and Jixue Liu},
  title = {{Linking a predictive model to causal effect estimation}},
  year = {2023},
  eprint = {2304.04566},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.04566},
}
Figure