Generalizable Information Theoretic Causal Representation

Mengyue Yang, Xinyu Cai, Furui Liu, Xu Chen, Zhitang Chen, Jianye Hao, Jun WangarXiv 2022

Abstract

Modern machine learning models often rely on spurious correlations that fail under distribution shifts. This paper introduces Causal Representation (CaRR), a framework designed to extract the minimal sufficient causes of a label from observational data. By integrating mutual information constraints with a novel Counterfactual Vulnerability (CV) metric, CaRR identifies representations that are both sufficient and necessary. Theoretical analysis shows that causal representations improve sample efficiency, while empirical results across synthetic and real-world datasets demonstrate superior robustness to adversarial attacks and out-of-distribution shifts.

Introduction

Most machine learning models are "correlation machines," identifying patterns in features ($X$) that coincide with labels ($Y$). However, $X$ often contains a mixture of causal parents, effects, and non-causal spurious correlations. Relying on non-causal features leads to instability; for instance, a model predicting weather from a thermometer reading fails if the thermometer is artificially heated. The challenge addressed by this work is isolating the "minimal sufficient cause" from raw observational data without prior knowledge of the true causal graph. The authors argue that by focusing on causal parents ($pa_Y$), models can achieve better stability and generalization.

Methods

The CaRR framework optimizes a representation ($Z$) through a two-pronged information-theoretic approach designed to distinguish between different types of variables in a causal graph, such as parents, descendants, and non-descendants.

Causal graph structures and their simplified representations used to distinguish between causal parents ($pa_Y$) and other feature types.

1. Mutual Information Objective

Using the Data Processing Inequality (DPI), the authors derive a tractable objective similar to the Information Bottleneck. This encourages the model to find a representation that is a "sufficient statistic" for the label while discarding irrelevant noise and non-informative features.

2. Counterfactual Vulnerability (CV)

To ensure the representation is not just sufficient but also necessary, the authors incorporate the Probability of Necessary and Sufficient (PNS) cause. They quantify this using a "Counterfactual Vulnerability" term, which measures how much the prediction changes under adversarial-style interventions. These interventions are modeled as perturbations within a Wasserstein ball.

Illustration of the intervention process within a Wasserstein ball to assess counterfactual vulnerability.

The final training involves a min-max optimization: the model tries to maximize the causal information captured while a "minimizer" (acting like an adversary) identifies the most vulnerable counterfactual scenarios. This forces the model to ignore brittle, spurious features that do not remain stable under intervention.

Experimental Evaluation

The researchers evaluated CaRR across a diverse set of benchmarks, including synthetic datasets where the true causal graph is known, and real-world datasets such as Yahoo! R3 (music recommendation), Coat Shopping, PCIC (debiased recommendation), and CelebA-anno (face image classification).

Key Results

  • Robustness to Distribution Shift: On the Yahoo! R3 OOD dataset, CaRR improved accuracy (ACC) by 1.9% and adversarial accuracy (adv-ACC) by 8.1% compared to standard base models.
  • Adversarial Defense: In the PCIC dataset, CaRR achieved an 8.37% improvement in adversarial AUC, showing that causal features are significantly harder for attackers to manipulate.
  • Sample Efficiency: A key theoretical insight is that causal representations have lower sample complexity. The paper proves that a model requires fewer data points to reach a target generalization level if it focuses on causal parents rather than the entire feature set.

Conclusion and Future Work

CaRR demonstrates that moving beyond correlation to causal representation learning significantly enhances model robustness and efficiency. While the framework currently relies on hypothetical causal structures and involves higher computational costs due to min-max optimization, it provides a strong foundation for future work. The authors suggest extending this approach to more complex tasks like reinforcement learning, where understanding the causal link between actions and rewards is critical for safety.

Summary updated

BibTeX
@misc{yang2022generalizable,
  author = {Mengyue Yang and Xinyu Cai and Furui Liu and Xu Chen and Zhitang Chen and Jianye Hao and Jun Wang},
  title = {{Generalizable Information Theoretic Causal Representation}},
  year = {2022},
  eprint = {2202.08388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.08388},
}
Figure