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

Learning Linear Causal Representations from Interventions under General Nonlinear Mixing

Simon Buchholz, Goutham Rajendran, Elan Rosenfeld, Bryon Aragam, Bernhard Schölkopf, Pradeep Kumar Ravikumar

Introduction: The Challenge of Causal Representation Learning

In the current landscape of deep learning, models excel at mapping high-dimensional raw data, such as pixels, to high-level concepts. However, these models often function as "black boxes," capturing correlations without understanding the underlying causal mechanisms. This lack of causal grounding makes them brittle when faced with distribution shifts or out-of-distribution scenarios.

Causal Representation Learning (CRL) aims to bridge this gap by identifying the true latent variables (e.g., the physical coordinates of an object) and their causal relationships directly from raw observations. The fundamental challenge in CRL is identifiability: ensuring that the learned variables are the true causal factors rather than an arbitrary transformation that happens to fit the data. While previous research has established identifiability under restrictive conditions—such as linear mixing or the availability of perfectly paired "before-and-after" interventional data—real-world data is rarely so cooperative. This paper addresses the more realistic and difficult setting of general nonlinear mixing with unpaired interventional data.

Theoretical Framework: Identifiability Under Nonlinearity

The core contribution of this work is a theoretical proof that latent causal variables and their governing structures can be uniquely recovered even when they are obscured by complex, nonlinear transformations (like those generated by deep neural networks).

The Geometric Signature

The authors demonstrate that when a Gaussian distribution undergoes a nonlinear transformation, the "geometric signature" of the underlying causal structure is preserved within the log-density ratios of the data. By analyzing the quadratic forms of the precision matrices of these latent distributions, the researchers prove that the mixing function can be identified up to a simple linear transformation. This finding is significant because it suggests that the complexity of the observation process (the "mixing") does not necessarily destroy the structural information of the causal source.

Methodology: Contrastive Learning for CRL

To translate their theoretical findings into a practical algorithm, the authors propose a contrastive learning framework. This approach avoids the computational difficulty of explicitly modeling high-dimensional data densities (a common hurdle for Variational Autoencoders).

  1. Contrastive Objective: The model is trained to distinguish between observational data and interventional data. This process leverages the fact that the difference in "shape" between these distributions provides a signal to pinpoint which latent variable was affected by an intervention, even if the specific target of that intervention is unknown.
  2. The Causal Last Layer: The architecture features a final layer specifically designed to mirror the mathematical form of the log-odds between Gaussian distributions. This allows the network to implicitly "invert" the nonlinear mixing and extract the latent causal parameters.
  3. Acyclicity Constraints: To ensure the learned relationships form a valid causal structure, the authors incorporate the NOTEARS regularizer. This method enforces a Directed Acyclic Graph (DAG) structure on the learned dependencies between variables.

Experimental Evaluation

The authors validated their approach across three distinct data environments:

  • Synthetic Linear & Nonlinear Data: Using a 3-layer MLP with Leaky ReLU activations to create complex mixing, the model achieved a Mean Correlation Coefficient (MCC) of nearly 1.0. This indicates an almost perfect recovery of the true latent variables. Furthermore, the model identified the causal graph with a very low Structural Hamming Distance (SHD), significantly outperforming standard VAE-based baselines.
  • Image-Based "Balls-in-a-Box": In this task, latent variables (ball coordinates) were transformed into raw images via a non-smooth rendering engine (Pygame). Despite the highly nonlinear nature of the rendering process, the model successfully recovered both the coordinates and their causal dependencies. This result demonstrates that the theory holds even when the mixing function is a complex, black-box graphics engine.

Key Insights

  • Density Ratios as a Signal: The research proves that knowing the specific intervention target is not a prerequisite for learning. The shift in distribution caused by an intervention is sufficient to identify the latent structure.
  • Contrastive vs. Generative: The success of the contrastive approach suggests it may be a more robust alternative to VAEs for interventional CRL, as it sidesteps the challenges of high-dimensional density estimation.
  • Gaussian Leverage: While the mixing is general, the assumption of a linear Gaussian Structural Causal Model (SCM) provides the necessary mathematical leverage for the identifiability proof.

Conclusion and Future Work

This paper provides a rigorous foundation for building AI systems that understand the causal machinery of their environment. However, several avenues for future research remain:

  • Beyond Gaussianity: The current proofs rely on Gaussian latents. While experiments show some robustness to other noise types (e.g., Laplace), a general theory for non-Gaussian distributions is still needed.
  • Scalability of Interventions: The theory requires at least one intervention per latent node, which may be difficult to achieve in systems with thousands of variables.
  • Optimization Landscapes: The loss landscape is non-convex, and the authors noted that without "shift" interventions (changes in mean), the model can occasionally converge to local minima, such as recovering the absolute value of latents rather than the latents themselves.

By establishing that causal representations are identifiable under general nonlinear mixing, this work moves the field closer to developing autonomous agents capable of true causal reasoning from raw sensory input.

Summary updated

BibTeX
@inproceedings{buchholz2023learning,
  author = {Simon Buchholz and Goutham Rajendran and Elan Rosenfeld and Bryon Aragam and Bernhard Schölkopf and Pradeep Kumar Ravikumar},
  title = {{Learning Linear Causal Representations from Interventions under General Nonlinear Mixing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=q131tA7HCT},
}
Figure