Skip to main content
QUICK REVIEW

[Paper Review] Trying to Outrun Causality with Machine Learning: Limitations of Model Explainability Techniques for Identifying Predictive Variables

Matthew J. Vowels|arXiv (Cornell University)|Feb 20, 2022
Explainable Artificial Intelligence (XAI)Computer Science7 citations
TL;DR

This paper demonstrates that machine learning explainability techniques—such as variable importance in random forests and Shapley values in neural networks—can misidentify critical predictive variables due to underlying causal structures in the data, even when those variables are strongly correlated with the outcome. The key contribution is a warning against using these methods for scientific discovery, with recommendations to instead use mutual information and causal discovery techniques for reliable variable identification.

ABSTRACT

Machine Learning explainability techniques have been proposed as a means of `explaining' or interrogating a model in order to understand why a particular decision or prediction has been made. Such an ability is especially important at a time when machine learning is being used to automate decision processes which concern sensitive factors and legal outcomes. Indeed, it is even a requirement according to EU law. Furthermore, researchers concerned with imposing overly restrictive functional form (e.g., as would be the case in a linear regression) may be motivated to use machine learning algorithms in conjunction with explainability techniques, as part of exploratory research, with the goal of identifying important variables which are associated with an outcome of interest. For example, epidemiologists might be interested in identifying `risk factors' - i.e. factors which affect recovery from disease - by using random forests and assessing variable relevance using importance measures. However, and as we demonstrate, machine learning algorithms are not as flexible as they might seem, and are instead incredibly sensitive to the underling causal structure in the data. The consequences of this are that predictors which are, in fact, critical to a causal system and highly correlated with the outcome, may nonetheless be deemed by explainability techniques to be unrelated/unimportant/unpredictive of the outcome. Rather than this being a limitation of explainability techniques per se, we show that it is rather a consequence of the mathematical implications of regression, and the interaction of these implications with the associated conditional independencies of the underlying causal structure. We provide some alternative recommendations for researchers wanting to explore the data for important variables.

Motivation & Objective

  • To investigate the limitations of model explainability techniques in identifying truly predictive variables in machine learning models.
  • To demonstrate that machine learning models, despite their flexibility, are sensitive to the underlying causal structure of data, leading to misleading importance rankings.
  • To challenge the common assumption that explainability methods can reliably uncover statistical or predictive associations in data for scientific exploration.
  • To provide practical alternatives for researchers seeking to identify important variables during exploratory data analysis.
  • To caution against using black-box ML models as proxies for causal or predictive inference without accounting for structural dependencies.

Proposed method

  • The study uses synthetic data generated from known causal graphs to simulate various conditional independence structures.
  • It evaluates variable importance using random forest importance scores and Shapley values from neural networks across different causal configurations.
  • The authors compare model-based importance measures against ground-truth statistical dependencies derived from the true data-generating process.
  • They apply mutual information as a non-parametric measure of statistical dependence to identify relevant variables without assuming functional form.
  • Causal discovery techniques based on conditional independence and likelihood scores are recommended to infer causal structure and guide variable selection.
  • Experiments systematically vary the causal graph structure to assess how structural dependencies affect model explainability outcomes.

Experimental results

Research questions

  • RQ1Can model explainability techniques like random forest importance or Shapley values reliably identify variables that are statistically correlated with the outcome, even when they are causally relevant?
  • RQ2How does the underlying causal structure of the data influence the performance of explainability methods in identifying important predictors?
  • RQ3To what extent do linear models, random forests, and neural networks differ in their sensitivity to structural dependencies in the data?
  • RQ4Are there alternative methods that can more reliably identify predictive variables without being misled by conditional independencies?
  • RQ5Can causal discovery techniques improve the identification of relevant variables in exploratory research settings?

Key findings

  • Random forest importance measures frequently misclassify variables that are highly correlated with the outcome as unimportant due to complex conditional independence structures in the data.
  • Neural networks with Shapley value explanations also suffer from structural sensitivity, though their behavior is more predictable than random forests under known causal graphs.
  • Linear regression coefficients are consistent with the true causal structure but remain limited in capturing non-linear dependencies, highlighting a trade-off between interpretability and flexibility.
  • The study finds that explainability techniques are not reliable for scientific discovery because they are not invariant to the underlying causal structure of the data.
  • Mutual information provides a robust, non-parametric alternative for detecting statistical dependence without assuming functional form or parametric distributional assumptions.
  • Causal discovery methods that incorporate conditional independence and likelihood-based structure learning offer a more reliable pathway for identifying relevant variables in early-stage research.

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.