Abstract
Finding the underlying causal structure of a system—represented as a Directed Acyclic Graph (DAG)—is a fundamental task in science, yet it remains a computational nightmare. Because the number of possible graphs grows super-exponentially with the number of variables, searching for the "best" graph is NP-hard. We introduce DrBO (DAG recovery via Bayesian Optimization), which treats the search for a high-scoring causal graph as an expensive black-box optimization problem. DrBO achieves state-of-the-art accuracy with significantly higher sample efficiency than previous methods by using a low-rank graph representation and dropout neural networks as scalable surrogate models.
Introduction
Score-based causal discovery aims to find a DAG $G$ that maximizes a score function $S(D, G)$, such as the Bayesian Information Criterion (BIC), which measures how well the graph fits the observed data $D$. However, this approach faces three major hurdles: the combinatorial explosion of the search space, the difficulty of maintaining acyclicity constraints during optimization, and the high computational cost of evaluating complex models. Existing "continuous relaxation" methods or Reinforcement Learning (RL) approaches often require thousands of iterations or struggle with local optima in dense, high-dimensional graphs.
Methodology: DrBO
DrBO reworks the standard Bayesian Optimization pipeline to make it suitable for the unique constraints of causal discovery through several key innovations:
- Low-Rank Continuous Representation: Instead of searching the discrete space of $O(d^2)$ possible edges, DrBO uses a low-rank mapping. Each node is assigned a potential and a low-dimensional embedding, transforming the problem into a continuous optimization task with dimensionality that grows only linearly with the number of nodes.
- Dropout Neural Networks as Surrogates: Standard BO uses Gaussian Processes, which scale poorly. DrBO replaces them with neural networks using dropout to provide a scalable way to estimate both predicted scores and uncertainty, essential for the exploration-exploitation trade-off.
- Indirect Surrogate Modeling: Rather than predicting the total graph score directly, DrBO trains $d$ local networks to predict node-wise local scores, providing a much richer training signal from every graph evaluation.
- Continual Learning: To avoid the cost of retraining from scratch, DrBO uses a replay buffer and reservoir sampling to update the networks incrementally.
Experimental Results
DrBO consistently outperformed state-of-the-art baselines like ALIAS, CORL, and DAGMA across nearly all metrics in both synthetic and real-world benchmarks.
Synthetic Benchmarks
On Erdős-Rényi and Scale-Free graphs, DrBO demonstrated superior sample efficiency. As shown in the evaluations, DrBO reaches high BIC scores and low Structural Hamming Distance (SHD) much faster than competitors. On dense graphs with 30 nodes, DrBO achieved near-perfect recovery (SHD as low as 0.4), while gradient-based methods like DAGMA and COSMO struggled with SHDs over 100.
Real-World Performance
The effectiveness of DrBO was further validated on real-world structures and data. On the Sachs dataset, a classic benchmark involving protein signaling pathways, DrBO achieved the lowest SHD (9) with significantly fewer evaluations than other methods.
Conclusion and Future Work
DrBO demonstrates that Bayesian Optimization, when combined with low-rank representations and scalable surrogate models, is a powerful tool for causal discovery. While highly effective, future work could involve integrating Neural Architecture Search (NAS) to automate surrogate model selection and extending the framework to handle unobserved confounders where the output may not be a simple DAG.
Summary updated