Multi-task Learning of Order-Consistent Causal Graphs

Xinshi Chen, Haoran Sun, Caleb Ellington, Eric Xing, Le Song

Introduction

Causal discovery—the process of determining cause-and-effect relationships purely from observational data—is a notoriously difficult challenge in machine learning. It primarily faces two hurdles: the computational complexity of searching through a super-exponential number of possible graph structures, and statistical identifiability issues where multiple different graphs can explain the same data equally well (forming an "equivalence class").

However, researchers often have access to multiple related datasets, such as gene expression data from different cell subtypes or fMRI scans from different subjects. While these datasets might exhibit different connection strengths, they frequently share a common underlying "causal order" (e.g., Gene A always precedes Gene B). This paper introduces a joint estimator for learning multiple related Gaussian Directed Acyclic Graphs (DAGs) simultaneously, proving that joint learning significantly reduces the number of samples needed and can even resolve "non-identifiable" graphs that are impossible to learn in isolation.

Methodology

The authors propose a multi-task learning framework designed to leverage similarities across different "tasks" (datasets) to make causal discovery more accurate and efficient.

  • Joint Estimator: The core of the method is an $l_1/l_2$-regularized Maximum Likelihood Estimator (MLE). The $l_1/l_2$ (group Lasso) penalty encourages the model to find a "union support"—a shared set of potential edges across all tasks—while still allowing individual tasks to have zero weights for specific edges.
  • Order Consistency: The fundamental assumption enabling this multi-task approach is that there exists at least one topological order (a sequence of variables where causes always appear before effects) valid for all $K$ tasks.
  • Continuous Optimization: To avoid the combinatorial nightmare of searching through all possible node permutations, the authors adapt the continuous optimization approach popularized by NOTEARS. They formulate the problem using a novel learnable masking matrix $T$. This single matrix enforces the same acyclicity and topological order across all tasks simultaneously.
  • Algorithm: The optimization problem is solved using an iterative Lagrangian method, alternating between gradient-based updates for the graph weights and proximal steps to handle the non-smooth group norm penalty.

Key Theoretical Insights

The theoretical analysis of this joint estimator yields several compelling insights into the "power of many" in causal discovery:

  1. Improved Sample Complexity: The paper mathematically demonstrates that if tasks share a sparsity pattern, the "effective" sample size for recovering the causal order scales to $n \times K$. Essentially, having 10 tasks with 100 samples each can be as statistically powerful as having a single task with 1,000 samples.
  2. Resolving the Unresolvable: One of the most striking findings is that a "non-identifiable" DAG (which normally cannot be uniquely determined from observational data) can be successfully recovered if it is estimated alongside an "identifiable" DAG that shares its causal order. The identifiable task effectively "anchors" the order for the non-identifiable one.

Empirical Results

The method was rigorously evaluated on both synthetic datasets (randomly generated Gaussian linear structural equation models) and realistic biological simulations (the SERGIO simulator using the E. coli 100 network).

Sample Complexity Phase Transition: Experiments on synthetic data confirmed a sharp "phase transition" in success probability. As the theoretical sample complexity parameter $\theta$ increases, the probability of recovering the correct causal order jumps rapidly from 0 to 1, aligning perfectly with the authors' mathematical proofs.

Phase transition in recovery probability as sample complexity parameter theta increases.

Structural Accuracy and Biological Realism: In comparisons with JointGES, a state-of-the-art score-based competitor, the proposed multi-task method consistently achieved a lower Structural Hamming Distance (SHD), particularly as the number of tasks ($K$) increased. On the simulated E. coli gene network, the joint estimator with $K=10$ tasks and $n=100$ samples per task performed significantly better than a single-task estimator with $n=100$, achieving results comparable to a single-task estimator that had access to $n=1000$ total samples.

Limitations and Future Work

While powerful, the proposed framework has limitations that present opportunities for future research:

  • Strict Order Assumption: The current theory relies heavily on the tasks sharing a consistent causal order. If the causal direction actually flips between tasks (e.g., A causes B in Task 1, but B causes A in Task 2), this model would struggle to accurately represent the system.
  • Linearity: The model assumes linear relationships and Gaussian noise. Extending this framework to capture non-linear causal relationships (e.g., using kernels or neural networks) is a natural and necessary next step for broader applicability.
  • Group-Norm Dependency: The theoretical benefits are currently tied to the group-norm regularization. It remains an open question whether joint estimation can improve order recovery even without the strict shared sparsity (union support) assumption.

Summary updated

BibTeX
@inproceedings{chen2021multi,
  author = {Xinshi Chen and Haoran Sun and Caleb Ellington and Eric Xing and Le Song},
  title = {{Multi-task Learning of Order-Consistent Causal Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=zweDnxxWRe},
}
Figure