Skip to main content
QUICK REVIEW

[Paper Review] Towards causality-aware predictions in static machine learning tasks: the linear structural causal model case

Elias Chaibub Neto|arXiv (Cornell University)|Jan 12, 2020
Bayesian Modeling and Causal InferenceComputer Science61 references6 citations
TL;DR

This paper proposes a counterfactual training approach for causality-aware predictive models in static anticausal tasks, where outcomes influence features. By simulating features that retain only desired causal associations—using known confounders or mediators—it enables predictions free from confounding or focused on direct/indirect effects, even without a full causal graph, with analytical results in linear models.

ABSTRACT

We propose a counterfactual approach to train ``causality-aware predictive models that are able to leverage causal information in static anticausal machine learning tasks (i.e., prediction tasks where the outcome influences the features). In applications plagued by confounding, the approach can be used to generate predictions that are free from the influence of observed confounders. In applications involving observed mediators, the approach can be used to generate predictions that only capture the direct or the indirect causal influences. Mechanistically, we train supervised learners on (counterfactually) simulated features which retain only the associations generated by the causal relations of interest. We focus on linear models, where analytical results connecting covariances, causal effects, and prediction mean squared errors are readily available. Quite importantly, we show that our approach does not require knowledge of the full causal graph. It suffices to know which variables represent potential confounders and/or mediators. We discuss the stability of the method with respect to dataset shifts generated by selection biases and validate the approach using synthetic data experiments.

Motivation & Objective

  • To address the challenge of confounding and mediation in static anticausal machine learning tasks, where outcomes influence features.
  • To develop a method that enables predictive models to isolate specific causal effects—direct or indirect—without requiring the full causal graph.
  • To generate predictions that are robust to selection biases and dataset shifts by training on counterfactually simulated features.
  • To provide analytical connections between covariances, causal effects, and prediction error in linear structural causal models.
  • To demonstrate that only knowledge of confounder and mediator variables is necessary, not the entire causal structure.

Proposed method

  • Train supervised learners on counterfactually simulated features that preserve only the causal associations of interest.
  • Use linear structural causal models (SCMs) to analytically derive relationships between covariances, causal effects, and prediction mean squared error.
  • Simulate features by adjusting for observed confounders or conditioning on mediators to isolate direct or indirect effects.
  • Apply counterfactual interventions to features such that only the causal pathways of interest remain in the training data.
  • Ensure method stability under dataset shifts caused by selection biases by leveraging counterfactual feature generation.
  • Operate without requiring the full causal graph—only identifying confounders and mediators is necessary.

Experimental results

Research questions

  • RQ1Can counterfactual feature simulation produce predictive models that are free from the influence of observed confounders in anticausal tasks?
  • RQ2How can predictive models be trained to isolate direct or indirect causal effects when mediators are observed?
  • RQ3What is the impact of dataset shifts due to selection bias on the stability of causality-aware predictions?
  • RQ4How do covariances, causal effects, and prediction error relate in linear SCMs under the proposed method?
  • RQ5To what extent is the method robust when only partial knowledge of the causal structure (confounders/mediators) is available?

Key findings

  • The proposed method successfully generates predictions that are free from the influence of observed confounders in anticausal settings.
  • It enables isolation of direct or indirect causal effects by training on counterfactually simulated features that retain only the relevant causal pathways.
  • The method maintains stability under dataset shifts induced by selection biases, as validated through synthetic experiments.
  • Analytical relationships between covariances, causal effects, and prediction mean squared error are derived and validated in the linear SCM setting.
  • The approach does not require knowledge of the full causal graph—only identification of confounders and mediators is necessary for effective training.
  • Synthetic data experiments confirm the method’s ability to produce accurate, causally interpretable predictions in the presence of confounding and mediation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.