Constraint-based Causal Discovery for Non-Linear Structural Causal Models with Cycles and Latent Confounders

Patrick Forré, Joris M. Mooij

Introduction

Inferring causal relationships from data—causal discovery—is a fundamental task in science. While many algorithms exist for this purpose, most are restricted by assumptions of acyclicity (no feedback loops) or linearity. In real-world systems, such as biological pathways or economic markets, these assumptions often fail. This paper, presented at UAI 2018, introduces a groundbreaking constraint-based algorithm designed to handle the "triple threat" of causal modeling: non-linear relationships, cyclic feedback loops, and latent (hidden) confounders.

The Challenge: The Failure of d-Separation

Most classic causal discovery algorithms, such as PC or FCI, rely on the d-separation criterion to link the structure of a causal graph to statistical independencies in the data. However, d-separation is fundamentally limited when a system contains both cycles and non-linear functional relationships. In such cases, variables may remain dependent even when d-separation predicts independence. Furthermore, real-world systems are rarely "causally sufficient," meaning unmeasured latent confounders are almost always present.

A complex Structural Causal Model (SCM) featuring observed variables ($v_i$) and latent confounders ($u_i$).

As shown in the figure above, latent variables (red nodes $u$) can create complex dependency patterns among observed variables (blue nodes $v$). Existing tools could handle cycles in linear systems or non-linearity in acyclic systems, but combining all three challenges remained an open problem until now.

Methodology: $\sigma$-Separation and Modular SCMs

The authors' solution rests on three theoretical and computational pillars:

  1. Modular Structural Causal Models (mSCMs): This framework allows for cycles and non-linearities while ensuring the model remains stable under interventions.
  2. $\sigma$-Separation and $\sigma$-CGs: The authors introduce $\sigma$-connection graphs ($\sigma$-CG) and prove that a new criterion, $\sigma$-separation, is the correct way to identify conditional independencies in these complex cyclic models. Crucially, $\sigma$-separation is "closed" under marginalization, meaning the mathematical properties hold even when some variables are unobserved.
  3. Answer Set Programming (ASP): Rather than a greedy search, the authors formulate causal discovery as an optimization problem using ASP, a declarative logic programming language. The solver searches for the graph that minimizes the cost of violating statistical independence tests.
The corresponding $\sigma$-connection graph after marginalizing out latent variables, highlighting cyclic and non-linear dependencies.

Empirical Validation

The algorithm was evaluated using synthetic datasets designed to challenge traditional methods. These datasets featured non-linear relationships modeled via neural networks and various levels of interventional data.

The results demonstrated that while observational data provides a baseline, the addition of interventional data drastically improves the accuracy of the inferred graph. The Area Under the ROC Curve (AUC) for identifying directed edges rose from approximately 0.61 with observational data alone to 0.92 with five single-variable interventions. This highlights the "interventional synergy" required to resolve ambiguities in cyclic systems.

Conclusion and Future Directions

This research provides the first reliable framework for causal discovery in the presence of non-linearity, cycles, and latent confounders. While currently limited to small-scale graphs (5-10 nodes) due to the computational complexity of the ASP solver, it sets a new standard for theoretical rigor in the field. Future work will focus on improving scalability and accounting for selection bias in real-world applications.

Summary updated

BibTeX
@inproceedings{forre2018constraint,
  author = {Patrick Forré and Joris M. Mooij},
  title = {{Constraint-based Causal Discovery for Non-Linear Structural Causal Models with Cycles and Latent Confounders}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=PU-THnDCJjQ},
}
Figure