Ordering-Based Causal Discovery for Linear and Nonlinear Relations

Zhuopeng Xu, Yujie Li, Cheng Liu, Ning Gui

Abstract

Causal discovery aims to uncover the underlying Directed Acyclic Graph (DAG) from observational data. However, most existing algorithms are specialized for either linear or nonlinear relationships, leading to significant performance degradation when faced with mixed-relation datasets. We present CaPS (Causal Discovery with Parent Score), an ordering-based algorithm that utilizes a novel Hessian-based criterion for leaf node discrimination and a "Parent Score" inspired by Average Treatment Effects. CaPS demonstrates superior robustness and accuracy across synthetic and real-world benchmarks, effectively bridging the gap between linear and nonlinear causal modeling.

Introduction

Causal discovery is a fundamental task in data science, moving beyond mere correlation to identify the directional relationships between variables. The goal is typically to recover a Directed Acyclic Graph (DAG) that represents the causal structure of a system. A persistent challenge in this field is the "identifiability issue," where different causal structures can produce identical data distributions. To overcome this, researchers often rely on functional form assumptions—specifically, whether relationships are strictly linear or strictly nonlinear.

The Mixed-Relation Challenge

Existing methods like GOLEM (optimized for linear data) or SCORE (optimized for nonlinear data) perform exceptionally well within their specific domains but struggle when those assumptions are violated. Real-world datasets, such as protein signaling networks or financial time series, rarely adhere to a single functional form. Applying a linear discovery tool to nonlinear data, or vice versa, often results in significant errors. There is a critical need for a unified framework capable of handling mixed relations without prior knowledge of the underlying mathematical forms.

Methodology: The CaPS Framework

CaPS (Causal Discovery with Parent Score) addresses this by employing an ordering-based approach. This process involves two primary phases: identifying the topological order of variables (who causes whom in the chain) and pruning edges to determine specific parent-child relationships.

1. Hessian-Based Leaf Node Discrimination

Identifying "leaf nodes"—variables that are effects but not causes—is essential for establishing causal order. CaPS introduces a novel criterion based on the expectation of the Hessian of the data log-likelihood. By analyzing the second-order derivatives of the data's score function (the Jacobian of the score), CaPS can distinguish leaf nodes across both linear and nonlinear regimes. This provides a mathematical stability that previous methods lacked when faced with varying functional forms.

2. The Parent Score

To quantify causal strength, the authors introduce the "Parent Score," a metric inspired by the Average Treatment Effect (ATE). This score serves as a universal measure of the influence a potential parent variable exerts on a child. Unlike traditional statistical tests that may be sensitive to functional forms, the Parent Score provides a consistent physical intuition of causal weight, acting as a "universal currency" for causal strength.

3. Efficient Pruning and Edge Supplement

Traditional pruning methods, such as CAM pruning, are often computationally prohibitive. CaPS utilizes the Parent Score to "pre-prune" low-confidence edges, significantly accelerating the discovery process. To ensure accuracy, an "edge supplement" step re-evaluates and adds back high-confidence edges that might have been overlooked during the initial ordering phase, correcting potential errors in the topological sequence.

Experimental Evaluation

The authors benchmarked CaPS against eight state-of-the-art models using synthetic and real-world datasets:

  • Synthetic Data: Using Erdös-Rényi (ER) and Scale-Free (SF) models, the researchers varied the proportion of linear to nonlinear relations from 0.0 to 1.0. CaPS consistently achieved the highest F1 scores and lowest Structural Hamming Distance (SHD) across all ratios.
  • Sachs Dataset: On this classic protein signaling benchmark, CaPS achieved the highest F1 score (0.500) and the lowest SHD (11.0), proving its utility on actual biological data.
  • Syntren Dataset: CaPS also demonstrated strong performance on this "pseudo-real" dataset that simulates gene expression levels.

Key Insights and Efficiency

A major finding of the research is the fragility of specialized models; a nonlinear-optimized model can actually perform worse than a random guess when applied to purely linear data. CaPS avoids this "mixed relation trap" through its Hessian-based robustness.

Furthermore, the pre-pruning mechanism offers significant efficiency gains, reducing pruning time by over 70% in sparse graph scenarios. While the algorithm has a cubic complexity ($n^3$) relative to sample size, its "GPU-friendly" architecture allows it to scale effectively to larger graphs (e.g., $d=50$ nodes) with competitive training times.

Conclusion and Future Work

CaPS represents a significant advancement in making causal discovery applicable to messy, real-world data. While currently optimized for Gaussian-like additive noise, future research aims to formalize its performance under broader noise distributions, such as Gumbel or Laplace noise. Additionally, the Parent Score is envisioned as a modular component that could enhance other causal discovery frameworks or assist in downstream tasks like causal effect estimation and addressing hidden confounders.

Summary updated

BibTeX
@inproceedings{xu2024ordering,
  author = {Zhuopeng Xu and Yujie Li and Cheng Liu and Ning Gui},
  title = {{Ordering-Based Causal Discovery for Linear and Nonlinear Relations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=OQUg2T4qJB},
}
Figure