Abstract
This paper formalizes intuitive desiderata for representation learning—such as non-spuriousness, efficiency, and disentanglement—using causal inference. By leveraging counterfactual quantities and observable implications like the Independence-of-Support Score (IOSS), the authors provide a rigorous framework for learning robust and interpretable features from high-dimensional data. Their approach, validated across image and text benchmarks, demonstrates superior out-of-distribution robustness and more accurate disentanglement metrics compared to traditional statistical methods.
Introduction
Representation learning aims to extract low-dimensional, meaningful features from complex data. While terms like "non-spurious," "efficient," and "disentangled" are frequently used to describe ideal representations, they often lack formal mathematical definitions. This ambiguity leads to models that rely on spurious correlations—such as a dog classifier focusing on background grass—or representations that are difficult to evaluate without ground-truth labels. This paper bridges the gap by formalizing these desiderata through the lens of Pearl's "Ladder of Causation."
A Causal Framework for Representations
The authors propose a systematic pipeline to move from intuitive goals to computable metrics. This process involves defining causal desiderata, identifying their observable implications, and developing algorithms to optimize for them.
Supervised Learning: CAUSAL-REP
In the supervised setting, the goal is to learn features that are both necessary and sufficient for predicting a label $Y$. The authors introduce CAUSAL-REP, which utilizes the Probability of Necessity and Sufficiency (PNS) as an objective function.
- Non-spuriousness is formalized as the Probability of Sufficiency: does the presence of a feature cause the label to be positive?
- Efficiency is formalized as the Probability of Necessity: does the absence of a feature cause the label to be negative?
To estimate these causal quantities from observational data, the authors assume a structure where high-dimensional observations $X$ are caused by a lower-dimensional unobserved common cause $C$.
By using probabilistic factor models (like VAEs or PPCA), they "pinpoint" $C$, allowing for the estimation of causal effects even in "rank-degenerate" data like images where many pixels are redundant.
Unsupervised Learning: Disentanglement and IOSS
For unsupervised learning, the focus is on disentanglement. Traditionally, this meant forcing learned dimensions to be statistically independent. However, the authors argue that dimensions can be statistically correlated (due to shared hidden causes) yet still be causally disentangled.
They define disentanglement as the absence of causal links between learned dimensions. A key observable implication of this is that the joint support of the dimensions must be independent. Visually, a scatter plot of two disentangled dimensions should fill a rectangular region. The Independence-of-Support Score (IOSS) measures deviations from this "rectangular" ideal, providing a metric that does not require ground-truth labels.
Experimental Results
The framework was validated across synthetic, image (Colored MNIST, CelebA), and text (Amazon, IMDB) datasets.
- Out-of-Distribution (OOD) Robustness: On Colored MNIST, where color is a spurious cue, CAUSAL-REP maintained near-optimal accuracy (~70-75%) even when the correlation between color and label was reversed, whereas standard neural networks failed.
- Text Sentiment: In review datasets, CAUSAL-REP successfully ignored spurious words (like "as" or "also") that standard logistic regression models often overfit to.
- Metric Performance: IOSS outperformed existing metrics like Total Correlation in identifying disentangled representations, especially when the underlying factors were naturally correlated.
Conclusion and Limitations
This work provides a rigorous foundation for representation learning by translating intuitive desiderata into formal causal metrics. However, it relies on the "pinpointability" assumption—that the unobserved cause $C$ can be recovered from high-dimensional $X$. While this holds for images and text, it may be challenging for low-dimensional tabular data. Future work includes extending these principles to compositional generalization and anti-causal learning scenarios.
Summary updated