Neuro-Causal Factor Analysis

Alex Markham, Mingyu Liu, Bryon Aragam, Liam Solus · DOI

Abstract

Neuro-Causal Factor Analysis (NCFA) introduces a novel framework that bridges the gap between classical factor analysis and deep generative models. By leveraging causal discovery to inform the architecture of a Variational Autoencoder (VAE), NCFA achieves a balance between the representational power of neural networks and the structural interpretability of causal graphs.

Introduction

For over a century, researchers have utilized Factor Analysis (FA) to identify latent variables that explain observed correlations. However, traditional FA is limited by assumptions of linearity and a lack of inherent causal guarantees. Conversely, modern Variational Autoencoders (VAEs) excel at modeling complex, nonlinear data but often function as "black boxes" with unidentifiable latent spaces. NCFA addresses these limitations by providing a nonparametric approach that ensures latent factors have concrete causal interpretations, effectively combining the nonlinear power of deep learning with the rigors of causal inference.

Methodology

The NCFA pipeline operates in three distinct stages designed to map observed dependencies back to their latent causes:

  1. Causal Structure Learning: The process begins by estimating an Unconditional Dependence Graph (UDG) through marginal independence tests. If two variables are independent, they are assumed not to share a common cause.
  2. Minimum Clique Covers: To identify latent factors, the framework employs the principle of parsimony (Occam’s Razor), solving for a minimum edge clique cover of the UDG. Each clique—a group of mutually dependent variables—is assigned a specific latent factor.
  3. Constrained VAE Training: Finally, a VAE is trained with a "masked" decoder architecture. If the causal discovery step determines that a latent factor does not influence a specific measurement, the neural network is physically prevented from learning a connection between them.
Overview of the NCFA pipeline, illustrating the transition from data generation to a causally constrained VAE architecture.

Experimental Evaluation

The authors evaluated NCFA across three diverse domains to test its robustness and interpretability:

  • Synthetic Data: Using Erdős-Rényi graphs where the ground truth was known, NCFA recovered the exact causal structure 91% of the time in sparse settings ($p=0.1$).
  • MNIST: Treating pixels as measurement variables, the model successfully identified meaningful latent structures in handwritten digit data, demonstrating its applicability to image processing.
  • TCGA (The Cancer Genome Atlas): In high-dimensional genomic data, NCFA's causal constraints acted as a powerful regularizer. The model achieved lower validation loss than unconstrained VAE baselines, suggesting it more effectively captured the underlying biological signals.

Key Insights

A core contribution of NCFA is its use of graph theory to achieve identifiability. The paper provides theoretical proof that if a UDG has a unique minimum edge clique cover, the resulting causal model is identifiable. This approach formalizes Reichenbach’s Common Cause Principle within a deep learning context, assuming that correlations between observed variables must stem from shared latent causes.

Illustration of the relationship between the true causal graph (G), the observed unconditional dependence graph (U), and the recovered causal structure.

Furthermore, the sparsity inherent in the NCFA architecture serves as a strength rather than a limitation. By moving away from fully connected "black box" designs, the model becomes more interpretable and computationally efficient without sacrificing performance on complex real-world datasets.

Conclusion and Future Work

NCFA represents a significant step toward interpretable representation learning. While the "minimum edge clique cover" problem is NP-hard and the pipeline is sensitive to the accuracy of initial independence tests, the framework offers a principled way to embed causal logic into deep learning. Future work may involve incorporating interventional data to further resolve causal ambiguities and scaling the optimization techniques for even larger high-dimensional datasets.

Summary updated

BibTeX
@inproceedings{markham2023neuro,
  author = {Alex Markham and Mingyu Liu and Bryon Aragam and Liam Solus},
  title = {{Neuro-Causal Factor Analysis}},
  booktitle = {SPIGM @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=eLLxSFBG0q},
}
Figure