Invariance & Causal Representation Learning: Prospects and Limitations

Simon Bing, Tom Hochsprung, Jonas Wahl, Urmi Ninad, Jakob Runge

Abstract

Learning causal representations without assumptions is known to be fundamentally impossible, thus establishing the need for suitable inductive biases. At the same time, the invariance of causal mechanisms has emerged as a promising principle to address the challenge of out-of-distribution prediction which machine learning models face. In this work, we explore this invariance principle as a candidate assumption to achieve identifiability of causal representations. While invariance has been utilized for inference in settings where the causal variables are observed, theoretical insights of this principle in the context of causal representation learning are largely missing. We assay the connection between invariance and causal representation learning by establishing impossibility results which show that invariance alone is insufficient to identify latent causal variables. Together with practical considerations, we use our results to reflect generally on the commonly used notion of identifiability in causal representation learning and potential adaptations of this goal moving forward.

Introduction

In modern machine learning, Causal Representation Learning (CRL) aims to recover high-level latent causal variables (e.g., object positions) from raw, unstructured data (e.g., pixels). This task is inherently underconstrained; without specific inductive biases, multiple models can explain the same observations equally well. A popular candidate for such a bias is the Invariance Principle, which posits that causal laws (like gravity) remain stable across different environments. While this principle is effective for making models robust to new settings, this paper provides a theoretical "reality check," demonstrating that invariance alone is insufficient to uniquely identify latent causal factors.

Problem Formulation

The CRL problem is modeled using Structural Causal Models (SCMs). As shown in Figure 1, the goal is to find a representation function that maps observed data $X$ back to the latent causal variables $Z$, which in turn determine the target variable $Y$.

Causal Representation Learning (CRL) framework: Latent causal variables $Z$ generate observed data $X$ via a mixing function $g$ and influence target $Y$.

The authors define CRL as a robust optimization task: identifying a representation and a predictor that minimize the worst-case error across various interventional environments. The central question is whether the requirement of an invariant predictor across environments forces the model to recover the true latent variables $Z$.

Theoretical Methodology

The study is purely theoretical, employing mathematical proofs to establish the fundamental limits of invariance. The authors derive several impossibility results by constructing counterexamples. They show that even with a perfectly invariant predictor, one can apply an invertible "scrambling" transformation to the latent variables. The resulting model remains perfectly invariant but fails to recover the true causal structure, as the complexity can be shifted between the representation and the predictor without violating the invariance principle.

Key Insights

  • Joint Uniqueness vs. Individual Ambiguity: While the composition of the representation and predictor (the mapping from $X$ to $Y$) may be unique under invariance, the individual components are not. This allows for arbitrary transformations of the latent space that do not affect the invariance of the final output.
  • The "One-Dimension" Trap: In linear settings, invariance only constrains the specific dimension of the latent space that directly influences the target $Y$. The remaining latent space can undergo nonlinear transformations without being detected by the invariance criterion.
  • Identifiability Mismatch: There is a fundamental gap between the goal of CRL (element-wise recovery of hidden variables) and what invariance provides (a stable predictive mapping). Invariance ensures out-of-distribution robustness but does not guarantee a structural "understanding" of individual causal factors.

Key Results

The paper formalizes these insights through several key theorems:

  • Theorem 1 (General Impossibility): Without additional constraints on the mixing function or the causal graph, distributional robustness is insufficient to identify latent causal variables up to standard equivalence classes (permutation and scaling).
  • Theorem 2 (Linear Limitation): Even if the underlying mechanism is linear, an invertible nonlinear transformation can exist that preserves linearity and invariance, preventing the recovery of true variables.
  • Lemma 1 & 2: These demonstrate that the power of invariance to identify causal mechanisms in observed settings vanishes when variables are hidden behind an unknown mixing function.

Discussion and Future Directions

The authors conclude that the invariance principle, while powerful for robustness, is not a "silver bullet" for identifiability in CRL. Future work must consider stronger assumptions, such as restricting the mixing function's complexity or utilizing multiple target variables providing different "views" into the latent space. Furthermore, the community may need to rethink the goal of "element-wise identifiability," perhaps focusing on weaker, task-specific forms of identification that are more practically attainable.

Summary updated

BibTeX
@article{bing2024invariance,
  author = {Simon Bing and Tom Hochsprung and Jonas Wahl and Urmi Ninad and Jakob Runge},
  title = {{Invariance \& Causal Representation Learning: Prospects and Limitations}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=lpOC6s4BcM},
}
Figure