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

Learning Causally Disentangled Representations via the Principle of Independent Causal Mechanisms

Aneesh Komanduri, Yongkai Wu, Feng Chen, Xintao Wu

Abstract

Learning disentangled causal representations is a challenging problem that has gained significant attention recently due to its implications for extracting meaningful information for downstream tasks. In this work, we define a new notion of causal disentanglement from the perspective of independent causal mechanisms. We propose ICM-VAE, a framework for learning causally disentangled representations supervised by causally related observed labels. We model causal mechanisms using nonlinear learnable flow-based diffeomorphic functions to map noise variables to latent causal variables. Further, to promote the disentanglement of causal factors, we propose a causal disentanglement prior learned from auxiliary labels and the latent causal structure. We theoretically show the identifiability of causal factors and mechanisms up to permutation and elementwise reparameterization. We empirically demonstrate that our framework induces highly disentangled causal factors, improves interventional robustness, and is compatible with counterfactual generation.

Introduction

Traditional disentangled representation learning aims to decompose complex data into independent factors of variation. However, real-world factors are often causally linked. For instance, in a physical scene, the position of a light source causally determines the position and length of shadows. Standard models that assume independence fail to capture these dependencies, leading to "entangled" representations that perform poorly on out-of-distribution data or reasoning tasks.

Causal relationships in a physical system (pendulum) and the effect of interventions on the causal graph.

The authors address this by proposing a framework for learning identifiable, nonlinear causal representations. By focusing on the mechanisms that generate variables rather than just the variables themselves, the model can better reflect the underlying physical reality.

Methodology: The ICM-VAE Framework

The core of the proposed approach is the Independent Causal Mechanism Variational Autoencoder (ICM-VAE). It moves beyond simple linear models to handle complex, nonlinear interactions through two primary innovations:

Structural Causal Flow (SCF)

Instead of modeling causal relationships with linear equations, ICM-VAE employs flow-based "diffeomorphic" functions—specifically affine autoregressive flows. These flows map simple noise variables ($\epsilon$) into complex latent causal variables ($z$) following a specific topological order defined by a causal graph. This allows the model to represent intricate, nonlinear dependencies like those found in physical simulations.

Causal Disentanglement Prior

To ensure the learned factors correspond to the true underlying causes, the model utilizes a structured prior supervised by auxiliary labels ($u$). This "weak" supervision enforces a bijective mapping between the observed labels and the learned causal mechanisms, promoting the disentanglement of causal factors.

The ICM-VAE architecture, illustrating the flow from noise encoding through structural causal flow to the final causal representation.

A key theoretical contribution is Theorem 1, which proves that under specific conditions, the model is identifiable. This means it is mathematically guaranteed to recover the true causal factors up to simple permutations or scaling.

Experiments and Results

The framework was evaluated on three physically grounded datasets: Pendulum (light and shadow interactions), Flow (water tank dynamics), and CausalCircuit (robot arm interactions).

Key Findings

  • Superior Disentanglement: ICM-VAE achieved near-perfect scores on the Disentanglement, Completeness, and Informativeness (DCI) metric (~0.99), significantly outperforming standard VAEs and previous causal models.
  • Interventional Robustness: The model demonstrated high Interventional Robustness Scores (IRS), indicating that interventions in the latent space (e.g., changing a light position) correctly propagate through the causal graph to affect dependent variables (like shadows) while leaving independent variables untouched.
  • Counterfactual Reasoning: The model successfully generated consistent counterfactual images, such as predicting how a scene would change if a robot arm were moved to a different position.

Conclusion and Future Work

ICM-VAE represents a significant step forward in learning representations that respect the causal structure of the world. By modeling nonlinear mechanisms and providing identifiability guarantees, it offers a robust foundation for downstream tasks requiring causal reasoning.

Future research directions include integrating causal discovery to learn the graph structure directly from data, reducing the reliance on auxiliary labels, and extending the framework to handle discrete causal factors.

Summary updated

BibTeX
@inproceedings{komanduri2024learning,
  author = {Aneesh Komanduri and Yongkai Wu and Feng Chen and Xintao Wu},
  title = {{Learning Causally Disentangled Representations via the Principle of Independent Causal Mechanisms}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=QHZECRNuW4},
}
Figure