Causal Representation Learning Made Identifiable by Grouping of Observational Variables

Hiroshi Morioka, Aapo Hyvarinen

Introduction

Causal Representation Learning (CRL) is often considered the "Holy Grail" of unsupervised learning. Its goal is to take raw, high-dimensional data—such as pixels or sensor readings—and extract the underlying "high-level" causal variables (like objects in a scene) along with the causal graph that connects them.

However, CRL is severely ill-posed. Without extra constraints, there are infinitely many ways to define latent variables and causal structures that explain the same data. To achieve identifiability (the mathematical guarantee of a unique solution), previous approaches have relied on restrictive assumptions:

  1. Interventions: Changing one variable to see what happens, which is often impossible or unethical.
  2. Temporal Structure: Assuming causes must precede effects in time, which fails for instantaneous systems.
  3. Supervision: Requiring labels for the latent factors.

This paper introduces G-CaRL, a framework that solves the CRL identifiability problem without requiring expensive interventions, temporal data, or supervision. By simply assuming that observational variables can be grouped (e.g., by sensor type or modality), the authors prove that both hidden causal variables and their interaction graphs can be uniquely identified using a novel self-supervised contrastive learning approach.

The G-CaRL Framework and Grouping Assumption

The core innovation of G-CaRL is the Grouping Assumption. The authors assume that observed variables are naturally separated into non-overlapping groups. For example, in a biological study, one group might be DNA data, another RNA, and a third protein levels. This grouping acts as a "weak" but highly effective inductive bias that reflects how data is often collected in the real world.

Comparison of CRL frameworks. G-CaRL (c) uses grouping to avoid the need for interventions (a) or temporal dynamics (b).

The G-CaRL framework operates through three main components:

  1. Generative Model: Latent variables are modeled using a Pairwise Bayesian Network (BN). This allows for complex dependencies between variables both within and across groups, naturally accommodating causal cycles and latent confounders.
  2. Contrastive Learning Pretext Task: The model is trained using a self-supervised task that discriminates between "real" samples (where causal dependencies between groups are intact) and "shuffled" samples (where variables are randomly swapped across groups, breaking inter-group causal links).
  3. Estimation: By training a neural network to distinguish these two sets, the model is forced to "unmix" the observational data and find the latent representation that best captures the underlying causal structure. Here, group-wise shuffling acts as a proxy for "soft" interventions, providing the statistical signal needed to identify causal directions.

Experimental Validation and Key Results

The authors validated G-CaRL across four distinct scenarios, ranging from synthetic Directed Acyclic Graphs (DAGs) to complex, high-dimensional image observations (3DIdent) and realistic gene regulatory networks (SERGIO).

G-CaRL consistently outperformed state-of-the-art baselines, such as MVCRL and CausalVAE, across all metrics:

  • Latent Recovery: In the 3DIdent image task, G-CaRL achieved a correlation of ~0.7 with true latent factors, while baselines struggled to exceed 0.2.
  • Graph Discovery: In simulations featuring causal loops and hidden confounders, G-CaRL maintained an F1-score near 1.0 for the causal graph. Unlike many causal discovery methods that break when faced with feedback loops, G-CaRL's pairwise BN formulation handles cyclic graphs naturally.
  • Statistical Consistency: The authors provided a formal proof of statistical consistency, guaranteeing that the model converges to the true parameters as more data is provided.
Performance results across different simulations. G-CaRL (orange) shows significantly higher correlation and F1-scores compared to RL and CRL baselines.

Limitations and Future Work

While G-CaRL presents a significant step forward, it has a few limitations:

  • Non-Overlapping Groups: The current theory assumes each latent variable belongs to exactly one group. In reality, some latent causes might directly influence multiple observed groups.
  • Scalar vs. Vector Latents: The identifiability proof focuses on scalar latent variables. Extending this to "vector-wise" identifiability is a suggested next step.
  • Prior Knowledge Requirement: Although the model does not need labels, it does require prior knowledge of the grouping indices and the number of latent variables per group.

Summary updated

BibTeX
@inproceedings{morioka2024causal,
  author = {Hiroshi Morioka and Aapo Hyvarinen},
  title = {{Causal Representation Learning Made Identifiable by Grouping of Observational Variables}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=SL6V527p1F},
}
Figure