Learning Equivalence Classes of Bayesian Network Structures with GFlowNet

Abstract

Understanding the causal graph underlying a system is essential for enabling causal inference, particularly in fields such as medicine and genetics. Identifying a causal Directed Acyclic Graph (DAG) from observational data alone is challenging because multiple DAGs can encode the same set of conditional independencies. These equivalent DAGs form a Markov Equivalence Class (MEC), which is represented by a Completed Partially Directed Acyclic Graph (CPDAG). Effectively approximating the CPDAG is crucial because it facilitates narrowing down the set of possible causal graphs underlying the data. We introduce CPDAG-GFN, a novel approach that uses a Generative Flow Network (GFlowNet) to learn a posterior distribution over CPDAGs. From this distribution, we sample high-reward CPDAG candidates that approximate the ground truth, with rewards determined by a score function that quantifies how well each graph fits the data. Additionally, CPDAG-GFN incorporates a sparsity-preferring filter to enhance the set of CPDAG candidates and improve their alignment with the ground truth. Experimental results on both simulated and real-world datasets demonstrate that CPDAG-GFN performs competitively with established methods for learning CPDAG candidates from observational data.

Cite

Text

Liu et al. "Learning Equivalence Classes of Bayesian Network Structures with GFlowNet." Transactions on Machine Learning Research, 2025.

Markdown

[Liu et al. "Learning Equivalence Classes of Bayesian Network Structures with GFlowNet." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/liu2025tmlr-learning/)

BibTeX

@article{liu2025tmlr-learning,
  title     = {{Learning Equivalence Classes of Bayesian Network Structures with GFlowNet}},
  author    = {Liu, Michelle and Zhu, Zhaocheng and Bilaniuk, Olexa and Bengio, Emmanuel},
  journal   = {Transactions on Machine Learning Research},
  year      = {2025},
  url       = {https://mlanthology.org/tmlr/2025/liu2025tmlr-learning/}
}