Learning latent causal graphs via mixture oracles

Bohdan Kivva, Goutham Rajendran, Pradeep Ravikumar, Bryon Aragam

Abstract

We study the problem of reconstructing a causal graphical model from data in the presence of latent variables. The main problem of interest is recovering the causal structure over the latent variables while allowing for general, potentially nonlinear dependence between the variables. In many practical problems, the dependence between raw observations (e.g. pixels in an image) is much less relevant than the dependence between certain high-level, latent features (e.g. concepts or objects), and this is the setting of interest. We provide conditions under which both the latent representations and the underlying latent causal model are identifiable by a reduction to a mixture oracle. These results highlight an intriguing connection between the well-studied problem of learning the order of a mixture model and the problem of learning the bipartite structure between observables and unobservables. The proof is constructive, and leads to several algorithms for explicitly reconstructing the full graphical model. We discuss efficient algorithms and provide experiments illustrating the algorithms in practice.

Introduction

In most causal discovery tasks, we assume we can measure the variables of interest directly. However, in many real-world scenarios—like computer vision or genomics—the true causal drivers are "latent" or hidden (e.g., an object in an image or a specific biological pathway). This paper presents a significant theoretical and algorithmic framework for uncovering these hidden "gears" using only observable data.

The Challenge of Latent Identifiability

The primary challenge in learning a Directed Acyclic Graph (DAG) over hidden variables is "non-identifiability"—the fact that multiple different hidden structures could produce the exact same observed data. Previous attempts to solve this often relied on heavy assumptions, such as assuming all relationships are linear. This paper tackles the more difficult non-parametric setting, where relationships can be nonlinear, provided the hidden variables are discrete.

Methodology: The Mixture Oracle Reduction

The authors introduce a modular three-step reduction to solve the problem:

  1. The Bipartite Graph (Γ): First, they identify which hidden variables influence which observed variables. They do this by looking at "signatures" in the data—how the number of mixture components changes when looking at different subsets of observed variables.
  2. The Latent Distribution (P(H)): Once the mapping is known, they reconstruct the joint probability table of the hidden variables.
  3. The Latent DAG (Λ): Finally, with the latent distribution in hand, they use standard causal discovery algorithms (like Greedy Equivalence Search) to find the causal edges between the hidden variables.
Examples of latent causal structures: (a) single hidden state, (b) independent hidden states, and (c) dependent hidden states.

The "secret sauce" is the Mixture Oracle. The authors prove that if you have an "oracle" that can tell you the parameters of a mixture model for any subset of your data, you can reconstruct the entire latent causal system. For the bipartite mapping, they specifically use Jennrich’s Algorithm (a tensor decomposition method) to efficiently recover the structure in polynomial time.

Key Insights and Results

  • Signatures in the Noise: Hidden variables leave a recognizable "signature" in the marginal distributions of observed variables. By cleverly using the Inclusion-Exclusion principle, the authors isolate these signatures to count and map the hidden variables.
  • The Subset Condition (SSC): The authors identify a specific graphical condition (SSC) that is weaker than the common "anchor words" assumption used in topic modeling, allowing their method to work on a broader class of causal models.
  • Algorithmic Efficiency: In simulations using Erdös-Rényi models, the proposed pipeline ran in polynomial time. For a system with 4 latents and 8 observables, the average runtime was roughly 6-10 minutes.
  • High Accuracy: The model recovered the underlying DAG with very low error. The Structural Hamming Distance (SHD)—a measure of edge errors—averaged between 0 and 1.33 across various problem sizes.

Limitations and Future Work

The current framework assumes a "pure" measurement model, meaning there are no direct causal edges between observed variables—everything must be mediated by latents. Additionally, the theory currently only applies to discrete latent variables. Extending this to continuous latent spaces (like those found in Variational Autoencoders) and relaxing the measurement model constraints remain primary goals for future research.

Summary updated

BibTeX
@inproceedings{kivva2021learning,
  author = {Bohdan Kivva and Goutham Rajendran and Pradeep Ravikumar and Bryon Aragam},
  title = {{Learning latent causal graphs via mixture oracles}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=M-h-RMZ1NZ},
}
Figure