Abstract
Causal representation learning has emerged as the center of action in causal machine learning research. In particular, multi-domain datasets present a natural opportunity for showcasing the advantages of causal representation learning over standard unsupervised representation learning. While recent works have taken crucial steps towards learning causal representations, they often lack applicability to multi-domain datasets due to over-simplifying assumptions about the data; e.g. each domain comes from a different single-node perfect intervention. In this work, we relax these assumptions and capitalize on the following observation: there often exists a subset of latents whose certain distributional properties (e.g., support, variance) remain stable across domains; this property holds when, for example, each domain comes from a multi-node imperfect intervention. Leveraging this observation, we show that autoencoders that incorporate such invariances can provably identify the stable set of latents from the rest across different settings.
Introduction
Causal Representation Learning (CRL) aims to discover the underlying "true" latent variables—such as the shape of an object or its spatial coordinates—from raw high-dimensional observations like pixels. While recent progress has been significant, most existing methods rely on two restrictive assumptions that rarely hold in real-world scenarios:
- Perfect Interventions: The assumption that data is collected under "perfect" conditions where a single specific variable is fixed (e.g., "set color to red"). In reality, interventions are often "imperfect" or affect multiple variables simultaneously.
- Fixed Causal Graphs: The assumption that the relationship between variables is described by the same Directed Acyclic Graph (DAG) for every data point. However, in dynamic scenes, causal directions can flip (e.g., a "cat chasing a dog" vs. a "dog chasing a cat").
This work addresses these challenges by identifying causal factors in multi-domain settings where these assumptions are relaxed, making CRL more applicable to complex, non-stationary data.
Methodology: Leveraging Weak Invariances
The core proposal is an invariance principle: while some latent factors change across domains (the "unstable" set $U$), a subset of factors (the "stable" set $S$) should possess properties that remain constant. These are termed "Weak Invariances."
The framework utilizes a two-stage autoencoder approach:
- Stage 1: A standard autoencoder learns to reconstruct the data, providing a compressed representation.
- Stage 2: A second autoencoder is trained on the outputs of Stage 1, incorporating specific invariance penalties.
The "Weak Invariances" are enforced through two primary penalties:
- Min-Max Penalty (Support Invariance): Ensures that the range (minimum and maximum values) of the estimated stable latents remains consistent across all domains.
- MMD Penalty (Distributional Invariance): Uses Maximum Mean Discrepancy to penalize differences in the joint distribution of the stable latents across domains.
Mathematical proofs provided in the paper demonstrate that under certain conditions—such as polynomial mixing functions—these constraints are sufficient to "block-identify" the stable latents, effectively separating them from noise and domain-specific shifts.
Experimental Evaluation
The approach was evaluated across four distinct data regimes: synthetic linear and polynomial mixing, a "Balls" image dataset, and a challenging Unlabeled Colored MNIST variant where digit style is stable across domains but color changes. Crucially, the model receives no labels for digits or colors during training.
Key Results
Performance was measured using the $R^2$ coefficient to assess the alignment between learned representations and ground-truth latents:
- Disentanglement: In synthetic settings, the model achieved high $R^2$ scores for stable latents (often $>0.95$) and low scores for unstable ones, indicating successful separation.
- Colored MNIST Success: The model successfully isolated digit style from color. On a "Dynamic SCM" version of this dataset, the combined MMD + Min-Max penalty achieved a digit classification accuracy of 72% and a low $R^2$ for color (0.31), demonstrating that it isolated the "style" factor without supervision.
- Ablation Studies: Results confirmed that combining both Support (Min-Max) and Distributional (MMD) invariances provides the most robust identification across diverse data types.
Conclusion and Future Work
This framework demonstrates that "weak" distributional properties, such as stable support, are powerful enough to disentangle causal factors even when causal graphs are dynamic or interventions hit multiple nodes. By focusing on marginal properties rather than structure, the method bypasses the need for a fixed DAG.
Future work aims to achieve "component-wise" identification (finding every individual factor exactly) rather than "block" identification and to explore more complex, non-stationary domain shifts.
Summary updated