NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast Causal Discovery by Approximate Kernel-based Generalized Score Functions with Linear Computational Complexity

Yixin Ren, Haocheng Zhang, Yewei Xia, Hao Zhang 0079, Jihong Guan, Shuigeng Zhou

Introduction

Causal discovery—the process of identifying directional relationships from observational data—is fundamental to scientific inquiry. Among various approaches, score-based methods are prominent for their ability to evaluate candidate causal graphs. Kernel-based generalized score functions offer exceptional flexibility by learning non-linear relationships without assuming specific data distributions. However, these methods traditionally suffer from a cubic computational complexity ($O(n^3)$), making them impractical for large datasets.

This paper introduces CV-LR (Cross-Validated Likelihood with Low-Rank approximation), a novel framework that reduces the computational burden to linear time ($O(n)$). By combining low-rank approximations with a specialized algebraic structure, CV-LR achieves massive speedups—up to 10,000x—while maintaining high accuracy across diverse data types.

Methodology: The CV-LR Framework

The efficiency of CV-LR is built upon three technical innovations:

  1. Low-Rank Approximation: Instead of computing the full $n \times n$ kernel matrix, the method employs Incomplete Cholesky Decomposition (ICL) to identify a small set of $m$ "pivots." This approximates the large matrix with a rank-$m$ representation, where $m \ll n$.
  2. The "Dumbbell Form" Algebraic Rules: To avoid the computational "blow-up" during score calculation (which involves inverses and determinants), the authors developed a set of matrix transformation rules. These rules ensure that all operations maintain linear complexity relative to the sample size.
  3. Variable-Specific Sampling: The framework includes a specialized algorithm for discrete variables that leverages their finite state space, further optimizing performance compared to general continuous-data samplers.

Experimental Evaluation

Accuracy and Robustness across Data Types

The researchers evaluated CV-LR against several baselines, including PC, GES, NOTEARS, and DAGMA, using synthetic and real-world datasets (SACHS, CHILD). A key advantage of the kernel-based approach is its ability to handle continuous, mixed, and multi-dimensional variables within a unified framework.

Performance comparison of CV-LR against baselines across continuous, mixed, and multi-dimensional datasets.

As shown in the experimental results, CV-LR (represented by the red square markers) maintains F1 scores and Structural Hamming Distance (SHD) comparable to exact kernel methods. In benchmarks like the SACHS protein signaling network, CV-LR achieved an F1 score of 0.94, significantly outperforming continuous optimization baselines like DAGMA (0.42) and NOTEARS (0.19), which struggled with discretized data.

Computational Efficiency and Scaling

The most striking result of the CV-LR framework is its scalability. By bypassing the $O(n^3)$ bottleneck, the method enables causal discovery on sample sizes that were previously prohibitive for kernel methods.

Speedup of CV-LR compared to standard cross-validation (CV) as sample size increases.

On the CHILD dataset with 4,000 samples, CV-LR demonstrated a speedup of over 10,000x compared to standard kernel-based scores for discrete data. For continuous cases, speedups exceeded 150x. This efficiency does not come at the cost of precision; using approximately 100 pivots is sufficient to capture the essential causal signals.

Discussion and Future Directions

While CV-LR successfully addresses the sample size bottleneck, challenges remain regarding the number of variables ($d$). The current implementation relies on Greedy Equivalence Search (GES), which faces an exponential search space as the number of nodes increases. Future work may involve integrating the fast CV-LR score with continuous optimization strategies to better handle high-dimensional graphs. Additionally, automating kernel width selection could further enhance the method's robustness and ease of use in automated pipelines.

Summary updated

BibTeX
@inproceedings{ren2024fast,
  author = {Yixin Ren and Haocheng Zhang and Yewei Xia and Hao Zhang and Jihong Guan and Shuigeng Zhou},
  title = {{Fast Causal Discovery by Approximate Kernel-based Generalized Score Functions with Linear Computational Complexity}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
}
Figure