Abstract
Learning causal structures from high-dimensional data is a fundamental challenge in scientific research, particularly in fields like neuroscience where networks are both large and dense. This paper introduces the Best Order Score Search (BOSS) algorithm, a permutation-based approach for discovering Directed Acyclic Graphs (DAGs). By integrating a novel caching data structure called Grow-Shrink Trees (GSTs), BOSS achieves state-of-the-art accuracy while providing orders-of-magnitude speedups over existing methods. We demonstrate that BOSS can efficiently scale to networks with 1,000 variables, enabling the discovery of effective connectivity in human brain imaging data that was previously computationally infeasible.
Introduction
Causal discovery aims to identify the underlying Directed Acyclic Graph (DAG) that represents the causal relationships between variables in a system. This task is notoriously difficult because the search space of possible graphs grows exponentially with the number of variables. Traditional approaches generally fall into two categories: score-based combinatorial searches and continuous gradient-based optimizations. While score-based methods often provide higher accuracy, they frequently fail to scale to the high-dimensional, dense networks encountered in modern datasets, such as functional Magnetic Resonance Imaging (fMRI).
To address this gap, we present the Best Order Score Search (BOSS). BOSS bridges the divide between accuracy and scalability, offering a robust solution for discovering complex causal structures in large-scale datasets.
Methodology
Best Order Score Search (BOSS)
Unlike algorithms that search the space of graphs directly, BOSS operates in the space of variable permutations (orderings). The algorithm employs a "best-move" greedy strategy: for each variable, it identifies the position in the current ordering that maximizes the model's score—specifically the Bayesian Information Criterion (BIC)—and moves the variable to that optimal position. This approach is significantly more "tuning-parameter light" than previous permutation searches like GRaSP, making it more accessible for practical research applications.
Grow-Shrink Trees (GSTs)
The primary computational bottleneck in permutation-based search is the redundant calculation of scores for the same sets of variables across different iterations. To solve this, we introduce Grow-Shrink Trees (GSTs). GSTs are specialized data structures designed to cache the results of the "Grow" and "Shrink" subroutines—the fundamental steps used to identify parent-child relationships. By transforming a repetitive computational task into a memory-efficient lookup problem, GSTs enable the massive speedups that allow BOSS to handle dense, high-dimensional networks.
Experimental Validation
We evaluated BOSS against a variety of state-of-the-art algorithms, including fGES, PC, DAGMA, and LiNGAM, across several benchmarks:
- Synthetic Benchmarks: Erdos-Rényi and Scale-free graphs with 100 to 1,000 variables and average degrees up to 20.
- Non-Gaussian Data: Simulations using Gumbel and Exponential noise distributions to test robustness against non-standard data types.
- Simulated fMRI: 40 networks containing 200 variables using "pseudo-empirical" noise derived from actual human brain signals.
- Clinical fMRI: Real-world 3-Tesla scans from 171 patients, processed into 379 distinct cortical regions (parcels).
Results and Discussion
Performance and Scalability
BOSS consistently matched or outperformed existing methods in both adjacency (identifying connections) and orientation (determining causal direction). In high-dimensional tests with 1,000 variables, BOSS was orders of magnitude faster than its closest competitor, GRaSP. On dense graphs where other methods were deemed infeasible or took hours to complete, BOSS finished in minutes.
In simulated fMRI environments, BOSS achieved an Adjacency Precision of 0.99 and a Recall of 0.94. This performance significantly surpassed gradient-based methods like DAGMA, which struggled with the complexity of the simulated brain signals.
Insights into Brain Connectivity
Applying BOSS to clinical fMRI data revealed that human brain networks appear to follow a "scale-free" architecture. In these networks, a small number of "hub" regions possess a high degree of connectivity, while most regions have relatively few connections. This finding aligns with biological expectations and demonstrates the algorithm's ability to recover meaningful structure from noisy, real-world biological data.
Conclusion and Future Work
BOSS represents a significant advancement in causal discovery, providing a fast, scalable, and accurate tool for researchers. By utilizing GSTs to eliminate redundant computations, it opens the door to analyzing datasets with thousands of variables.
While BOSS currently assumes no unmeasured confounding, future work will focus on extending the algorithm to handle latent variables. Additionally, we aim to explore the application of the GST caching mechanism to other domains, such as genomics and financial modeling, where high-dimensional causal discovery is equally critical. BOSS is currently available for researchers via the TETRAD project in both Python and R.
Summary updated