<b>Benchpress</b> : A Versatile Platform for Structure Learning in Causal and Probabilistic Graphical Models
Describing the relationship between the variables in a study domain and modeling the data generating mechanism is a fundamental problem in many empirical sciences. Probabilistic graphical models are one common approach to tackle the problem. Learning the graphical structure for such models is computationally challenging and a fervent area of current research with a plethora of algorithms being developed. To facilitate the benchmarking of different methods, we present a novel Snakemake workflow, called Benchpress for producing scalable, reproducible, and platform-independent benchmarks of structure learning algorithms for probabilistic graphical models. Benchpress is interfaced via a simple JSON-file, which makes it accessible for all users, while the code is designed in a fully modular fashion to enable researchers to contribute additional methodologies. Benchpress currently provides an interface to a large number of state-of-the-art algorithms from libraries such as BDgraph, BiDAG, bnlearn, causal-learn, gCastle, GOBNILP, pcalg, scikit-learn, TETRAD, and trilearn as well as a variety of methods for data generating models and performance evaluation. Alongside user-defined models and randomly generated datasets, the workflow also includes a number of standard datasets and graphical models from the literature, which may be included in a benchmarking study. We demonstrate the applicability of this workflow for learning Bayesian networks in five typical data scenarios. The source code and documentation is publicly available from https://benchpressdocs.readthedocs.io/.
Authors
- Jack Kuipers (ORCID: https://orcid.org/0000-0001-5357-2705)
- Giusi Moffa (ORCID: https://orcid.org/0000-0002-2739-0454)
- Felix L. Rios
Institutions
- University of Basel (CH)
- ETH Zurich (CH)
Publication Details
- Journal
- Journal of Statistical Software
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18637/jss.v114.i12
- Primary Topic
- Bayesian Modeling and Causal Inference
- Type
- article
- Field-Weighted Citation Impact
- 0.00