[Paper Review] Can predictive models be used for causal inference?
This paper demonstrates that predictive machine learning (ML) and deep learning (DL) models can be effectively repurposed for causal inference when feature selection follows Pearl's backdoor criterion. By constraining model learning to causal features, deep neural networks achieve near-unbiased causal effect estimates even under feature collinearity, with generalization performance significantly improved—challenging the long-held belief in a fundamental trade-off between prediction and explanation.
Supervised machine learning (ML) and deep learning (DL) algorithms excel at predictive tasks, but it is commonly assumed that they often do so by exploiting non-causal correlations, which may limit both interpretability and generalizability. Here, we show that this trade-off between explanation and prediction is not as deep and fundamental as expected. Whereas ML and DL algorithms will indeed tend to use non-causal features for prediction when fed indiscriminately with all data, it is possible to constrain the learning process of any ML and DL algorithm by selecting features according to Pearl's backdoor adjustment criterion. In such a situation, some algorithms, in particular deep neural networks, can provide near unbiased effect estimates under feature collinearity. Remaining biases are explained by the specific algorithmic structures as well as hyperparameter choice. Consequently, optimal hyperparameter settings are different when tuned for prediction or inference, confirming the general expectation of a trade-off between prediction and explanation. However, the effect of this trade-off is small compared to the effect of a causally constrained feature selection. Thus, once the causal relationship between the features is accounted for, the difference between prediction and explanation may be much smaller than commonly assumed. We also show that such causally constrained models generalize better to new data with altered collinearity structures, suggesting generalization failure may often be due to a lack of causal learning. Our results not only provide a perspective for using ML for inference of (causal) effects but also help to improve the generalizability of fitted ML and DL models to new data.
Motivation & Objective
- To investigate whether predictive ML and DL models can be used for causal inference despite common assumptions about non-causal correlations.
- To assess the impact of causally informed feature selection on model bias and generalizability in causal effect estimation.
- To compare hyperparameter tuning for prediction versus inference, identifying differences in optimal settings.
- To evaluate model performance under altered collinearity structures, testing generalization beyond training data.
- To challenge the perceived fundamental trade-off between predictive accuracy and causal interpretability in ML.
Proposed method
- Applying Pearl's backdoor criterion to select features that block backdoor confounding paths, ensuring causal identification.
- Training standard ML and deep learning models (e.g., feedforward neural networks) on causally selected features to estimate causal effects.
- Using counterfactual prediction and effect estimation to evaluate bias and precision of learned models.
- Comparing model performance under varying levels of feature collinearity to assess robustness and generalization.
- Tuning hyperparameters separately for prediction and inference objectives to isolate the impact of optimization goals.
- Conducting simulation studies to evaluate bias, variance, and generalization across diverse data-generating processes.
Experimental results
Research questions
- RQ1Can predictive ML models yield unbiased causal effect estimates when trained on causally selected features?
- RQ2How does feature selection based on the backdoor criterion affect model bias and generalization in causal inference?
- RQ3Is there a significant trade-off between predictive performance and causal interpretability when models are trained on causal features?
- RQ4How do hyperparameter choices differ when optimizing for prediction versus causal inference?
- RQ5To what extent does causal feature selection improve model generalization under altered data distributions?
Key findings
- Causally constrained feature selection enables deep neural networks to produce near-unbiased causal effect estimates, even under high feature collinearity.
- The bias in model estimates is primarily driven by algorithmic structure and hyperparameter choices, not by the presence of non-causal features when selection is properly applied.
- Models trained with causal feature selection generalize significantly better to new data with altered collinearity structures, suggesting generalization failure is often due to lack of causal learning.
- Hyperparameter tuning for inference requires different settings than for prediction, confirming a trade-off—but this trade-off is minor compared to the impact of causal feature selection.
- The gap between predictive performance and causal interpretability is smaller than commonly assumed when causal structure is properly accounted for in feature selection.
- Causal feature selection reduces reliance on spurious correlations, enhancing both interpretability and robustness of ML models in causal settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.