Characterizing Distribution Equivalence and Structure Learning for Cyclic and Acyclic Directed Graphs

AmirEmad Ghassami, Alan Yang, Negar Kiyavash, Kun Zhang

Introduction

In causal discovery, researchers typically assume the world operates as a Directed Acyclic Graph (DAG). Under this assumption, conditional independence (CI) tests are used to find a "Markov Equivalence Class"—a set of graphs that imply the same independence relationships. However, real-world systems in biology, economics, and beyond are full of feedback loops.

When cycles are present, the standard CI-based approach breaks down for two primary reasons. First, there is information loss: in cyclic models, conditional independence doesn't capture all the information available in the data distribution. Two graphs might look identical to a CI test but generate fundamentally different distributions. Second, there is algorithmic failure: most existing tools explicitly forbid cycles. Running a standard DAG-learning algorithm on cyclic data often results in spectacular failures, such as outputting a fully connected graph because it cannot find any conditional independencies.

This paper provides a unified framework for understanding and learning causal structures that include feedback loops. The authors move beyond standard Markov equivalence, proposing a more powerful "distribution equivalence" and a score-based algorithm capable of recovering cyclic causal relationships from observational data.

Methodology: Equivalence and Givens Rotations

The paper focuses on Linear Gaussian Structural Causal Models (SCMs), building its approach on three main pillars:

  1. Distribution Equivalence: The authors define two structures as equivalent if they can generate the exact same set of precision matrices (inverse covariance matrices). For cyclic graphs, this is a stricter and more informative definition than Markov equivalence.
  2. Givens Rotations: To characterize this equivalence algebraically, the authors utilize Givens rotations—a type of planar rotation. They demonstrate that one graph is equivalent to another if its "support matrix" (the pattern of zeros in its structure) can be transformed into the other's via a specific sequence of rotations.
Givens rotations transforming a support matrix
  1. Score-Based Learning: The paper proposes an $\ell_0$-regularized maximum likelihood estimator. To solve this, they employ a greedy local search with four operators: adding, deleting, or reversing an edge, plus a novel "virtual edge" operator designed to help the search escape local optima caused by hidden cycles.

Key Insights

Cycles Can Be Reversed

One of the most striking findings is that the direction of an entire cycle can often be reversed without changing the set of distributions the graph can generate. This means that, from observational data alone, it is often impossible to tell if a feedback loop flows "clockwise" or "counter-clockwise."

Two equivalent graphs demonstrating that the direction of a cycle can be reversed.

Moving Beyond Conditional Independence

The paper proves that for cyclic models, we must look at the actual values in the distribution, not just whether variables are independent. This theoretical result strongly justifies the move toward score-based methods over traditional constraint-based (CI-testing) methods when feedback loops are suspected.

The "Virtual Edge" Trap

The authors identify a specific failure mode in greedy searches called "virtual edges." These occur when two non-adjacent nodes have a common child that is also an ancestor. Their new search operator specifically targets these configurations to prevent the algorithm from getting stuck in local optima.

Quasi-Equivalence

They introduce the concept of "quasi-equivalence" to describe the theoretical limit of what can be identified from data. If two graphs are quasi-equivalent, they are essentially indistinguishable given observational data, regardless of the sample size.

Experimental Validation

The authors validated their approach on both synthetic and real-world datasets:

  • Synthetic Data: They generated 100 random ground-truth directed graphs (with 5, 20, and 50 nodes) specifically constrained to include cycles. Their "dglearn" algorithm (using Tabu search) significantly outperformed standard $\ell_1$-regularization methods, showing high success rates in recovering structures that could generate the ground-truth distributions.
  • Real-World fMRI Data: Using a dataset containing signals from six brain regions (like the Hippocampus), the algorithm successfully recovered structures that were local optima for the score and consistent with known anatomical connections, demonstrating robustness even when data wasn't strictly linear Gaussian.

Limitations and Future Work

While a significant step forward, the framework has limitations. The theoretical heavy lifting relies heavily on the properties of linear Gaussian models; highly non-linear or non-Gaussian systems may require significant adjustments. Furthermore, the learning algorithm assumes causal sufficiency (no unobserved latent confounders). Extending this to causally insufficient systems is a major next step. Finally, while the local search works well for up to 50 nodes, scaling to thousands of variables (e.g., gene regulatory networks) remains a formidable computational challenge due to the exponentially growing search space.

Summary updated

BibTeX
@inproceedings{ghassami2020characterizing,
  author = {AmirEmad Ghassami and Alan Yang and Negar Kiyavash and Kun Zhang},
  title = {{Characterizing Distribution Equivalence and Structure Learning for Cyclic and Acyclic Directed Graphs}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=Io4HT_q0k2z},
}
Figure