Skip to main content
QUICK REVIEW

[Paper Review] Counterfactual Normalization: Proactively Addressing Dataset Shift and Improving Reliability Using Causal Mechanisms

Adarsh Subbaswamy, Suchi Saria|arXiv (Cornell University)|Aug 9, 2018
Bayesian Modeling and Causal InferenceComputer Science30 references15 citations
TL;DR

This paper proposes Counterfactual Normalization, a causal machine learning method that proactively improves model robustness to dataset shift by identifying and removing unstable, environment-dependent relationships—especially those involving unobserved confounders—using counterfactual variables to isolate stable paths. The method enhances reliability in deployment by replacing vulnerable variables with their counterfactual counterparts, resulting in models that generalize better across domains despite minor accuracy loss in training.

ABSTRACT

Predictive models can fail to generalize from training to deployment environments because of dataset shift, posing a threat to model reliability and the safety of downstream decisions made in practice. Instead of using samples from the target distribution to reactively correct dataset shift, we use graphical knowledge of the causal mechanisms relating variables in a prediction problem to proactively remove relationships that do not generalize across environments, even when these relationships may depend on unobserved variables (violations of the "no unobserved confounders" assumption). To accomplish this, we identify variables with unstable paths of statistical influence and remove them from the model. We also augment the causal graph with latent counterfactual variables that isolate unstable paths of statistical influence, allowing us to retain stable paths that would otherwise be removed. Our experiments demonstrate that models that remove vulnerable variables and use estimates of the latent variables transfer better, often outperforming in the target domain despite some accuracy loss in the training domain.

Motivation & Objective

  • To address dataset shift in predictive models caused by distributional shifts between training and deployment environments.
  • To improve model reliability in safety-critical applications like medicine, where failure to generalize can lead to dangerous predictions.
  • To develop a proactive method that leverages causal knowledge to identify and remove unstable relationships without requiring observed confounders.
  • To enhance model generalization by replacing vulnerable variables with counterfactual versions that isolate stable statistical influences.
  • To provide a more interpretable alternative to existing adjustment-based methods through causally grounded counterfactual features.

Proposed method

  • The method constructs a causal graph (DAG) to model relationships between input features, target outcomes, and potential confounders.
  • It identifies variables with unstable paths of statistical influence—especially those dependent on unobserved confounders or selection bias—using d-separation and causal graph analysis.
  • Vulnerable variables (e.g., treatments or comorbidities with policy-dependent distributions) are replaced with counterfactual versions that sever unstable paths.
  • Latent counterfactual variables are introduced to model what the outcome would be under alternative interventions (e.g., 'blood pressure if not treated'), preserving stable causal effects.
  • The model is trained using these counterfactual features as conditioning variables, ensuring predictions rely only on stable, invariant relationships.
  • The approach is evaluated using logistic regression models trained on biased data and tested on unbiased data, comparing performance via AUROC and AUPRC.

Experimental results

Research questions

  • RQ1Can counterfactual normalization improve model generalization under dataset shift when unobserved confounders violate the no-unobserved-confounders assumption?
  • RQ2Does replacing vulnerable variables with counterfactual versions lead to more stable performance across different deployment environments?
  • RQ3How does the performance of counterfactually normalized models compare to standard models using vulnerable variables in both biased and unbiased test distributions?
  • RQ4To what extent do counterfactual features improve reliability without relying on observed policy or confounder distributions?
  • RQ5Can counterfactual normalization outperform reactive domain adaptation methods in scenarios with no access to target domain data?

Key findings

  • On unbiased test data, the counterfactually normalized model achieved an average AUPRC of 0.30, significantly outperforming the vulnerable models (0.24) and showing greater stability across environments.
  • On biased training data, the counterfactually normalized model had a slightly lower AUPRC (0.38) than the vulnerable models (0.45), confirming the expected trade-off in training performance.
  • The performance gap between training and test domains was substantially smaller for the counterfactually normalized model (decrease in AUPRC of 0.06) compared to the vulnerable models (decrease of 0.21), indicating improved robustness.
  • The counterfactually normalized model with vulnerable variables performed worse than the non-vulnerable version in unbiased data, suggesting it failed to effectively utilize the counterfactual features.
  • The method successfully isolated stable causal paths by removing unstable influence from unobserved confounders and selection bias, leading to more reliable predictions in deployment.
  • The results demonstrate that counterfactual normalization enables models to generalize better to unseen environments, even when training data contains systematic biases.

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.