Skip to main content
QUICK REVIEW

[Paper Review] Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex Models

Tom Heskes, Evi Sijben|arXiv (Cornell University)|Nov 3, 2020
Explainable Artificial Intelligence (XAI)Computer Science61 citations
TL;DR

The paper introduces causal Shapley values that incorporate causal relationships among features via Pearl’s do-calculus to explain individual model predictions, and shows how to decompose contributions into direct and indirect effects with a practical chain-graph based implementation.

ABSTRACT

Shapley values underlie one of the most popular model-agnostic methods within explainable artificial intelligence. These values are designed to attribute the difference between a model's prediction and an average baseline to the different features used as input to the model. Being based on solid game-theoretic principles, Shapley values uniquely satisfy several desirable properties, which is why they are increasingly used to explain the predictions of possibly complex and highly non-linear machine learning models. Shapley values are well calibrated to a user's intuition when features are independent, but may lead to undesirable, counterintuitive explanations when the independence assumption is violated. In this paper, we propose a novel framework for computing Shapley values that generalizes recent work that aims to circumvent the independence assumption. By employing Pearl's do-calculus, we show how these 'causal' Shapley values can be derived for general causal graphs without sacrificing any of their desirable properties. Moreover, causal Shapley values enable us to separate the contribution of direct and indirect effects. We provide a practical implementation for computing causal Shapley values based on causal chain graphs when only partial information is available and illustrate their utility on a real-world example.

Motivation & Objective

  • Motivate the need for explanations that respect causal relationships among input features in complex models.
  • Define and derive causal Shapley values that explain total effects of features on predictions.
  • Decompose feature contributions into direct and indirect effects under various causal structures.
  • Propose a practical, partial-knowledge implementation using causal chain graphs.
  • Illustrate the approach with real-world data and compare to marginal/conditional Shapley values.

Proposed method

  • Define the Shapley decomposition with an interventional value function that uses do-calculus to account for causal relations between inputs.
  • Derive causal Shapley values as an average over feature permutations, ensuring efficiency and other Shapley properties.
  • Decompose per-permutation contributions into direct and indirect effects via conditional interventional expectations.
  • Compare causal, conditional, and marginal Shapley values, and discuss symmetry vs. asymmetry under different causal structures.
  • Present a practical implementation framework using causal chain graphs to handle partial ordering and confounding.
  • Illustrate computation using a real-world bike rental dataset and an XGBoost model.

Experimental results

Research questions

  • RQ1How can Shapley values be generalized to incorporate causal relationships between input features when explaining individual predictions?
  • RQ2How can total feature effects be decomposed into direct and indirect components within a causal framework?
  • RQ3What is a practical procedure to compute causal Shapley values when only partial causal information is available?
  • RQ4How do causal Shapley values compare to marginal and conditional Shapley values under different causal structures (chain, fork, confounder, cycle)?

Key findings

  • Causal Shapley values incorporate causal knowledge via do-calculus and yield explanations that reflect both direct and indirect effects of features on predictions.
  • The total effect of a feature on a prediction can be decomposed into direct and indirect parts, clarifying attribution under various causal structures.
  • Causal Shapley values align with intuitive causal explanations better than marginal or purely conditional Shapley values, particularly in the presence of feature dependencies.
  • A practical implementation using causal chain graphs can handle partial ordering and distinguish confounding from mutual interactions, enabling computation of interventional expectations.
  • The approach is demonstrated on real data (bike rental) showing differences between marginal and causal attributions, notably crediting season for indirect effects.

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.