ML4C: Seeing Causality Through Latent Vicinity

Haoyue Dai, Rui Ding, Yuanyuan Jiang, Shi Han, Dongmei Zhang · DOI

TL;DR

This paper introduces ML4C, a novel supervised causal learning algorithm for discrete data that leverages a two-phase approach focusing on structure identifiability. ML4C achieves state-of-the-art performance by learning to classify "unshielded triples" (potential causal relationships) using features derived from their local neighborhood, demonstrating the significant benefits of supervised learning in this domain.

What Problem Does This Paper Address?

Causal discovery aims to infer cause-effect relationships from data, typically represented as a Directed Acyclic Graph (DAG). While unsupervised methods learn these relationships solely from observational data, Supervised Causal Learning (SCL) explores how access to datasets with known ground truth causal relations can improve learning. A fundamental question in SCL is: what are the actual benefits of this supervision, and how are they realized? The authors argue that if the causal relationship being learned is inherently unidentifiable from observational data alone (i.e., multiple DAGs are consistent with the data), then supervision offers no advantage over random guessing. This paper addresses this by proposing a framework that explicitly considers identifiability before applying supervision, leading to a more principled and effective SCL approach.

Methods

ML4C employs a two-phase paradigm for supervised causal learning.

  1. Phase 1: Identifiability Check: This phase determines if the causal structure of interest is identifiable from observational data.
  2. Phase 2: Supervised Learning: If identifiable, supervision is used to learn the specific causal orientation.

The core of ML4C is a binary classifier that focuses on "unshielded triples" (UTs) – a set of three variables (X, T, Y) where T is adjacent to both X and Y, but X and Y are not directly connected. ML4C's novel learning target is to classify whether a given UT represents a "v-structure" (X → T ← Y).

To achieve this, ML4C uses a principled featurization method:

  • Vicinity Exploitation: It considers the "vicinity" of a UT, which includes the UT variables themselves and their neighbors in the causal graph's skeleton.
  • Feature Engineering: Features are derived from conditional dependencies and structural entanglement within this vicinity. This captures complex relationships that help distinguish v-structures from non-v-structures.

The classifier is trained on labeled data (synthetically generated UTs labeled as v-structures or not) and then used to orient UTs. These oriented UTs, combined with the skeleton, are used to construct the final causal graph (CPDAG). The authors also provide theoretical guarantees of ML4C's asymptotic correctness.

Datasets

ML4C is evaluated on discrete datasets from the bnlearn repository, which contains 24 benchmark networks. For training and evaluation, they sample varying numbers of records (1k, 5k, 10k, 15k, 20k) from these networks. For synthetic data generation, they use the Erdős-Rényi (ER) and Scale-Free (SF) models to create 400 unique DAGs across different scales (10 to 1000 nodes).

Key Insights and Ideas

  • Identifiability is Key: The paper strongly emphasizes that supervision in causal learning is only beneficial if the target causal structure is identifiable from observational data. If not, supervision offers no advantage over random guessing.
  • Focusing on V-structures: ML4C cleverly reframes the SCL problem as classifying unshielded triples (UTs) as v-structures. This is a powerful simplification because the set of v-structures is invariant across Markov equivalent DAGs, making it a robust target for learning.
  • Vicinity Matters: The success of ML4C hinges on its featurization strategy, which looks beyond the immediate UT to its surrounding "vicinity." This local context, capturing dependencies and entanglement, provides crucial asymmetry to distinguish causal structures.
  • Theoretical Grounding: The authors provide theoretical proofs for ML4C's asymptotic correctness, lending strong credibility to its approach.

Key Results

ML4C demonstrates remarkable performance across various evaluations:

  • State-of-the-Art Performance: ML4C significantly outperforms all compared supervised and unsupervised causal learning algorithms on benchmark datasets in terms of accuracy (F1-score) and reliability.
  • High Accuracy: It achieves an average F1-score of 0.92 on UT classification and consistently high accuracy on large-scale datasets (F1 > 0.9).
  • Robustness and Tolerance: ML4C shows satisfactory robustness to variations in sample size and tolerance to imperfect skeleton inputs, outperforming even skeleton-agnostic methods in some cases.
  • Transferability: The model exhibits good transferability, performing well even when trained on datasets with different configurations (e.g., scale, sparsity) than the test datasets.

Limitations and Future Work

  • Skeleton Dependency: ML4C requires a skeleton as input. The authors acknowledge that identifying a reliable and accurate skeleton from data is a crucial area for future work to make SCL more practical.
  • Discrete Data Focus: While the paper focuses on discrete data, extending the approach to continuous data, especially considering different parametric assumptions for identifiability, is a promising future direction.
  • Computational Cost: While not explicitly detailed as a limitation, the featurization process involving extended conditional dependencies and kernel mean embedding can be computationally intensive.

Summary updated

BibTeX
@inproceedings{dai2021ml,
  author = {Haoyue Dai and Rui Ding and Yuanyuan Jiang and Shi Han and Dongmei Zhang},
  title = {{ML4C: Seeing Causality Through Latent Vicinity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  doi = {10.1137/1.9781611977653.ch26},
}
Figure