This paper presents a new framework for learning the structure of causal models from observational data, specifically targeting systems that contain both feedback loops (cycles) and unobserved common causes (latent confounders). By combining a novel theoretical characterization of model equivalence with a differentiable optimization objective, the authors achieve significant improvements in both accuracy and scalability over existing methods.
TL;DR
The authors propose a differentiable approach to learning cyclic linear Gaussian models with latent confounders, moving beyond restrictive "simple-graph" assumptions. They prove that their continuous relaxation preserves the global optimum of the discrete structure-learning problem and demonstrate that the method scales to hundreds of variables where previous baselines fail.
What Problem Does This Paper Address?
Causal structure learning—identifying the "who causes whom" in a system—is a cornerstone of science. However, two major real-world complexities often break standard algorithms:
- Directed Cycles: Feedback loops, common in biology and economics, where $A \to B \to A$.
- Latent Confounders: Unobserved variables that influence multiple observed variables, creating "spurious" correlations.
Most existing research tackles these separately. Methods that allow for cycles often assume no latent variables, while methods for latent variables often assume the graph is a Directed Acyclic Graph (DAG). Approaches that allow both usually impose a "simple-graph" restriction (e.g., you can't have both a direct edge and a shared latent parent between two nodes). This paper removes that restriction, allowing for arbitrary cycles and explicit exogenous latent confounders.
Methods
The authors formulate structure learning as a score-minimization problem using the Gaussian negative log-likelihood and a complexity penalty that counts edges and latent variables.
- Marginal Quasi-Equivalence: Since the exact latent structure is often not identifiable from observed data, the authors introduce this concept to characterize when two different causal models generate the same set of observed distributions.
- Bernoulli Gates: To make the discrete problem of "edge or no edge" differentiable, they use Bernoulli random variables (gates) for every possible edge and latent variable.
- Differentiable Objective: Instead of optimizing the discrete score directly, they optimize the expected score over these gates. A key theoretical contribution is the proof of Global Exactness: the global minimum of this continuous, expected objective is identical to the global minimum of the original discrete objective.
- Optimization: They use gradient-based methods (like the Adam optimizer) and a "straight-through" estimator to navigate the search space efficiently.
Datasets
The method was evaluated on two types of data:
- Synthetic Cyclic SCMs: Linear Gaussian models generated with varying graph densities (max degree 1, 2, and 4) and varying ratios of latent variables (10%, 20%, and 30%).
- GeneNetWeaver (GNW): A standard benchmark that simulates gene-regulatory dynamics. This is a "misspecified" test, as GNW data is not strictly linear Gaussian, testing the robustness of the approach.
Key Insights and Ideas
- Moving to Covariance Space: Rather than trying to find a single "true" graph, the authors focus on the family of observed covariance matrices a graph can produce. This geometric perspective allows them to handle latent variables more naturally.
- The Power of Relaxation: The proof that the Bernoulli relaxation doesn't shift the global optimum is a major "aha moment." It justifies using deep-learning-style optimization for a fundamentally combinatorial problem.
- Scalability via Gradients: By avoiding greedy search (which requires evaluating many neighboring graphs at every step), the gradient-based approach allows the model to scale to much larger systems.
Key Results
- Accuracy: In synthetic experiments, the proposed method consistently achieved lower "compatibility error" (a measure of how well the recovered graph's distribution family matches the true one) compared to baselines like Ghassami et al. and DCCD-CONF.
- Scalability: The method scales remarkably well. While baselines became computationally infeasible beyond 64 or 128 variables, this approach was successfully tested on graphs with up to 512 observed variables.
- Runtime: As shown in the figure below, the runtime for the proposed method grows much more slowly than the baselines as the number of variables $p$ increases.
Limitations and Future Work
- Linear Gaussian Assumption: The theoretical guarantees and the likelihood score are built on the assumption that the underlying system is linear and Gaussian. While it performed well on the non-linear GNW data, formal extensions to non-linear or non-Gaussian settings remain open.
- Latent Bound: The user must provide a maximum number of latent variables ($L_{max}$). While the model can "deactivate" unnecessary latent slots, the choice of $L_{max}$ affects the search space.
- Local Minima: Although the global infimum is preserved in the relaxation, gradient descent is not guaranteed to find it. The authors use a "support refinement" step to help, but numerical optimization challenges persist.
Summary updated