TL;DR
This paper introduces CONFOUNDINGSHAP, a novel method that uses Shapley values to quantify how much individual observed covariates contribute to confounding bias in causal inference. This is crucial for understanding the reliability of observational studies and improving causal effect estimation by identifying which variables truly matter for adjustment.
What Problem Does This Paper Address?
In observational studies, we often can't randomly assign treatments, meaning groups might differ systematically in ways that affect the outcome. These differences are called confounding. Identifying and adjusting for confounders is key to getting reliable estimates of treatment effects. However, it's often unclear which of the many observed variables are actually acting as confounders. Existing methods for explaining machine learning models (like SHAP) are great for understanding predictions or treatment effect heterogeneity, but they don't directly tell us which variables are causing bias in our causal estimates. This paper aims to fill that gap by providing a way to quantify the "confounding strength" of individual covariates.
Methods
The core of CONFOUNDINGSHAP is a cooperative game theory approach, specifically using Shapley values. Here's how it works:
- Defining Confounding Bias: They first define "residual confounding bias" ($b_S(x_S)$) as the difference between the observed outcome difference (observational contrast) and the true causal effect (projected CATE) within groups defined by a subset of covariates ($X_S$). A zero bias means that subset of covariates is sufficient for adjustment.
- The Cooperative Game: They then define a cooperative game where the "players" are the covariates. The "value function" of a coalition of covariates (a subset $S$) is defined as the negative of the expected residual confounding bias when only those covariates are used for adjustment ($v(S) = -E[b_S(X_S)]$). The negative sign ensures that a positive Shapley value for a covariate means it helps reduce confounding bias.
- Shapley Value Attribution: Shapley values are then computed for this game. These values attribute the total confounding bias (or its reduction) to individual covariates. A high Shapley value for a covariate means it significantly contributes to confounding bias.
- Scalable Estimation with TabPFN: To make this computationally feasible, especially with many covariates, they use TabPFN (a tabular foundation model) to efficiently estimate the coalition values. Instead of refitting models for every possible subset of covariates, TabPFN uses a pretrained model and "in-context learning" to quickly estimate the necessary quantities.
Datasets
The paper uses a combination of synthetic and real-world datasets:
- Synthetic Datasets: They generate synthetic data with controlled confounding structures, varying the number of covariates (4, 11, 17, 100, 200) and the roles of different variables (instruments, confounders, effect modifiers, outcome-only, noise). This allows them to benchmark their method against known ground truths.
- ACTG 175 Semi-Synthetic Dataset: They create a semi-synthetic dataset from a real clinical trial (ACTG 175) by replacing the randomized treatment assignment with a simulated mechanism based on specific covariates, allowing them to control the confounding structure.
- ACIC 2016 Data Challenge: They use this benchmark dataset, which has real covariates but simulated treatment and outcomes, to evaluate their method's impact on downstream CATE estimation.
- SUPPORT/RHC Observational Dataset: This is a real-world observational study dataset (right-heart catheterization) where the exact confounding structure is unknown, serving as a qualitative benchmark.
Key Insights and Ideas
- Confounding Strength is Different from Predictive Importance: A variable can be a strong predictor of treatment assignment or outcome (high SHAP value for those tasks) but not a strong confounder if it doesn't influence both or if its influence cancels out. CONFOUNDINGSHAP specifically targets the bias induced by variables that jointly affect treatment and outcome.
- Cancellations Can Mask Confounding: The paper demonstrates with an example that even if individual covariates show positive confounding bias, their combined effect might cancel out, leading to zero bias when no covariates are adjusted for. CONFOUNDINGSHAP can disentangle these effects.
- Shapley Values as a Bias Decomposition Tool: By framing confounding bias as a game, Shapley values provide a principled way to decompose the total bias into contributions from individual covariates, offering a more nuanced understanding than simple variable importance.
- TabPFN Enables Scalability: The use of TabPFN is a key innovation for making Shapley-based confounding attribution practical for datasets with a moderate to high number of covariates, avoiding computationally prohibitive exhaustive refitting.
Key Results
- Accurate Confounder Identification: In synthetic experiments, CONFOUNDINGSHAP consistently identifies true confounders and assigns them significantly higher Shapley values compared to instruments, effect modifiers, or outcome-only predictors. This holds across various dimensions and random seeds.
- Disappearance of Confounding in RCTs: When applied to a randomized controlled trial setting (or a simulated RCT), CONFOUNDINGSHAP correctly assigns near-zero confounding strength to covariates, demonstrating its ability to detect the absence of confounding when treatment is truly random.
- Clinical Relevance: In the SUPPORT/RHC study, CONFOUNDINGSHAP identified clinically plausible confounders (e.g., acute physiology score), suggesting its utility in real-world observational research.
- Impact on Downstream Tasks: Removing covariates identified by CONFOUNDINGSHAP as important confounders led to a substantial increase in estimation error (PEHE) for CATE, indicating that these variables are indeed crucial for accurate causal inference.
- Approximation Quality: Budgeted approximations (like REGRESSIONMSR) with TabPFN maintain good confounder ranking and attribution mass, especially at larger budgets, making the method scalable without sacrificing too much accuracy.
Limitations and Future Work
- Conditional Interpretation: CONFOUNDINGSHAP attributes bias relative to the observed covariate set. If important confounders are unobserved, the attributions are conditional and not absolute ground truth.
- Computational Limits: While TabPFN improves scalability, very high-dimensional settings (e.g., 200+ covariates) still require large coalition budgets, which can lead to long runtimes.
- Nuisance Model Error: The quality of the attribution depends on the accuracy of the underlying nuisance models (propensity score and outcome models).
- Overinterpretation Risk: The authors caution against overinterpreting CONFOUNDINGSHAP values as definitive proof of sufficient adjustment or unbiased estimates. They emphasize its role as diagnostic evidence to be used alongside domain knowledge and causal reasoning.
Future work could explore more efficient approximation methods for extremely high-dimensional settings and further integrate CONFOUNDINGSHAP with sensitivity analysis techniques to address unobserved confounding.
Summary updated