NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Causal Representation Learning from Multiple Distributions: A General Setting

Kun Zhang, Shaoan Xie, Ignavier Ng, Yujia Zheng

Introduction

Causal Representation Learning (CRL) represents one of the most significant frontiers in machine learning, aiming to recover latent causal variables and their structural relationships directly from high-dimensional raw data, such as image pixels. The central challenge in CRL is identifiability: ensuring that the learned model uniquely recovers the true underlying causal structure. While previous research has often relied on restrictive linear assumptions or "hard" interventions, this paper explores the potential for identifiability in a general, nonparametric setting by leveraging data from multiple distributions.

Problem Statement

In many real-world applications, the variables of interest are not directly observed. Instead, we observe complex, often nonlinear functions of these variables. CRL seeks to reverse this process, identifying the latent variables $Z$ and the Directed Acyclic Graph (DAG) that governs their interactions.

Most existing work relies on manual interventions (manually changing a variable's value) or strict parametric constraints (such as assuming all relationships are linear). This research addresses a fundamental question: What can be recovered in a purely nonparametric model using only observational data, provided that data comes from multiple distinct distributions (e.g., different time points or environments)?

Methodology

The authors propose a framework that integrates deep generative modeling with causal theory, centered on two primary pillars:

1. Distributional Changes

The framework assumes that while the underlying causal structure remains constant, the specific causal mechanisms change across different domains or time steps, governed by a latent factor $\theta$. These shifts provide the necessary signal to distinguish between various latent representations that might otherwise appear identical in a single distribution.

2. Sparsity Constraints

A key theoretical contribution is the use of sparsity as a tool for identifiability rather than just a heuristic for better generalization. By seeking the most sparse Markov network capable of explaining the observed data, the model avoids trivial or "entangled" solutions where latent variables leak into one another.

Implementation

The approach is implemented using a Variational Autoencoder (VAE) architecture. To handle complex latent relationships, the authors employ:

  • Nonparametric Priors: Utilizing Normalizing Flows to approximate the inverse of a structural equation model (SEM).
  • Parametric Priors: Linear SEMs for comparative analysis in simpler scenarios.
  • Regularization: An $\ell_1$ penalty is applied to the learned adjacency matrix to enforce the theoretically required sparsity.

Theoretical Insights

The paper introduces several novel concepts to the CRL literature:

  • The "Intimate Neighbor" Concept: The authors prove that while a latent variable $Z_i$ might not always be perfectly isolated, it can be recovered as a function of itself and its "intimate neighbors" within the Markov network. In many practical scenarios, this set is empty, allowing for perfect recovery up to a simple transformation.
  • Moralized Graphs: The research demonstrates that multiple distributions allow for the recovery of the moralized graph—an undirected version of the DAG where parents of a shared child are linked. They provide new, weaker versions of the "faithfulness" assumption (SAF and SUCF) that are necessary and sufficient for this recovery.
  • Sparsity as an Identifiability Anchor: Sparsity is shown to be a theoretical necessity to "lock" the Jacobian matrix of the transformation, preventing latent variables from being mixed during the training process.

Experimental Validation

The framework was validated using simulated datasets where ground truth causal structures were known, specifically focusing on:

  • Y-structure: A 4-variable graph ($Z_1 \to Z_3 \leftarrow Z_2, Z_3 \to Z_4$) designed to test the detection of colliders.
  • Chain structure: A 4-variable linear sequence ($Z_1 \to Z_2 \to Z_3 \to Z_4$).

Testing across both Laplace and Gaussian noise distributions, the model successfully recovered latent variables. Correlation analysis confirmed a clear one-to-one correspondence between the estimated variables $\hat{Z}$ and the true latents $Z$, even in the presence of nonlinear mixing. Furthermore, the results proved a critical corollary: if the true latents are causally related, one cannot find a valid representation where components are independent across domains, directly challenging standard Nonlinear ICA approaches.

Discussion and Limitations

While the paper marks a significant step forward in establishing identifiability proofs, several limitations remain:

  • Moralization vs. Directionality: The current method recovers the undirected moralized graph. Transitioning to a fully directed DAG still requires additional assumptions or interventions.
  • Sufficient Change: The theory relies on the causal mechanisms changing "enough" across distributions; if the environments are too similar, the identifiability signal vanishes.
  • Scalability: Implementing these theoretical proofs using VAEs and flows in high-dimensional latent spaces remains a significant engineering challenge.

Future work may explore scenarios where only a subset of causal relations change, potentially allowing for even weaker assumptions in the pursuit of general causal representation learning.

Summary updated

BibTeX
@inproceedings{zhang2024causal,
  author = {Kun Zhang and Shaoan Xie and Ignavier Ng and Yujia Zheng},
  title = {{Causal Representation Learning from Multiple Distributions: A General Setting}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Pte6iiXvpf},
}
Figure