Learning Bayesian Networks in the Presence of Structural Side Information

Ehsan Mokhtarian, Sina Akbari, Fateme Jamshidi, Jalal Etesami, Negar Kiyavash

Introduction

Learning the structure of a Bayesian Network (BN)—specifically the Directed Acyclic Graph (DAG) representing variable dependencies—is a fundamental challenge in machine learning and causal inference. Traditionally, this task is NP-hard, with search spaces expanding exponentially as the number of variables ($n$) increases. Existing constraint-based methods, such as the PC algorithm, often struggle with large conditioning sets, leading to high computational costs and reduced statistical reliability when data is limited.

This paper introduces Recursive Structure Learning (RSL), a framework that leverages structural "side information" to transform this problem into one solvable in polynomial time. By utilizing hints like clique number bounds or "diamond-freeness," RSL significantly improves both accuracy and scalability compared to general-purpose algorithms.

Methodology: Recursive Structure Learning (RSL)

The core of the proposed approach is a divide-and-conquer strategy that iteratively simplifies the graph. The algorithm identifies "removable" variables—nodes that can be extracted such that the remaining graph maintains a perfect representation of the dependencies among the remaining variables.

Algorithm 1: The Recursive Structure Learning (RSL) framework for Bayesian Network structure discovery.

As shown in Algorithm 1, the RSL process involves three primary steps:

  1. Identify a Removable Variable: Locate a node $X$ that can be safely removed from the current set $\overline{\mathbf{V}}$.
  2. Find Neighbors: Determine the neighbors of $X$ using a limited number of Conditional Independence (CI) tests, guided by the provided side information.
  3. Recurse: Update the Markov boundaries for the remaining nodes and repeat the process on the reduced variable set.

The authors provide two specific implementations: $RSL_\omega$, which uses an upper bound on the clique number, and $RSL_D$, designed for diamond-free graphs. Assuming a bound on the clique number allows RSL to achieve polynomial complexity ($O(n^2 + n\Delta_{in}^{m+1})$), which is less restrictive than bounded treewidth assumptions common in other literature.

Experimental Evaluation and Key Results

The authors evaluated RSL against synthetic Erdos-Renyi graphs and several real-world BN benchmarks, including the Diabetes (104 nodes) and Andes (223 nodes) networks.

Performance comparison on real-world datasets (Diabetes and Andes). RSL variants show superior F1 scores and lower computational costs as sample sizes increase.

Key Insights:

  • Efficiency: On the "Pigs" dataset (441 variables), $RSL_\omega$ required only 1,059 CI tests in an oracle setting, compared to 146,888 tests for the standard Grow-Shrink (GS) algorithm.
  • Accuracy: RSL consistently achieved higher F1-scores for skeleton recovery than state-of-the-art methods like PC, MMPC, and MARVEL, particularly in finite sample settings where conditioning on large sets is error-prone.
  • Robustness: A significant finding is the robustness of $RSL_D$. Even on the Andes network, which is not diamond-free, $RSL_D$ outperformed general-purpose algorithms, effectively recovering the skeleton despite the violated assumption.

Conclusion

By incorporating structural side information, the RSL framework offers a practical path toward learning large-scale Bayesian Networks. While the method currently assumes causal sufficiency and relies on accurate initial Markov boundaries, its ability to maintain small conditioning sets makes it a powerful tool for high-dimensional data. Future work may extend these principles to handle latent variables or cyclic structures.

Summary updated

BibTeX
@inproceedings{mokhtarian2022learning,
  author = {Ehsan Mokhtarian and Sina Akbari and Fateme Jamshidi and Jalal Etesami and Negar Kiyavash},
  title = {{Learning Bayesian Networks in the Presence of Structural Side Information}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i7.20750},
}
Figure